Hi Kevin,

My JVM version is Java HotSpot(TM) Client VM (build 1.4.0_01-b03, mixed mode).

My first problem is that, after placing the war file in the webapps and running the server(Jetty), it is unable to extract Xindice.

After manually extracting the xindice in the folder xindice-1.1b1 and running database is successfully started but still a error is arrising in the console. while trying to create collection it is giving an error in register Database. Probably the db is not initialised.

The error message is as follows:

11:59:01.767 EVENT Checking Resource aliases
11:59:02.288 EVENT Starting Jetty/4.1
11:59:02.298 EVENT Started HttpContext[/]
11:59:05.272 EVENT Started WebApplicationContext[/xindice-1.1b1,Apache Xindice]


May 9, 2003 11:59:10 AM org.apache.xindice.server.XindiceServlet init
WARNING: The database root directory has been set to C:\WINNT\Profiles\Administr
ator\Desktop\arijit\PersnlLernITy\webapps\xindice-1.1b1\WEB-INF\./db/. Keep in m
ind that if a war upgrade will take place the database will be lost.
May 9, 2003 11:59:10 AM org.apache.xindice.core.Database setConfig
INFO: Database points to C:\WINNT\Profiles\Administrator\Desktop\arijit\PersnlLe
rnITy\webapps\xindice-1.1b1\WEB-INF\.\db
May 9, 2003 11:59:12 AM org.apache.xindice.server.XindiceServlet init
INFO: Database successfully started
11:59:15.747 EVENT Started WebApplicationContext[/xindice-1.1b1,Apache Xindice]
--------------------------------------------------
classpath printed here


-----------------------------------
May 9, 2003 11:59:17 AM org.apache.xindice.server.XindiceServlet init
SEVERE: The database configuration points to a relative path, but there was no x
indice.home property set. Furthermore, the war was not unpacked by the applicati
on server so Xindice was unable to find a database location Please check /WEB-IN
F/system.xml and set an absolute path as the "dbroot" attribute of "root-collect
ion" or specify a suitable xindice.db.home system property.
11:59:18.651 WARN!! No Realm: Example Form-Based Authentication Area
11:59:18.681 EVENT Started WebApplicationContext[/scorm,file:/C:/WINNT/Profiles
/Administrator/Desktop/arijit/PersnlLernITy/webapps/scorm/]
11:59:18.701 EVENT ContextListener: contextInitialized()
11:59:18.701 EVENT SessionListener: contextInitialized()
11:59:19.392 EVENT ContextListener: attributeAdded('javax.servlet.context.tempd
ir', 'C:\WINNT\Profiles\ADMINI~1\LOCALS~1\Temp\Jetty__12346_localhost_scorm')
jdbc:hsqldb:test
sa


./temp
./webapps/scorm/Content/
./webapps/scorm/servlets
LMSCMIServlet Initialized
11:59:21.295 EVENT Extract file:/C:/WINNT/Profiles/Administrator/Desktop/arijit
/PersnlLernITy/webapps/index.html to C:\WINNT\Profiles\ADMINI~1\LOCALS~1\Temp\Je
tty__12346_localhost_index_html\webapp
11:59:21.495 EVENT Started WebApplicationContext[/index.html,file:/C:/WINNT/Pro
files/Administrator/Desktop/arijit/PersnlLernITy/webapps/index.html]
11:59:21.706 EVENT Started SocketListener on 0.0.0.0:12346
org.mortbay.util.MultiException[javax.servlet.ServletException: Error while hand
ling the configuration, javax.servlet.ServletException: Could not load database
configuration]
at org.mortbay.http.HttpServer.start(HttpServer.java:654)
at browser.frmBrowser.setupjetty(frmBrowser.java:86)
at browser.frmBrowser.<init>(frmBrowser.java:53)
at browser.browserLT.<init>(browserLT.java:11)
at browser.browserLT.main(browserLT.java:46)
javax.servlet.ServletException: Error while handling the configuration
at org.apache.xindice.server.XindiceServlet.init(XindiceServlet.java:185
)
at org.mortbay.jetty.servlet.ServletHolder.start(ServletHolder.java:225)


at org.mortbay.jetty.servlet.ServletHandler.initializeServlets(ServletHa
ndler.java:443)
at org.mortbay.jetty.servlet.WebApplicationHandler.initializeServlets(We
bApplicationHandler.java:163)
at org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationC
ontext.java:492)
at org.mortbay.http.HttpServer.start(HttpServer.java:677)
at browser.frmBrowser.setupjetty(frmBrowser.java:86)
at browser.frmBrowser.<init>(frmBrowser.java:53)
at browser.browserLT.<init>(browserLT.java:11)
at browser.browserLT.main(browserLT.java:46)
javax.servlet.ServletException: Could not load database configuration
at org.apache.xindice.server.XindiceServlet.init(XindiceServlet.java:122
)
at org.mortbay.jetty.servlet.ServletHolder.start(ServletHolder.java:225)


at org.mortbay.jetty.servlet.ServletHandler.initializeServlets(ServletHa
ndler.java:443)
at org.mortbay.jetty.servlet.WebApplicationHandler.initializeServlets(We
bApplicationHandler.java:163)
at org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationC
ontext.java:492)
at org.mortbay.http.HttpServer.start(HttpServer.java:677)
at browser.frmBrowser.setupjetty(frmBrowser.java:86)
at browser.frmBrowser.<init>(frmBrowser.java:53)
at browser.browserLT.<init>(browserLT.java:11)
at browser.browserLT.main(browserLT.java:46)





From: "Kevin Ross" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: <[EMAIL PROTECTED]>
Subject: RE: Xindice1.1 as webapps context in Jetty Date: Thu, 8 May 2003 10:35:12 -0600


Hello Avik,

You may have better luck getting an answer if you describe the symptoms
first.  We cannot help you with the vague information provided.

Are there any stack traces in the logs?  On the console?  What JVM
version?

-Kevin Ross

-----Original Message-----
From: Avik Chatterjee [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 08, 2003 6:49 AM
To: [EMAIL PROTECTED]
Subject: Xindice1.1 as webapps context in Jetty

Hi Guys,

I have succeded in running Xindice1.1 as webapps context in Tomcat but I
am
unable to do so in Jetty.
My version of Jetty is 4.1.2

Any Help in this regard is welcome. However thanks in advance.

Avik Chatterjee
Aunwesha Knowledge Technologies Pvt. Ltd.
Calcutta

_________________________________________________________________
It's spooky. It's a thriller. http://server1.msn.co.in/slideshow/bhoot/index.asp See Bhoot slideshow




Reply via email to