You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Yu Ye Zhou <yu...@yahoo.com> on 2001/08/03 19:01:53 UTC

cannot reuse port

Hi:
     I installed tomcat in linux. When ever I start up
tomcat, I cannot use the port number that I use
before. If I use 8080 to start up tomcat, then shut
dowon and start up again, it says address in used. I
have to change to any other ports that I didn't use
before in order to start tomcat successfully. In
addition, even after the use shutdown.sh, tomcat is
not really shutting down. The port is still in used. I
can access the page from other computer using all the
ports that I used before. 
     How can I reuse the port?
     Thank you. 
     Yu Ye zhou

__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

RE: Unable to compile class for JSP

Posted by Evgeniy Strokin <ev...@yahoo.com>.
Hi again,
I have fixed this problem.
After installation I have removed jaxp.jar and parser.jar because I use
j2ee.
Then I copy 2jee.jar to tomcats lib - it was my mistake.
Tomcat was starting, but I got this exception.
So, then I remove 2jee.jar from tomcats lib and put this jar to classpath
every things was well.
Hope this information helps somebody.

-----Original Message-----
From: Evgeniy Strokin [mailto:evgeniy_strokin@yahoo.com]
Sent: Friday, August 03, 2001 1:20 PM
To: tomcat-user@jakarta.apache.org
Subject: Unable to compile class for JSP


Hi All,
I have installed Tomcat 3.2.3 and transit my application (it works in tomcat
3.2.1)

I got that exception:

Internal Servlet Error:
org.apache.jasper.JasperException: Unable to compile class for
JSPC:\Softgage\work\localhost_8080\_0002findex_0002ejspindex_jsp_0.java:1:
Package com.softgage.jsppattern not found in import.
import com.softgage.jsppattern.*;
       ^
1 error at org.apache.jasper.compiler.Compiler.compile(Compiler.java:294)
at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:478)
.........
It looks like compiler can't find my classes, but they are exist in right
place.
Please, help me, what's wrong???

----------------------------------------------------
NetZero Platinum
Sign Up Today - Only $9.95 per month!
http://my.netzero.net/s/signup?r=platinum&refcd=PT97

----------------------------------------------------
NetZero Platinum
Sign Up Today - Only $9.95 per month!
http://my.netzero.net/s/signup?r=platinum&refcd=PT97

UTF-8 encoding problem

Posted by Evgeniy Strokin <ev...@yahoo.com>.
I use tomcat 3.2.3.
I set all pages in UTF-8 encoding.
Then I trying to take parameter with Unicode value from URL I getting only
"?????".
What's wrong???

----------------------------------------------------
NetZero Platinum
Sign Up Today - Only $9.95 per month!
http://my.netzero.net/s/signup?r=platinum&refcd=PT97

Unable to compile class for JSP

Posted by Evgeniy Strokin <ev...@yahoo.com>.
Hi All,
I have installed Tomcat 3.2.3 and transit my application (it works in tomcat
3.2.1)

I got that exception:

Internal Servlet Error:
org.apache.jasper.JasperException: Unable to compile class for
JSPC:\Softgage\work\localhost_8080\_0002findex_0002ejspindex_jsp_0.java:1:
Package com.softgage.jsppattern not found in import.
import com.softgage.jsppattern.*;
       ^
1 error at org.apache.jasper.compiler.Compiler.compile(Compiler.java:294)
at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:478)
.........
It looks like compiler can't find my classes, but they are exist in right
place.
Please, help me, what's wrong???

----------------------------------------------------
NetZero Platinum
Sign Up Today - Only $9.95 per month!
http://my.netzero.net/s/signup?r=platinum&refcd=PT97

Re: cannot reuse port

Posted by Yu Ye Zhou <yu...@yahoo.com>.
I'm using tomcat version 3.2.3. I use the tomcat
instance just for one request. How can I shut down
tomcat in linux? Is there a way that I can shut down
the port?

Thank you. 
Yu Ye Zhou

--- "Pier P. Fumagalli" <pi...@betaversion.org> wrote:
> Yu Ye Zhou at yuyezhou@yahoo.com wrote:
> 
> > Hi:
> >    I installed tomcat in linux. When ever I start
> up
> > tomcat, I cannot use the port number that I use
> > before. If I use 8080 to start up tomcat, then
> shut
> > dowon and start up again, it says address in used.
> I
> > have to change to any other ports that I didn't
> use
> > before in order to start tomcat successfully. In
> > addition, even after the use shutdown.sh, tomcat
> is
> > not really shutting down. The port is still in
> used. I
> > can access the page from other computer using all
> the
> > ports that I used before.
> 
> Simple... It seems that tomcat is not shutting down
> :( What version are you
> using? (I never had a problem like it so far). Can
> you use that tomcat
> instance just for one request or several? (There's a
> bug in Linux preventing
> successful unbinding of server sockets until a
> connection is made to that
> port).
> 
>     Pier
> 


__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

Re: cannot reuse port

Posted by "Pier P. Fumagalli" <pi...@betaversion.org>.
Yu Ye Zhou at yuyezhou@yahoo.com wrote:

> Hi:
>    I installed tomcat in linux. When ever I start up
> tomcat, I cannot use the port number that I use
> before. If I use 8080 to start up tomcat, then shut
> dowon and start up again, it says address in used. I
> have to change to any other ports that I didn't use
> before in order to start tomcat successfully. In
> addition, even after the use shutdown.sh, tomcat is
> not really shutting down. The port is still in used. I
> can access the page from other computer using all the
> ports that I used before.

Simple... It seems that tomcat is not shutting down :( What version are you
using? (I never had a problem like it so far). Can you use that tomcat
instance just for one request or several? (There's a bug in Linux preventing
successful unbinding of server sockets until a connection is made to that
port).

    Pier