Hi,
I am facing a strange error in Struts2, I am getting a null pointer exception when trying to set attribute into request scope,
Struts Problem Report
Struts has detected an unhandled
exception: Messages: File:
org/apache/catalina/connector/Request.java
Line number: 1,424
Stacktraces
java.lang.NullPointerException
...
Hi everybody.
when using oracle forms to generate md5 hash, i get result that is different from the result given by tomcat.
when using tomcat digest, i get:
C:\apache-tomcat-6.0.26\bin>digest -a md5 mypass
mypass:a029d0df84eb5549c641e04a9ef389e5
while using oracle forms, i get:
a029d0dfbfeb5549c641e04abff3bfe5
this is the code...
Hi,
I have written an application that connects to a SSL web service (including client certificate) through jaxws. For this to work I have a wstrust.jks that contains trusted root certificate for ws, and client.p12 that is the client certificate to use when connecting to ws. I have then created a custom SSLSocketFactory to be able to us...
We use Ant to build a Java web application. The application will compile and run on both Tomcat 6 and Tomcat 5.5. However, the build process is slightly different depending on which version of Tomcat you have installed: 5.5 keeps jar files that the build needs in $CATALINA_HOME/common/lib and $CATALINA_HOME/server/lib, while 6.0 keeps th...
I've been following along the very good Tomcat6 Application Developers Guide. I've grabbed their build.xml which contains the handy ant task called install that uses the catalina-ant.jar task deploy.
<target name="install" depends="compile"
description="Install application to servlet container">
<deploy url="${manager.url}"
...
I'm having a bit of trouble with Session timeouts in my Tomcat served web application. From reading over Tomcat's documentation, sessions expire after a time which can be configured in the web.xml file.
<session-config>
<session-timeout>30</session-timeout>
</session-config>
Quesion) Does this mean 30 minutes from when the...
I am getting the following error when I try to upgrade the BIRT version that is embedded in my custom web application
java.lang.NoSuchMethodError: org.eclipse.birt.report.engine.api.EmitterInfo.<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/...
Hi all,
I have a Tomcat6 running on a Windows2003 machine.
I deployed 2 Grails apps on this server and I soon noticed that everything was crashing sometime after the deploy with a classic PermGen error.
java.lang.OutOfMemoryError: PermGen space
java.lang.ClassLoader.defineClass1(Native Method)
java.lang.ClassLoader.defineClassCond(Cla...
Since this morning Maven can not build any project that requires tomcat-maven-plugin. I tried with the minimalistic pom.xml, with just that one dependency, but in all cases I get the following:
[INFO] Error building POM (may not be
this project's POM).
Project ID:
org.codehaus.mojo:tomcat-maven-plugin
Reason: Error gett...
I have with me the client interface for a web service that was built using JBoss/RESTeasy. The web service calls work fine when they are invoked from a stand-alone app, but as soon as I put them into a webapp running in a Tomcat container (on the same machine), they start behaving weirdly. Some of the calls return empty results while som...
Respected Sir/Mam,
I am trying to run some basic servlet and jsp program with Tomcat. but it gives some error.
I am using Tomcat 6.0.29 and jdk 1.6.0_21.
I have done everthing properly.
But when i click on WebAppl link in Tomcat then it gives below error
HTTP Status 404 - /WebAppl/
type Status report
message /WebAppl/
description T...
is it possible to install more than one java application server on one server or VPS ?
i want to install JBOSS , TOMCAT , WEBLOGIC and my be more.
how this is possible and what the benefits and disadvantages ?!
...
I am making a web application in Eclipse (JSP) and use Tomcat as a server (integrated into Eclipse). I have to create the object below and specify the path to configuration file. This absolute path is working great:
Store store = StoreFactory.create("file:///C:/Users/Aliens/workspace/myProject/WebContent/config/sdb.ttl");
However I am w...
I've got a strange problem with either tomcat or spring. I put up a major revision to my site and emails are no longer being delivered. I use authsmtp, which requires authentication (so they can properly account for my using of their services). No problem, I have this config in spring:
<bean id="mailSender" class="org.springframework...
I'm trying to configure Tomcat to connect to an LDAP server on our network, and I'm getting the following error:
javax.naming.ServiceUnavailableException: xx.xx.xx.xx:636; socket closed
at com.sun.jndi.ldap.Connection.readReply(Connection.java:419)
at com.sun.jndi.ldap.LdapClient.ldapBind(LdapClient.java:340)
at com.sun.jnd...
Hi,
I have 4 web applications, that have a common reference to an Hibernate implementation but that run on different Tomcat instances. And so, for example, a connection pool configured in Hibernate with a min size of 3 (with c3p0), will result in 12 connection open (3 for each instance) when all the projects are running .
I'd like to "...
I've successfully connected to MySQL database through Eclipse without getting tomcat involved, so at lease it's some good progress. But when I try from my web page (Tomcat 6.0), it throws an error. I followed the tutorials, read documentations and looked countless forums but cannot figure out for 2 days now.
Let's look at the step one b...
I've a Java servlet class which is accessing a NetApp folder for files. The class is running on Tomcat 6.0 on Windows 2003 and uses Active Directory authenication (LDAP) to authenticate the webapp users.
Tomcat (and thus also the webapp with the Java servlet classes) itself is running with account xyz, which is a service account. The Ne...
I have my Apache HTTP server set up to forward all requests to Tomcat, i.e. proxy_ajp.conf looks like:
ProxyPass / ajp://localhost:8009/
where Tomcat is listening on port 8009. This works find except when I try to access squirrelmail (i.e. webmail) on the server. Is there a way to forward all requests to Tomcat except those going to...
Hi,
In my tomcat server, I'm trying to return an XML response by writing the response to the servlet's output stream, using a XALAN identity transformer.
The XML is valid, but from time to time I'm getting a NPE inside the transformer:
WARNING java.lang.NullPointerException
at org.apache.xalan.transformer.TransformerIdentityImpl.c...