tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pid <>
Subject Re: Two instances of Tomcat 5.5.17
Date Fri, 03 Jun 2011 21:24:45 GMT
On 03/06/2011 16:49, telebabbo wrote:
> Hi.
> I have this problem:
> I use a web-application running on a tomcat servlet through the 8108 port.

To clarify: a servlet runs inside an application, which runs inside
Tomcat, which runs inside a Java virtual machine (JVM).

How is this application/Tomcat instance started?

What OS are you using?  Which version of Java?  (exact versions matter)

> I have to run a second web-application, provided by the same developers team
> of the first one, but obviously the second web-app breaks because "8108 port
> is already in use".

See below.

> I had never worked with a tomcat server and I don't know Java.
> I have noticed that there is NO config file (as server.xml, httpd.conf, or
> similar stuff), the unique reference to the string "8108" I've found (after
> unpacking all .jar files) is stored in a .class file (PropertyReader.class).

That sounds pretty strange, unless you've got a Tomcat embedded in
another application.  If this is the case and your developers are
sending you unconfigurable apps which run on the same port, then you
need to ask them to fix it.

> I tried to edit the file with a java class editor (ClassEditor Version
> 2.23), changing the port to 8109 and the endport to 8110 (previously 8109)
> and then I have recompiled the directory.

Really really bad idea.


> Unfortunately, I get this error: 
> Exception in thread "main" java.lang.NoClassDefFoundError:
> net/genaud/vicaya/launch/Launcher
> What can I do? 

View raw message