Oh dear ..
I've experienced this before.
It seems that your server is running in a headless environment or without X
or desktop libraries installed. Could be a init 3 in unix environment.
In this case, if your JDK is >= 1.4.x, it's easy to solve. =)
You just need to edit your catalina.sh
Add t
> -Messaggio originale-
> Da: Rainer Jung [mailto:[EMAIL PROTECTED]
> Inviato: venerdì 22 agosto 2008 21.09
> A: Tomcat Users List
> Oggetto: Re: R: R: Newer version of mod_jk much slower than 1.2.13
>
> Hi Leandro,
>
> Leandro Dardini schrieb:
> > LoadModule jk_module modules/mod_jk.so
- Original Message -
From: "Jayaraman, Gopinath " <[EMAIL PROTECTED]>
To:
Sent: Tuesday, August 26, 2008 7:09 AM
Subject: Unable to start Tomcat due to DISPLAY variable issue
Hi Everyone,
I am having this typical issue which many have faced which is below:
Graphics ENV testing has
Hi Everyone,
I am having this typical issue which many have faced which is below:
Graphics ENV testing has failed. The Server is going to exit. Please check your
configuration and retry.
[2008-08-26 13:01:01.461] LogError
java.lang.RuntimeException: Graphics ENV testing has failed. The Server
In some reason , I should use jk2 to integrate IIS and Tomcat, everything I
have done follow the step:
http://tomcat.apache.org/connectors-doc-archive/jk2/jk2/installhowto.html
but the IIS return the following logs:
Error: [jk_isapi_plugin.c (713)]: read_registry_init_data, Failed
Regist
jerrycat wrote:
I understand that Tomcat 5.5 prefers that your web application comes with a
context.xml file under the META-INF folder.
OK.
So I added a context.xml file under the META-INF folder of my web
application, please have a look below.
context.xml
[code]
[/code]
Looks ve
Ok ... forgive me if this was posted already, but what OS do you have
and how are you starting the production instance? Windows systems
starting the production tomcat as a service is different than Linux/Unix
systems starting tomcat with jsvc or a service script.
--David
edponce wrote:
Davi
David,
Thanks for replying. I've duplicated my tomcat folder and renamed it and ive
changed the 2 and the shut down port. But i dunno how
to start the duplicate instance. how can i do that!
Thank you,
Eduardo
David Smith-2 wrote:
>
>> Can any one please guide me on the correct direction so th
Dear all,
I understand that Tomcat 5.5 prefers that your web application comes with a
context.xml file under the META-INF folder.
So I added a context.xml file under the META-INF folder of my web
application, please have a look below.
context.xml
[code]
[/code]
Ok, that is good so far
- Original Message -
From: "David Shreffler" <[EMAIL PROTECTED]>
To:
Sent: Monday, August 25, 2008 9:04 PM
Subject: "webapps" on Network Drive?
I'm having difficulties with a Tomcat installation. I am a high school
teacher installing Tomcat in a computer lab. I want to have the To
I have turned on SingleSignOn on my Tomcat 6.0.18 Web server. I have two
applications running on the server and I would like that the user only have
to log in once to have access to either applications. I am not sure I fully
understand how SingleSignOn should be used. From a user perspective, I wou
>
> I am wondering where to create a domain.Order class/java file. Do I have
> to create a directory domain under src/ directory and then create
> Order.java file inside theh domain folder?
yes.
Best of luck in your homework :P
>
>
>
>
>
> Thanks
>
> Sam
>
>
>
--
Regards, Youssef
Hi,
I have a java class file CreateOrder.java with the following coding:
package command;
import java.sql.Connection;
import java.sql.SQLException;
import java.sql.PreparedStatement;
import domain.Order;
/**
* Create Order in the database
*/
public class CreateOrder implements Database
I never tried changing value in the HOST tag, I use DOCBASE in the
CONTEXT tag instead.
On Mon, Aug 25, 2008 at 12:04 PM, David Shreffler <[EMAIL PROTECTED]> wrote:
> I'm having difficulties with a Tomcat installation. I am a high school
> teacher installing Tomcat in a computer lab. I want to h
I just found out I have a class missing in the src (command) directory.
I need to create a Customer and Order class and .java file.
The Cusotmer and Order class is related to the database tables Customer and
Order.
I am wondering how to create a getters and setters of Customer and Order
clas
I'm having difficulties with a Tomcat installation. I am a high school
teacher installing Tomcat in a computer lab. I want to have the Tomcat
binaries/config etc installed on the local drive, but essentially want the
"webapps" directory on students' network drive (mapped as their W: at
logon). T
Dear Rainer
Thanks for the reply.
Added "AllowEncodedSlashes On" and the problem with URI forwarding to Tomcat
now resolved. I had to include within the VirtualHost directive though as I
originally tried including it at the global level but did not seem to work.
Applied your tips on mod_jk conf
If you are starting from scratch I would not bother with JSF and don't
even waste your time with Struts. Take a look at a framework called
Wicket. It's a component based, event driven framework that is very easy
to work with and fast to develop with. No crazy JSP tags to worry about
either just
Hi,
Thanks for the help.
Can you tell me how to compile these .java files into classes in
Eclipse(3.4)?
All these java files are under "command" package.
Thanks
Sam
> - Original Message -
> From: Tandel, Aswin
> Sent: 26/08/08 02:23 am
> To: Tomcat Users List
> Subject: RE: how
trevor paterson (RI) wrote:
> excellent thanks Mark - I changed to build 18 and foo#bar.war deploys to
> context /foo/bar
>
> it doesn't seem to unpack? there may be a good reason for this??
It should. There is some work on my todo list in that area. I'll add
checking this to that list.
Mark
>
the exception is not in Tomcat, but in your application. You will need
to catch the exception or handle the connection management differently
Filip
Thangavel Sankaranarayanan wrote:
Hi ,
I am getting a java.net.socket exception in tomcat
Stack trace is below...
To avoid this errror what can
excellent thanks Mark - I changed to build 18 and foo#bar.war deploys to
context /foo/bar
it doesn't seem to unpack? there may be a good reason for this??
Trevor Paterson PhD
new email [EMAIL PROTECTED]
Bioinformatics
The Roslin Institute
Edinburgh University
Scotland EH25 9PS
phone +44 (0)131
Hi,
For the classes in the same directory it is not required to give class path
reference.
Chances are that DatabaseCommand is not compiled.
Check if you have the class file in bin directory.
If not then clean the project and build again
Thanks and Regards,
Ashwin Tandel
Email - [EMAIL PROTE
one last question tom, do i need to rename the other tomcat5 archives to
whatever name I choose for my 2nd instance.
Eduardo
edponce wrote:
>
> Tom,
> Thanks for the aclarations and I just have one last question. How do I
> start the second instance withough affecting the 1st one? becuase if i
Hi there,
I have created a Web project using Eclipse 3.4. However, it can't resolve
the class reference to the current directory.
Here is the project layout and description of the problem:
>DBTest
>src
> command
CommandExecutor.java
...
...
DatabaseCommand.java
trevor paterson (RI) wrote:
> Prior to tomcat6 you could happily deploy a 'bar.war' to a context like
> '/foo/bar' simply by including a context.xml file in the META-INF
> directory of the war
>
> with content .
Actually, that won't quite have done what you think it did. You normally
would hav
Ted Byers wrote:
> Mark,
>
> OK, Thanks. But the information provided isn't quite complete.
>
> I had done everything the documentation you point to said, and kept getting
> internal server errors until I edited (on the suggestion of a colleague)
> context.xml and changed to
This is in the 6
Prior to tomcat6 you could happily deploy a 'bar.war' to a context like
'/foo/bar' simply by including a context.xml file in the META-INF
directory of the war
with content .
we can no longer get this to work - the only way we can get a subcontext
recognized is by putting this Context element
Tom,
Thanks for the aclarations and I just have one last question. How do I start
the second instance withough affecting the 1st one? becuase if i do tomcat5
start/stop that will kill both instances right?
Thank you,
Eduardo
Thomas Haines-2 wrote:
>
> Hi edponce
>
>> so if i understood everyth
Mark,
OK, Thanks. But the information provided isn't quite complete.
I had done everything the documentation you point to said, and kept getting
internal server errors until I edited (on the suggestion of a colleague)
context.xml and changed to
BTW: I have Tomcat 6.0.16, so I don't know if
Interesting discussion because we, too, tried much of what you have
described. Our difficulty, and this is where I am deviating a bit, was that
different browsers rendered the GUI different ways unless you spent lots of
hours twisting some of the code (we also felt the next version of the
brow
On Mon, Aug 25, 2008 at 03:06:49PM +0200, Luca Cicale wrote:
> keep in mind that JSF is a very powerful framework, but it has also
> some limits. The biggest one is that to work correctly javascript
> must be enabled on the client browser. So, as first, take care this
> is a very strict specific
Hi,
keep in mind that JSF is a very powerful framework, but it has also some
limits.
The biggest one is that to work correctly javascript must be enabled on the
client browser.
So, as first, take care this is a very strict specific.
Where it is possible i like using JSF (sun), otherwise I go wi
Thanks Tim,
But so far i did not get any thing of this kind in my logs.. i am
using the same package for the past 4 years.I am getting all of a sudden !
That is quite suprising me...
Regards,
Thangavel Sankaranarayanan
hi,
I m having the same problem.
the war file is not unpack.
I have found the following parameters are set in the server.xml file:
unpackWARs="true" autoDeploy="true"
I have *deploy* a cat.war file to the following directory:
linux:~/tomcat/apache-tomcat-5.5.26/webapps # ls -l
total 78
dr
Hi James,
tsaojk schrieb:
> Hi Folks,
>
> I am experiencing an rather odd issue with mod_jk not forwarding from Apache
> to Tomcat for my web application. Basically, I have configured mod_jk to
> forward everything under a webapp to Tomcat and things are working fine for
> 'regular' URI's
>
> e
I bet au.com.objectconsulting.catalina.valves.SetRemoteUserValve is
calling HttpServletRequest.getSession() or
HttpServletRequest.getSession(true) after the request is made and the
response is sent to the client. (And the response did not contain an
active session)
au.com.objectconsulting.cat
Hi,
My tomcat container's logs is fully populated with the following Exception
What can be done for it to resolve ?Please help me...
CoyoteAdapter An exception or error occurred in the container during the
request processing
java.lang.IllegalStateException: Cannot create a session after the re
Hi Folks,
I am experiencing an rather odd issue with mod_jk not forwarding from Apache
to Tomcat for my web application. Basically, I have configured mod_jk to
forward everything under a webapp to Tomcat and things are working fine for
'regular' URI's
e.g. http://www.myhost.com/myApp/loginServl
Hi ,
I am getting a java.net.socket exception in tomcat
Stack trace is below...
To avoid this errror what can be done.?
java.net.SocketException: Connection reset by peer: JVM_recv in socket
input stream read
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.Soc
Hi everybody!
I'm developing an application that uses Java Server Pages as front-end of my
working engine.
After compiling with ANT -without errors- when I start the application service,
this is the output:
[ERROR] 2008-08-22 17:03:32,915
org.apache.catalina.core.StandardContext.loadOnS
Hi everybody!
I'm developing an application that uses Java Server Pages as front-end of my
working engine.
After compiling with ANT -without errors- when I start the application service,
this is the output:
[ERROR] 2008-08-22 17:03:32,915
org.apache.catalina.core.StandardContext.loadOnS
42 matches
Mail list logo