[sword-devel] Corba-bindings of sword

Troy A. Griffitts scribe at crosswire.org
Tue Aug 19 06:23:21 MST 2008


Peter,

I don't think it's a class problem.  It would have given you a 'class 
not found' error.  I think it's working for you!  You should be able to 
go set the properties in

swordweb/webapp/WEB-INF/swordweb.properties

and things should be fine.  If you still have problems, let me know.

	-Troy.



Peter von Kaehne wrote:
> Further to below I looked at the page  init.jsp and got error messages which clarified what happens.
> 
> basically the two class directories utils and sword are not found. They are present , but not seen. I looked first for all seemingly or potentially relevant files (including obviously the source text of init.jsp) to find where there is an indicator or link to the class directories which I might be able to tweak to make it point my direction, but I found none (or none that I understood). I then simply grabbed the whole classes directory and moved it into various parts of the webapp up and down through other directories to see if this makes a difference, but I found none.
> 
> Bottomline, I probably messed the relative positioning of constituents and can not untangle it.
> 
> I also had a sniff around DM's own installation, but copying the layout did nothing for me. 
> 
> 
>  
> -------- Original-Nachricht --------
>> Datum: Tue, 19 Aug 2008 00:57:15 +0200
>> Von: "Peter von Kaehne" <refdoc at gmx.net>
>> An: SWORD Developers\' Collaboration Forum <sword-devel at crosswire.org>
>> Betreff: Re: [sword-devel] Corba-bindings of sword
> 
>> Again some progress and some further problems
>>
>> 1) I found that there is a sun java5 package which installed problemfree
>> on the server
>> 2) I recompiled + installed all java classes (the corba java bindings and
>> swordweb/src - both was fine. I needed to adjust the swordweb/src/Makefile,
>> but that was easy enough.
>>
>> 3) tomcat now tries to compile the jsp but fails miserably, presumably dt
>> me having placed something wrongly or some other source links requiring
>> adjustments
>>
>> This is the current status report which tomcat shows instead of index.jsp
>> ---------------------------------
>>
>> type Exception report
>>
>> message
>>
>> description The server encountered an internal error () that prevented it
>> from fulfilling this request.
>>
>> exception
>>
>> org.apache.jasper.JasperException
>> 	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:372)
>> 	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
>> 	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
>> 	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>> 	sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
>> 	sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> 	java.lang.reflect.Method.invoke(Method.java:585)
>> 	org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
>> 	java.security.AccessController.doPrivileged(Native Method)
>> 	javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
>> 	org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:272)
>> 	org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161)
>>
>> root cause
>>
>> java.lang.NullPointerException
>> 	org.apache.jsp.index_jsp._jspService(index_jsp.java:187)
>> 	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
>> 	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>> 	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
>> 	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
>> 	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
>> 	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>> 	sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
>> 	sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> 	java.lang.reflect.Method.invoke(Method.java:585)
>> 	org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
>> 	java.security.AccessController.doPrivileged(Native Method)
>> 	javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
>> 	org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:272)
>> 	org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161)
>>
>> note The full stack trace of the root cause is available in the Apache
>> Tomcat/5.0 logs.
>> -- 
>> GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!
>> Jetzt dabei sein:
>> http://www.shortview.de/wasistshortview.php?mc=sv_ext_mf@gmx
>>
>> _______________________________________________
>> sword-devel mailing list: sword-devel at crosswire.org
>> http://www.crosswire.org/mailman/listinfo/sword-devel
>> Instructions to unsubscribe/change your settings at above page
> 




More information about the sword-devel mailing list