Temp dir not created using winzip

2002-08-15 Thread Jürgen Weber

If you download the tomcat .tar.gz and unpack it using winzip 8.1, the 
(empty) temp directory is not created and
tomcat throws strange error messages.
The solution is of course to unpack using gnu gzip and tar
(I did not try downloading the tomcat zip file)

[just in case somebody else runs into this problem]



2002-08-14 15:52:58 StandardHost[localhost]: Installing web application at 
context path /bingo from URL file:C:\java\jakarta-tomcat-4.1.8\webapps\bingo
2002-08-14 15:52:58 WebappLoader[/bingo]: Deploying class repositories to 
work directory C:\java\jakarta-tomcat-4.1.8\work\Standalone\localhost\bingo
2002-08-14 15:52:58 WebappLoader[/bingo]: Deploy JAR 
/WEB-INF/lib/mm.mysql-2.0.4-bin.jar to 
C:\java\jakarta-tomcat-4.1.8\webapps\bingo\WEB-INF\lib\mm.mysql-2.0.4-bin.jar
2002-08-14 15:52:59 ContextConfig[/bingo] Exception processing JAR at 
resource path /WEB-INF/lib/mm.mysql-2.0.4-bin.jar
javax.servlet.ServletException: Exception processing JAR at resource path 
/WEB-INF/lib/mm.mysql-2.0.4-bin.jar

...

- Root Cause -
java.io.IOException: Das System kann den angegebenen Pfad nicht finden
at java.io.WinNTFileSystem.createFileExclusively(Native Method)



_
Mit MSN Fotos können Sie kinderleicht Ihre Fotos ausdrucken und Freunden zur 
Verfügung stellen: http://photos.msn.de


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RMI Server in Tomcat problems

2002-04-12 Thread Jürgen Weber

Hi

I tried to set up an RMI server in tomcat 4.03

First problem is, there seems to be no possibility to have something in 
tomcat like weblogics startup classes, i.e. classes that are called at 
server startup.

So I had to trigger a servlet by hand that does the initialisation and 
registry of the RMI server.

Tomcat and RMI client both on my NT machine worked.

On different machines the client gets the exception below.
Running the RMI Server in a stand-alone VM outside of tomcat
works.

First I had the following,

if (null == System.getSecurityManager())
System.setSecurityManager(new RMISecurityManager());

but it would not be called as tomcat already has a SecurityManager. So I 
left the if - part but still no
change.

So I wonder, if it is possible to have an RMI Server in Tomcat at all?


I started with catalina start -security.

catalina.policy is only

grant {
permission java.security.AllPermission;
};



   [java] java.rmi.ConnectException: Connection refused to host: localhost; 
nested exception is:
   [java] java.net.ConnectException: Connection refused: connect
   [java] at 
sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:567)
   [java] at 
sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185)
   [java] at 
sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
   [java] at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:101)
   [java] at webservice.rmiserver.RMIServerImpl_Stub.register(Unknown 
Source)
   [java] at 
.webservice.rmiclient.RMIClientImpl.main(RMIClientImpl.java:110)
   [java] Caused by: java.net.ConnectException: Connection refused: connect
   [java] at java.net.PlainSocketImpl.socketConnect(Native Method)
   [java] at 
java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:295)
   [java] at 
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:161)
   [java] at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:148)
   [java] at java.net.Socket.connect(Socket.java:425)
   [java] at java.net.Socket.connect(Socket.java:375)
   [java] at java.net.Socket.init(Socket.java:290)
   [java] at java.net.Socket.init(Socket.java:118)
   [java] at 
sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22)
   [java] at 
sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:122)
   [java] at 
sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:562)
   [java] ... 5 more
   [java] Java Result: 1

_
Downloaden Sie MSN Explorer kostenlos unter http://explorer.msn.de/intl.asp.


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Where goes log() ?

2002-03-27 Thread Jürgen Weber

Hello,

on loading my servlet throws the exception stated below. Unfortunately this 
does not give useful information.
So I tried to insert System.out.println and log() statements in the init() 
method, but I could not find the output in any log.
Where does it go?

Thanks,
Juergen

2002-03-27 19:22:10 invoker: init
2002-03-27 19:22:10 jsp: init
2002-03-27 19:22:11 StandardContext[/rmiservice]: Servlet /rmiservice threw 
load() exception
javax.servlet.ServletException
at 
com.sun.xml.rpc.server.http.JAXRPCServletDelegate.init(JAXRPCServletDelegate.java:50)
at com.sun.xml.rpc.server.http.JAXRPCServlet.init(JAXRPCServlet.java:40)


_
Werden Sie Mitglied bei MSN Hotmail, dem größten E-Mail-Service der Welt. 
http://www.hotmail.com/de


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




High startup and shutdown time of tomcat 4

2002-02-26 Thread Jürgen Weber

Hello,

jakarta-tomcat-3.3a has a startup time of 4s (jdk 1.4, NT),
wheras jakarta-tomcat-4.0.2-LE-jdk14 needs 10s.

Shutdown is also much slower.

The fast startup/shutdown made tomcat 3 so great for development.
Why is it that catalina is so much slower in startup?
Can anything be done to make it faster?

Thanks,
Juergen

_
Testen Sie MSN Messenger für Ihren Online-Chat mit Freunden: 
http://messenger.msn.de


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




winzip, 6.3, bug, breaks, catalina, examples

2002-02-20 Thread Jürgen Weber

Hello,

jakarta-tomcat-4.0.2-LE-jdk14 examples
were not working for me, reason was:

java.lang.ClassNotFoundException: filters.SetCharacterEncodingFilter

Finally I hunted it down. There is a bug in winzip 6.3
winzip unzipped the class file as
SetCharacterEncodingFilter.cl100644


_
Werden Sie Mitglied bei MSN Hotmail, dem größten E-Mail-Service der Welt. 
http://www.hotmail.com/de


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]