You really need 6.1 sp1 to use struts.
----- Original Message -----
From: "Jay Sissom" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Sunday, November 11, 2001 6:15 PM
Subject: Re: What is the good Weblogic version to use with Struts?


> When you ftp a binary file, you need to issue the BINARY command before
the
> PUT command.  Your war file is probably corrupted.
>
> I don't know anything about Weblogic, but it looks like the ftp transfer
> corrupted your war file.
>
> Jay
>
> ----- Original Message -----
> From: "Shamdasani Nimmi-ANS004" <[EMAIL PROTECTED]>
> To: "struts-user@jakarta. apache. org (E-mail)"
> <[EMAIL PROTECTED]>
> Sent: Thursday, November 08, 2001 3:10 PM
> Subject: What is the good Weblogic version to use with Struts?
>
>
> > Hi,
> >
> > I will REALLY appreciate any help I could get porting my application to
> Weblogic. Before porting my application I wanted to first try porting
struts
> Example application successfully. I am running against time to get the
> application into production environment. SO...... PLEASE HELP. Could 6.0
> version be a problem?
> >
> > -Nimmi
> > ------------------------------------------------------------
> > Here's what I did:
> >
> > I have version 6.0 of Weblogic app server and got its sample
applications
> running fine.
> > But struts-example application is giving errors. I copied
> 'struts-example.war' into wlserver6.0/config/sqcadm/applications directory
> and started the weblogic server. I am not sure if there is any other step
> that I had to follow. 'sqcadm' is my domain.
> >
> > I did see this message during ftp of 'struts-example.war' from my NT
> machine to remoteweblogic server:
> >
> > ftp> put struts-example.war
> > 200 PORT command successful.
> > 150 Opening ASCII mode data connection for struts-example.war.
> > 226-WARNING! 1666 bare linefeeds received in ASCII mode
> >    File may not have transferred correctly.
> > 226 Transfer complete.
> > 434601 bytes sent in 0.51 seconds (850.49 Kbytes/sec)
> >
> > Is this a regular warning.
> >
> > Here's the error from the weblogic.log file:
> >
> > ####<Nov 8, 2001 1:43:58 PM CST> <Error> <Management> <otis> <sqcsrv>
> <main> <sy
> > stem> <> <141004> <IOException opening application
> sqcadm:Name=struts-example,Ty
> > pe=Application, loading from path
> ./config/sqcadm/applications/struts-example.wa
> > r>
> > java.util.zip.ZipException: invalid END header (bad central directory
> offset)
> >         at java.util.zip.ZipFile.open(Native Method)
> >         at java.util.zip.ZipFile.<init>(Unknown Source)
> >         at java.util.jar.JarFile.<init>(Unknown Source)
> >         at java.util.jar.JarFile.<init>(Unknown Source)
> >         at
weblogic.utils.jars.VirtualJarFile.<init>(VirtualJarFile.java,
> Compil
> > ed Code)
> >         at
> weblogic.management.mbeans.custom.Application.adminLoad(Application.j
> > ava, Compiled Code)
> >         at
> weblogic.management.mbeans.custom.Application.load(Application.java,
> > Compiled Code)
> >         at java.lang.reflect.Method.invoke(Native Method)
> >         at
> weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
> > eanImpl.java, Compiled Code)
> >         at
> weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
> > .java, Compiled Code)
> >         at
> weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
> > ionMBeanImpl.java, Compiled Code)
> >         at
> com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java, C
> > ompiled Code)
> >         at
> com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java, C
> > ompiled Code)
> >         at
weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java,
> Compi
> > led Code)
> >         at
weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java,
> Compi
> > led Code)
> >         at $Proxy11.load(Unknown Source)
> >         at
> weblogic.management.mbeans.custom.ApplicationManager.addApplication(A
> > pplicationManager.java, Compiled Code)
> >         at
> weblogic.management.mbeans.custom.ApplicationManager.addApplication(A
> > pplicationManager.java, Compiled Code)
> >         at
> weblogic.management.mbeans.custom.ApplicationManager.poll(Application
> > Manager.java, Compiled Code)
> >         at
> weblogic.management.mbeans.custom.ApplicationManager.poll(Application
> > Manager.java, Compiled Code)
> >         at
> weblogic.management.mbeans.custom.ApplicationManager.update(Applicati
> > onManager.java, Compiled Code)
> >         at
> weblogic.management.mbeans.custom.ApplicationManager.addApplication(A
> > pplicationManager.java, Compiled Code)
> >         at
> weblogic.management.mbeans.custom.ApplicationManager.start(Applicatio
> > nManager.java, Compiled Code)
> >         at java.lang.reflect.Method.invoke(Native Method)
> >         at
> weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
> > eanImpl.java, Compiled Code)
> >         at
> weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
> > .java, Compiled Code)
> >         at
> weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
> > ionMBeanImpl.java, Compiled Code)
> >         at
> com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java, C
> > ompiled Code)
> >         at
> com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java, C
> > ompiled Code)
> >         at
weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java,
> Compi
> > led Code)
> >         at
weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java,
> Compi
> > led Code)
> >         at $Proxy3.start(Unknown Source)
> >         at
> weblogic.management.Admin.configureFromJavaProperties(Admin.java, Com
> > piled Code)
> >         at
> weblogic.management.Admin.configureFromJavaProperties(Admin.java, Com
> > piled Code)
> >         at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:431)
> >         at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:170)
> >         at weblogic.Server.main(Server.java:35)
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> >
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to