AW: [opencms-dev] JServ

Andreas Schouten Andreas.Schouten at framfab.de
Fri Feb 9 18:48:14 CET 2001


Hi,

yes you should use JSDK 2.2, Java 1.2 or Java 1.3 and an actual
JServ-installation (JServ 1.1.2). The informations on the istallation-page
are old - we will fix this.

We have currently detected some problems with Java 1.3 (Java 1.2 works fine)
on Windows NT-platforms. The problem is to load classes from a zip or jar
file.

We get the following error:

java.io.IOException: Bad file descriptor
	at java.util.zip.ZipFile.read(Native Method)
	at java.util.zip.ZipFile.access$700(ZipFile.java:29)
	at java.util.zip.ZipFile$ZipFileInputStream.read(ZipFile.java:389)
	at java.io.InputStream.read(InputStream.java:91)
	at
com.opencms.core.CmsClassLoader.copyStream(CmsClassLoader.java:282)
	at
com.opencms.core.CmsClassLoader.loadClass(CmsClassLoader.java:375)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:120)
	at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:217)
	at java.sql.DriverManager.getConnection(DriverManager.java:517)
	at java.sql.DriverManager.getConnection(DriverManager.java:177)
	at com.opencms.dbpool.CmsPool.createConnection(CmsPool.java:225)
	at com.opencms.dbpool.CmsPool.createConnections(CmsPool.java:211)
	at com.opencms.dbpool.CmsPool.<init>(CmsPool.java:108)
	at com.opencms.dbpool.CmsDriver.createPool(CmsDriver.java:213)
	at com.opencms.dbpool.CmsDriver.getPool(CmsDriver.java:188)
	at com.opencms.dbpool.CmsDriver.connect(CmsDriver.java:107)
	at java.sql.DriverManager.getConnection(DriverManager.java:517)
	at java.sql.DriverManager.getConnection(DriverManager.java:199)
	at
com.opencms.file.genericSql.CmsDbAccess.readProject(CmsDbAccess.java:5513)
	at
com.opencms.file.genericSql.CmsDbAccess.<init>(CmsDbAccess.java:232)
	at
com.opencms.file.genericSql.CmsResourceBroker.createDbAccess(CmsResourceBrok
er.java:1526)
	at
com.opencms.file.genericSql.CmsResourceBroker.init(CmsResourceBroker.java:35
23)
	at com.opencms.file.CmsRbManager.init(CmsRbManager.java:86)
	at com.opencms.core.OpenCms.<init>(OpenCms.java:123)
	at
com.opencms.core.OpenCmsHttpServlet.init(OpenCmsHttpServlet.java:647)
	at com.opencms.core.OpenCmsServlet.init(OpenCmsServlet.java:97)
	at
org.apache.jserv.JServServletManager.load_init(JServServletManager.java)
	at
org.apache.jserv.JServServletManager.loadServlet(JServServletManager.java)
	at
org.apache.jserv.JServConnection.processRequest(JServConnection.java)
	at org.apache.jserv.JServConnection.run(JServConnection.java)
	at java.lang.Thread.run(Thread.java:484)

Has anyone the same problems or a solution for that?

There is a bug-report already:
http://developer.java.sun.com/developer/bugParade/bugs/4369396.html 

Please vote that bug, so sun corrects it asap. Thanks!

A workaround is to extract the classes from the jar-file and access them
directly.

Regards,
Andreas Schouten

-----Ursprüngliche Nachricht-----
Von: Christian Lox [mailto:torcolato at wupperonline.de]
Gesendet: Freitag, 9. Februar 2001 16:20
An: opencms-dev at opencms.com
Betreff: [opencms-dev] JServ


Hi!

I did read several times in the last days about OpenCMS and
JServ1.1.2
The installation page says it works only with JServ1.0.

Is it possible to get it up and running with JServ1.1.2?
I am asking since I am having real troubl installing JServ on one
machine....

Thanks in advance,

Christian
-- 
we reject: kings, presidents, religions
we accept: working code



More information about the opencms-dev mailing list