[resolved] drools-guvnor and org.talend.administrator Login Issue

One Star

[resolved] drools-guvnor and org.talend.administrator Login Issue

Dear Shong,
I have below softwares in my system. i am unable to login to TIS Administrator Screen and http://10.102.63.83:8080/drools-guvnor/ Guvnor screen . i am getting HTTP Status 404 - /drools-guvnor/
in web browser and below error in tomcat and in TIS admin login http://10.102.63.83:8080/org.talend.administrator/LoginModule.html while login i am using admin@company.com and password is admin, i am getting error like
java.lang.RuntimeException: java.lang.UnsupportedClassVersionError: Bad version number in .class file
i am using below softwares.
SVN Server version Version: 2.1.7, Jboss Server version jboss-4.0.5.GA, jdk1.5.0_06 , jre1.5.0_06 and jre1.6.0_02 , oralce 10g.

Please help me Shong its very urgent at least i need to resolve this ASAP.
Thanks & Regards
Chandu Mahanthy
2011-04-29 17:17:54 INFO STDOUT - 2011-04-29 17:17:54 ERROR administrator] - Exception while dispatching incoming RPC call
com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract org.talend.gwttoolkit.client.model.LoginResultBean org.talend.gwttoolkit.client.login.LoginService.login(java.lang.String,java.lang.String) throws org.talend.gwttoolkit.client.exception.ClientBusinessException,org.talend.gwttoolkit.client.exception.ClientSystemException' threw an unexpected exception: java.lang.UnsupportedClassVersionError: Bad version number in .class file
at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:360)
at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:546)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:164)
at org.talend.gwttoolkit.server.TalendRemoteServiceServlet.processCall(TalendRemoteServiceServlet.java:88)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:86)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.UnsupportedClassVersionError: Bad version number in .class file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1815)
at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:869)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1322)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1201)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at org.talend.administrator.common.persistence.hibernate.HibernatePersistenceAdapter.<init>(HibernatePersistenceAdapter.java:80)
at org.talend.administrator.common.persistence.PersistenceUtil.createPersistenceAdapterInstance(PersistenceUtil.java:99)
at org.talend.administrator.common.persistence.PersistenceUtil.getPersistenceAdapter(PersistenceUtil.java:66)
at org.talend.administrator.remoterepositorymgt.persistence.helper.UserHelper.findByLogin(UserHelper.java:76)
at org.talend.administrator.remoterepositorymgt.business.LoginHandler.login(LoginHandler.java:87)
at org.talend.gwtadministrator.server.common.LoginServiceImpl.login(LoginServiceImpl.java:51)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:527)
... 24 more

Regards
Chandu

Accepted Solutions
Community Manager

Re: [resolved] drools-guvnor and org.talend.administrator Login Issue

Hi Chandu
Which version of TIS are you using? I don't know if you have installed correctly the drools-guvnor, here are the steps what I have done:
1. Put drools-guvnor.war to Tomcat installation folder/webapps.
2. Copy the 3 jar files and paste them into <Tomcat/Jboss installation directory>/lib.
3. Open the file Tomcat installation folder/webapps/drools-guvnor/WEB-INF/classes/config.properties and modify it to
tac.remoteconnectionservlet.url=http://192.168.0.19:8080/org.talend.administrator/remoteConnection
4. Restart Tomcat/JBoss.
5. Login Tac and go to configration-->Talend Suite-->Drool and set the url as:
http://192.168.0.19:8080/drools-guvnor
6. Now, you will see a Drools item in the menu list, just click on it and follows a login page of Drools, type in the username and password which are the same as TAC.

Best regards
Shong
----------------------------------------------------------
Talend | Data Agility for Modern Business

All Replies
One Star

Re: [resolved] drools-guvnor and org.talend.administrator Login Issue

hii chandu ,
Try updating your java 1.6,if u are trying the war files of drools and administrator then it should work.
We are working with this version its working for us,
SVN Server version Version: 2.1.7, Jboss Server version jboss-4.2.3.GA, java version 6, oralce 10g.
One Star

Re: [resolved] drools-guvnor and org.talend.administrator Login Issue

i have resolved the issues to login Talend Administrator tool , your right i have changed the JDK version and it was now working fine , thanks .
but i am not able to login to Drools Guvnor URL http://localhost:8080/drools-guvnor/
its is giving http status 404 error can you please help me on this.
regards
Chandu
One Star

Re: [resolved] drools-guvnor and org.talend.administrator Login Issue

Hi Shong,
Thanks for your quick response. please help me on this.,
i have resolved the issues to login Talend Administrator tool , your right i have changed the JDK version and it was now working fine , thanks .
but i am not able to login to Drools Guvnor URL http://localhost:8080/drools-guvnor/
its is giving http status 404 error can you please help me on this.
regards
Chandu
Community Manager

Re: [resolved] drools-guvnor and org.talend.administrator Login Issue

Hi Chandu
Which version of TIS are you using? I don't know if you have installed correctly the drools-guvnor, here are the steps what I have done:
1. Put drools-guvnor.war to Tomcat installation folder/webapps.
2. Copy the 3 jar files and paste them into <Tomcat/Jboss installation directory>/lib.
3. Open the file Tomcat installation folder/webapps/drools-guvnor/WEB-INF/classes/config.properties and modify it to
tac.remoteconnectionservlet.url=http://192.168.0.19:8080/org.talend.administrator/remoteConnection
4. Restart Tomcat/JBoss.
5. Login Tac and go to configration-->Talend Suite-->Drool and set the url as:
http://192.168.0.19:8080/drools-guvnor
6. Now, you will see a Drools item in the menu list, just click on it and follows a login page of Drools, type in the username and password which are the same as TAC.

Best regards
Shong
----------------------------------------------------------
Talend | Data Agility for Modern Business
One Star

Re: [resolved] drools-guvnor and org.talend.administrator Login Issue

thanks Shong.
One Star

Re: [resolved] drools-guvnor and org.talend.administrator Login Issue

hi shong,
i followed your steps but i am not able to find "config.properties" file under classes.
so,i am not able to change tac.remoteconnectionservlet.url.
What could be the problem.
Attaching the sc reenshot of the same.