You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Ali Ok <al...@aliok.info> on 2008/01/11 19:36:31 UTC

Re: RE : Sun's RI 1.1 and Tomahawk 1.1.5 / Sandbox 1.1.5: ClassNotFoundException: [Ljava.lang.String

I have experienced the same problem too. I upgraded my JSF APIs to latest
versions (JDK not changed, 1.6.u3) and it solved.

2007/12/24, DZISIAK Jean-Paul <jp...@skynet.be>:
>
>  Hello Marco,
>
> I was using JDK 1.6 with Tomcat 6.0. When I tried JDK 1.5 thinks worked.
>
> I have read somewhere that there is a regression in the Java
> ClassLoader...
>
> Thank you again for your help.
>
> JeP
>
>  -----Message d'origine-----
> *De :* Marco Castillo [mailto:macbarbero@gmail.com]
> *Envoyé :* lundi 24 décembre 2007 2:14
> *À :* MyFaces Discussion
> *Objet :* Re: Sun's RI 1.1 and Tomahawk 1.1.5 / Sandbox 1.1.5:
> ClassNotFoundException: [Ljava.lang.String
>
> Dear Jean-Paul:
>   We were integrating Tomahawk 1.1.6 with Netbeans 5.5.1 with Tomcat, and
> we get the same exception. Googling for this error, we found that there is
> an error in the latest Java JDK, maybe you're using the latest JDK from SUN
> ( 6.x.x). Try using a JDK 1.5. The latest JDK 1.5 from SUN is build 14 as
> far as I know. This works for us. Hope this helps.
>
> Marco
>
> On Dec 23, 2007 4:41 AM, DZISIAK Jean-Paul < jp.dzisiak@skynet.be> wrote:
>
> >  Hello,
> >
> > I have used MyFaces, Tomahawk and Tomahawk sandbox successfully for my
> > last project.
> > I have a new project (an ESRI's ArcGIS Server 9.2 GIS system that uses
> > only Sun's RI 1.1 !) and I need Tomahawk !
> >
> > The problem is that when I drop "tomahawk-1.1.6.jar" and "
> > tomahawk-sandbox-1.1.5-SNAPSHOT.jar" in this ArcGIS web application I
> > have the errror described below. However I have been told that Tomahawk
> > should work with Sun RI 1.1 so where am I wrong ?
> >
> > Help would be *VERY MUCH* appreciated !
> >
> > Jean-Paul Dzisiak
> >
> > java.lang.ClassNotFoundException: [Ljava.lang.String;
> >  at org.apache.catalina.loader.WebappClassLoader.loadClass(
> > WebappClassLoader.java:1358)
> >  at org.apache.catalina.loader.WebappClassLoader.loadClass(
> > WebappClassLoader.java:1204)
> >  at com.sun.faces.config.ConfigureListener.configure(
> > ConfigureListener.java:615)
> >  at com.sun.faces.config.ConfigureListener.configure(
> > ConfigureListener.java:402)
> >  at com.sun.faces.config.ConfigureListener.contextInitialized(
> > ConfigureListener.java:328)
> >  at org.apache.catalina.core.StandardContext.listenerStart(
> > StandardContext.java:3830)
> >  at org.apache.catalina.core.StandardContext.start(StandardContext.java
> > :4337)
> >  at org.apache.catalina.core.ContainerBase.addChildInternal(
> > ContainerBase.java:791)
> >  at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java
> > :771)
> >  at org.apache.catalina.core.StandardHost.addChild(StandardHost.java
> > :525)
> >  at org.apache.catalina.startup.HostConfig.deployDirectory(
> > HostConfig.java:920)
> >  at org.apache.catalina.startup.HostConfig.deployDirectories(
> > HostConfig.java:883)
> >  at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java
> > :492)
> >  at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
> >  at org.apache.catalina.startup.HostConfig.lifecycleEvent(
> > HostConfig.java:311)
> >  at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(
> > LifecycleSupport.java:117)
> >  at org.apache.catalina.core.ContainerBase.start(ContainerBase.java
> > :1053)
> >  at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
> >  at org.apache.catalina.core.ContainerBase.start(ContainerBase.java
> > :1045)
> >  at org.apache.catalina.core.StandardEngine.start(StandardEngine.java
> > :443)
> >  at org.apache.catalina.core.StandardService.start(StandardService.java
> > :516)
> >  at org.apache.catalina.core.StandardServer.start(StandardServer.java
> > :710)
> >  at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
> >  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> >  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> >  at java.lang.reflect.Method.invoke(Unknown Source)
> >  at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
> >  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
> >
> > The fololowing statements are added to the ArcGIS web.xml descriptor
> > (but this is not the cause of the Exception):
> >
> >  <!-- support for Tomahawk -->
> >  <filter>
> >         <filter-name>extensionsFilter</filter-name>
> >         <filter-class>org.apache.myfaces.webapp.filter.ExtensionsFilter
> > </filter-class>
> >         <init-param>
> >             <param-name>uploadMaxFileSize</param-name>
> >             <param-value>100m</param-value>
> >         </init-param>
> >         <init-param>
> >             <param-name>uploadThresholdSize</param-name>
> >             <param-value>100k</param-value>
> >         </init-param>
> >     </filter>
> >     <filter-mapping>
> >         <filter-name>extensionsFilter</filter-name>
> >         <url-pattern>*.jsf</url-pattern>
> >     </filter-mapping>
> >     <filter-mapping>
> >         <filter-name>extensionsFilter</filter-name>
> >         <url-pattern>/faces/*</url-pattern>
> >     </filter-mapping>
> >     <filter-mapping>
> >         <filter-name>extensionsFilter</filter-name>
> >         <url-pattern>/Controller</url-pattern>
> >   </filter-mapping>
> >
> >
> >
>
>