[opencms] [opencms-dev] 6.0.0 setup exception on JBoss

Kiril Sramko kiril.sramko at web.de
Sat Jul 2 20:36:14 CEST 2005


I tried to delete the file org/opencms/setup/CmsSetupBean$1.class and used 
this new opencms.jar, but the same exception ocured:
java.lang.NoSuchMethodError: 
org.opencms.setup.CmsSetupBean.init(Ljavax/servlet/jsp/PageContext;Ljavax/servlet/http/HttpServletRequest;)

So I looked into the cvs and: there is no such method, just :
init(PageContext pageContext) and a

init(String webAppRfsPath, String servletMapping, String 
defaultWebApplication)

Revision 1.28 is the last time, with such a function.

So I added the function

    /**
     * Creates a new instance of the setup Bean from a JSP page.<p>
     *
     * @param pageContext the JSP's page context
     * @param request the current HTTP request
     */
    public void init(PageContext pageContext, HttpServletRequest request) {
        init(pageContext);
    }

and recombiled the file. I atteched the new file. Just overwrite the two files 
 org/opencms/setup/CmsSetupBean$1.class and
 org/opencms/setup/CmsSetupBean.class
in opencms.war/WEB-INF/lib/opencms.jar and it will work.
Could someboy pleas commit the changes into CVS.

regards

Kiril Sramko

p.s.: at step 8 occured a second problem: the lin for step 8 pointet to 
	http://localhost:8080/opencms/setup/step_8_import_workplace.jsp 
but this file doesn't exists (404). It shoud be
	http://localhost:8080/opencms/setup/step_8_import_modules.jsp 


Am Samstag, 2. Juli 2005 15:05 schrieb Kiril Sramko:
> I have the same problem.
> I'm new to OpenCms and not a expert in Java, and now I'm asking myself, why
> are there the two files:
>       946  06-29-05 23:29   org/opencms/setup/CmsSetupBean$1.class
>     29680  06-29-05 23:29   org/opencms/setup/CmsSetupBean.class
> in the ./WEB-INF/lib/opencms.jar of 6.0.0
> but in ./WEB-INF/lib/opencms.jar of 6.0rc2 is just the file
>     27804  06-17-05 17:53   org/opencms/setup/CmsSetupBean.class
> And what does this '$' mean?
> Maybe someone who knows more can help me
>
> Am Donnerstag, 30. Juni 2005 19:16 schrieb Jorge Gonzalez:
> > Is your cache cleared ? (work directories of tomcat)
>
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CmsSetupBean$1.class
Type: application/x-java
Size: 791 bytes
Desc: not available
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20050702/c5b07861/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CmsSetupBean.class
Type: application/x-java
Size: 24882 bytes
Desc: not available
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20050702/c5b07861/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CmsSetupBean.java
Type: text/x-java
Size: 63752 bytes
Desc: not available
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20050702/c5b07861/attachment.java>


More information about the opencms-dev mailing list