Best unofficial Apache Server developers community |
| |||||
| Aug 4, 2010 | |||||
|
Twinkle Chokshi |
|
||||
| Tags: | |||||
Similar Threads
SSL Not working on tomcat 5.5.29
Hi All, I am working on upgrading tomcat from 5.5.28 to 5.5.29 for one of the applications. I see that the website renders and works fine in 5.5.29 on port 8080 (non SSL) but with SSL (port 8443) the website doesnot run at all. When I try to see what's going on in Fiddle, I see 502 error. Also nothing is written to the log flies. It is as if tomcat is not even running in port 8443. Under tomcat 5.5.28, the site renders fine with SSL and non SSL. Is there something I could be missing? Regards, Kareem
YouTube: Tutorials about LDAP, ApacheDS, Studio and Tomcat integration (German)
Hi all, at YouTube you find German tutorials about LDAP, ApacheDS, Apache Directory Studio and Tomcat integration. 3 parts http://www.youtube.com/watch?v=glyGHPxUT5E http://www.youtube.com/watch?v=NTmo9a-zCJY http://www.youtube.com/watch?v=ZQOZMIPodiE Thanks to creator Andreas Mertens for sharing his experiences! http://www.youtube.com/MertensAndreas Greetings from Hamburg, StefanZ
tomcat /manager not working
I downloaded tomcat 5.5.29 and tried to access an application http://<IP of Tomcat server>:8080/manager which the doc says http://tomcat.apache.org/tomcat-5.5-d...v/deployment.html that it is included and deployed by default it did not showed me any thing did I miss any thing.
Struts2 + Tomcat Hot Deployment of war Not Working
Hello! I am not sure if this is right address to ask this question. I tried to send mail on users-he### @tomcat.apache.org but it was returned. Please help me with the problem or let me know the correct address to ask this question. Here is my problem: I have a problem with Tomcat hot deployment. Any help will be heartity appreciated. I am working on various web applications one of them being a Struts2 application. When I deploy the war file from Elcipse, the war is not exploded property. So I have to Stop Tomcat -> Delete the context of the application -> Restart Tomcat, everytime I want to deploy the changes. This is a problem only with the Struts2 application. Other applications are working all right. Googling I came to know of setting attributes [reloadable="true" antijarlocking="true" antiresourcelocking="true"] in Context.xml but that too does not solve the problem. Here is my environment detail: Tomcat : 5.5.25 Eclipse for Java developer : 3.2.2 JDK : 1.5 Any help will be appreciated. Regards, Amit Parmar.
Tomcat not working after moving installation folder
I ran out of disk space on C: so I moved C:\Tomcat5.5 to D:\Tomcat5.5 and also edited the executable path in the windows service registry. But now it doesn't start. It says "The Apache Tomcat service terminated with service-specific error 0 (0x0)." No log file gets written in D:\Tomcat5.5\logs. I also tried running it from command prompt but it says nothing much. D:\Tomcat5.5\bin>tomcat5.exe //RS//Tomcat5 D:\Tomcat5.5\bin> D:\Tomcat5.5\bin>tomcat5.exe Listening for transport dt_socket at address: 8000 When I try to open http://localhost:8080 I see that tomcat is not running. Please advice.
DO NOT REPLY New: keep-alive is not working for tomcat with HTTP/1.1 when Connection header is not
https://issues.apache.org/bugzilla/show_bug.cgi?id=49431
Summary: keep-alive is not working for tomcat with HTTP/1.1
when Connection header is not present
Product: Tomcat 6
Version: 6.0.20
Platform: PC
OS/Version: Solaris
Status: NEW
Severity: major
Priority: P2
Component: Manager application
AssignedTo: d### @tomcat.apache.org
ReportedBy: vinodsrid### @gmail.com
Created an attachment (id=25590)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=25590)
The snoop behaviour when apache xmlrpc http client is used
I have configured the server.xml to have the following configuration
<Connector port="11030" protocol="HTTP/1.1"
connectionTimeout="60000" maxThreads="150"
maxKeepAliveRequests="-1"
redirectPort="11033" />
Using apache xmlrpc client scenario
Pig Integration
Does anyone try to get data from Super column family using grunt shell? The example pig script explains how to analyze data for standard column family.
Cassandra Pig Integration
I am trying to query data using Pig 0.7.0, when i run
contrib/pig/bin/pig_cassandra -x local filename.pig, i am getting an error
ERROR 2117: Unexpected error when launching map reduce job.
org.apache.pig.impl.logicalLayer.FrontendException: ERROR 1066: Unable to
open iterator for alias topnames
at org.apache.pig.PigServer.openIterator(PigServer.java:521)
at
org.apache.pig.tools.grunt.GruntParser.processDump(GruntParser.java:544)
at
org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:241)
at
org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:162)
at
org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:138)
at org.apache.pig.tools.grunt.Grunt.exec(Grunt.java:89)
at org.apache.pig.Main.main(Main.java:391)
Caused by: org.apache.pig.impl.logicalLayer.FrontendException: ERROR 1002:
Unable to store alias topnames
at org.apache.pig.PigServer.store(PigServer.java:577)
at org.apache.pig.PigServer.openIterator(PigServer.java:504)
... 6 more
Caused by: org.apache.pig.backend.executionengine.ExecException: ERROR
2117:
Unexpected error when launching map reduce job.
at
org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher.launchPig(MapReduceLauncher.java:209)
at
org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.execute(HExecutionEngine.java:308)
at
org.apache.pig.PigServer.executeCompiledLogicalPlan(PigServer.java:835)
at org.apache.pig.PigServer.store(PigServer.java:569)
... 7 more
Caused by: java.lang.RuntimeException: Could not resolve error that
occured
when launching map reduce job: java.lang.ExceptionInInitializerError
at
org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher$JobControlThreadExceptionHandler.uncaughtException(MapReduceLauncher.java:510)
at java.lang.Thread.dispatchUncaughtException(Thread.java:1855)
My pig file would look like
rows = LOAD 'cassandra://Keyspace1/Standard1' USING CassandraStorage();
cols = FOREACH rows GENERATE flatten($1);
colnames = FOREACH cols GENERATE $0;
namegroups = GROUP colnames BY $0;
namecounts = FOREACH namegroups GENERATE COUNT($1), group;
orderednames = ORDER namecounts BY $0;
topnames = LIMIT orderednames 50;
dump topnames;
Does anyone how to fix this issue?
Thanks,
Mubarak Seyed.
integration with blueprint
Hi
A while back ago, I sent an update about the message-driven service
prototype I have been working on. For the past few weeks, I have
updated the code to provide blueprint message driven services.
Basically, this means -
1. Users can use the message-driven elements to register their message
driven services in blueprint XML definition file. Here is an example
-
<md:message-driven id="myMessageDrivenBean"
class="org.apache.aries.mds.sample.MyMessageDrivenBean"
destroy-method="destory" interface="javax.jms.MessageListener">
<md:activationConfig>
<md:entry key="destination" value="Hello.Queue" />
<md:entry key="destinationType" value="javax.jms.Queue" />
</md:activationConfig>
<md:transaction value="Required" />
<md:argument ref="connectionFactory" />
</md:message-driven>
which is equivalent to:
<bean id="myMessageDrivenBean"
class="org.apache.aries.mds.sample.MyMessageDrivenBean"
destroy-method="destory">
<argument ref="connectionFactory" />
</bean>
<service ref="myMessageDrivenBean"
interface="javax.jms.MessageListener">
<service-properties>
<!-- for the activation config properties add
the relevant prefix to the property name -->
<entry key="org.apache.aries.message.driven.destinationType"
value="javax.jms.Queue" />
<entry key="org.apache.aries.message.driven.destination"
value="Hello.Queue" />
<!-- transaction attribute based on the tx:transaction element in
blueprint -->
<entry
key="org.apache.aries.message.driven.transactionAttribute"
value="Required"/>
</service-properties>
</service>
When the message-driven name space handler is invoked to parse the
message-driven element, it will create the bean metadata and service
metadata and register them in the component definition registry.
2. For transaction, I tried to reuse what we defined for declarative
transaction except that I try to keep it very simple. You can only
specify bean level transaction with all methods having the same
transaction inside the message-driven service. Similar as EJB
message-driven beans, only Required and NotSupported transaction
attributes are supported. The blueprint transaction name space
handler is not being used here, instead the message-driven name space
handler is used to parse the transaction element here as we need to
convert it to the org.apache.aries.message.driven.transactionAttribute
service property so that the message-driven service container can
handle the transaction before and after the message is delivered.
Comments are welcome!
Lin
jqGrig integration
Hi all, I tried to integrate jqGrid plugin in Click but the datas in the grid are not displayed. Could you try to integrate it and tell me if you solve this problem ? Thanks JqGrid download --> http://www.trirand.com/blog/?page_id=6
: Spring 2.5.6 integration
Is there any tutorial or sample program of using the CreditCardValidator, EmailValidator and UrlValidator provided in the Apache Commons Validator with the Spring framework 2.5.6?
activeMQ with spring integration
Hi, we tired spring integration with activeMQ 5.3.0. we have 5 topics . 1 publisher and each topic has one subscriber. The publisher sends each message to one topic and that was done with the help of a router/ Now, we start the five subscribers and the publisher. the subscribers receive the messages. when we crash the broker and then restart it, the following error comes on the broker ERROR | Failed to fill batch java.lang.RuntimeException: java.lang.IllegalStateException: Message id ID:karisimbivir2.ivycomptech.co.in-43958-1278306531747-0:116:1:1:1 could not be recovered from the data store for: topic://promoTopic3 - already dispatched Also, the subscribers stop receving the message. we then replaced the subscriber code from spring integration to normal onMessage method thing and it worked fine., however, spring integration with queues is working fine and no errors are obtained . where am i going wrong with the spring integration with topics ? Thanks, Radha
JMeter Integration with a backend DB
Hi All, Is it possible to create a backend DB (like MySQL) and associate it with JMeter ? The intention is to store execution logs, graphs, listener results etc. Now if you exit a test, you need to rerun the test to see such results. Regards jadumani jena
repeatable integration builds?
Wondering how people setup for repeatable integration builds using ivy. I'm currently reading through some of the documentation that I skimmed over previously when I put together a simple mirror repository for external projects that we are using. http://ant.apache.org/ivy/history/lat...estpractices.html in particular the section "Dealing with integration versions". Now I need to start handling the inter project dependencies a bit better, particular as the number of components increase. In the section "Dealing with integration versions", I'm leaning towards using the second option "automatically create a new version for each", however I'm not sure how to handle making sure that the version constraints put in place allow for repeatable builds. For head of tree builds, using 'latest.integration' seems fine. But I see that falling down if someone wishes to build older releases in order to retest bugs. Example SVN tree @ revision 2000 QA need a build of revision 900 to test for a particular bug, the existing one has been pruned, so will need a fresh build Tree consists of components A, B and C where both A and B rely on C. Build order is something that I'll have to work out with the continuous integration software I'm using. How do I ensure that that components A & B, don't use a build of C that is newer that svn revision 900? It seems that I'm likely to either i) include the svn revision as part of the version number of each integration release and have the continuous integration software set the svn revision used as a property at build time. And code the version constratins to use this revision as a max limit? (seems very svn centric as it relies on numerically increasing repository revision strings) ii) or when rebuilding older builds create a temporary repository that is used instead and have all components build and publish to this repository. Thus the components with dependencies can just reference the latest.integration release from the temporary repository which will be guarenteed to include binaries only from the same source repository revision Any other options, or am I missing something in ivy that will make this easier to handle? Systems Software Engineer Hewlett Packard Galway Ltd. Postal Address: Hewlett Packard Galway Limited, Ballybrit Business Park, Galway Registered Office: Hewlett Packard Galway Limited, 63-74 Sir John Rogerson's Quay Dublin 2 Registered Number: 361933
ActiveMq integration with Spring 2.5
I am using ActiveMq 5.32 with Spring 2.5.5. I use pretty generic
configuration, as long as I include the
jmsTransactionManager in DefaultMessageListenerContainer, Spring throw an
error on start up:
"Error creating bean with name
'org.springframework.jms.listener.DefaultMessageListenerContainer#0'"
Without the transactionManager attribute , this works fine, but when I add
10 message to the message queue, a transaction exception will occur.
Part of my configurations :
<bean
class="org.springframework.jms.listener.DefaultMessageListenerContainer">
<property name="connectionFactory" ref="connectionFactory" />
<property name="destination" ref="emailDestination" />
<property name="messageListener" ref="emailServiceMDP"
/>
<property name="transactionManager" ref="jmsTransactionManager" />
</bean>
<bean id="jmsTransactionManager"
class="org.springframework.jms.connection.JmsTransactionManager">
<property name="connectionFactory" ref="connectionFactory" />
</bean>
Does this version of Spring and Activemq has some know issues in
integration
? Or do I need additional libs to get jmsTransactionManager to work ?
AXIS 2-1.4.1 and Camel Integration
Hi , I am calling axis2 web service end point from camel .. request SOAP is ok but response SOAP is also coming fine ... when when using Junit test case i am printing the result ... result is : null can any help me .. or any one have working example with axis2 integration with camel or any other resources Thanks ... Devendra
Resolved: (PIG-1402) Integration with Owl
[
https://issues.apache.org/jira/browse...nels:all-tabpanel
]
Olga Natkovich resolved PIG-1402.
Anyone using hadoop/MapReduce integration currently?
I'll be doing a presentation on Cassandra's (0.6+) hadoop integration next week. Is anyone currently using MapReduce or the initial Pig integration? (If you're unaware of such integration, see http://wiki.apache.org/cassandra/HadoopSupport) If so, could you post to this thread on how you're using it or planning on using it (if not covered by the shroud of secrecy)? e.g. What is the use case? Why are you using Cassandra versus using data stored in HDFS or HBase? Are you using a separate Hadoop cluster to run the MR jobs on, or perhaps are you running the Job Tracker and Task Trackers on Cassandra nodes? Is there anything holding you back from using it (if you would like to use it but currently cannot)? Thanks!
What about removing the Integration profile ?
Hi guys, we have having hard time running integration tests using the Suite, especially the referral tests, because there are some nasty interactions between tests as we launch one server for all a suite, instead of launching many servers. The Integration profile is used to speed up the tests as we spare this server initialization, but otherwise, we don't run any test not in the suite when using this profile. This is due to some wrong reverter for the refrall operations. I think we can doom this profile, and eliminate the suites atm, to just get the unit tests running. It will cost us a bit more time, probably an extra minute, but this is a cost I can afford to pay, as fixing the referral reversal is a bit costly. Plus there is an extra penalty as we don't know which unit tests are not run when using this profile (except those in the Suite) wdyt ?
Buildr and Ivy4r integration
Hi, Is there any example available of Ivy4r usage for transitive dependency management in buildr (or any example of how to use ivy4r with buildr)? Thanks Jacek
mod_jk and tomcat virtual hosts not working properly
Jul 26, 2010 Apache 2.2 with Tomcat 6 Jun 11, 2010 Apache HTTPd and Tomcat, 404 for .php files Options There are currently too many top Jun 28, 2010 customize 503 error page in IIS Tomcat configuration Jun 9, 2010 rewrite is not working at all Jul 14, 2010 Can't POST with PHP to webapp in Apache/Tomcat, 403 Forbidden error Aug 2, 2010 href URL document retrieval issue using Apache Tomcat Jun 22, 2010 flash not working in friendly url Jul 7, 2010 Kerberos working on the command line, not via apache Jun 4, 2010 Local Apache Stop Working Suddenly (Windows) Jul 26, 2010 | |||||