RE: Getting Struts 1.1 beta to work with WLS6.1 SP2: commons-logging's ClassNotFoundException

2002-06-04 Thread Ralph Roland

I've recently been fighting this same problem.  As far as I was able to
determine you will need to place the commons-logging.jar in weblogic's main
classpath and leave all of the other commons-*.jars and struts.jar in your
war-file's WEB-INF/lib directory.  I found the easiest way of testing the
various configurations was to try deploying the struts-example.war sample
application (instead of our own apps - too many other classpath issues
clouded the basic problem of getting Struts up and working).

FYI, we've been using Struts 1.0 on WebLogic 6.0 without any problems.  In
the last couple of weeks I was looking into upgrading to Struts 1.1 and have
concluded that 1.1 will simply not work under WL6.0
(commons-digester/jaxp1.1 classloading issues), but does work under WL6.1
and WL7.0 - if the commons-logging.jar is in weblogic's classpath.

Good Luck

-Original Message-
From: Struts Newsgroup [mailto:@[EMAIL PROTECTED]]
Sent: Monday, June 03, 2002 4:25 AM
To: [EMAIL PROTECTED]
Subject: Getting Struts 1.1 beta to work with WLS6.1 SP2:
commons-logging's ClassNotFoundException


Subject: Getting Struts 1.1 beta to work with WLS6.1 SP2: commons-logging's
ClassNotFoundException
From: zaxy [EMAIL PROTECTED]
 ===
Hi,

I did find this issue on www.mail-archive.com but no clear solution was
submitted.
Would like to know if this was resolved? and if so, how?

From reading the two articles this was deemed to be a class loader problem
and from the notes on Weblogic 6.1 service pack 2 it has been 'fixed'.

I have installed the latest 6.1 release and am still having this problem. I
went down the ghastly track of putting everything in the weblogic classpath
and am now wiser.

Simply putting the requisite files in the WEB-INF/lib folder still throws
the exception:

org.apache.commons.logging.LogConfigurationException:
java.lang.ClassNotFoundException:
org.apache.commons.logging.impl.LogFactoryImpl

Would appreciate any help.

Thanks.







--
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]




RE: Getting Struts 1.1 beta to work with WLS6.1 SP2: commons-logging's ClassNotFoundException

2002-06-03 Thread Arik Levin ( Tikal )

Does your project, includes log4j or other logger?

-Original Message-
From: Struts Newsgroup [mailto:[EMAIL PROTECTED]] 
Sent: Monday, June 03, 2002 11:25 AM
To: [EMAIL PROTECTED]
Subject: Getting Struts 1.1 beta to work with WLS6.1 SP2: commons-logging's
ClassNotFoundException

Subject: Getting Struts 1.1 beta to work with WLS6.1 SP2: commons-logging's
ClassNotFoundException
From: zaxy [EMAIL PROTECTED]
 ===
Hi,

I did find this issue on www.mail-archive.com but no clear solution was
submitted.
Would like to know if this was resolved? and if so, how?

From reading the two articles this was deemed to be a class loader problem
and from the notes on Weblogic 6.1 service pack 2 it has been 'fixed'.

I have installed the latest 6.1 release and am still having this problem. I
went down the ghastly track of putting everything in the weblogic classpath
and am now wiser.

Simply putting the requisite files in the WEB-INF/lib folder still throws
the exception:

org.apache.commons.logging.LogConfigurationException:
java.lang.ClassNotFoundException:
org.apache.commons.logging.impl.LogFactoryImpl

Would appreciate any help.

Thanks.







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



RE: Getting Struts 1.1 beta to work with WLS6.1 SP2: commons-logging's ClassNotFoundException

2002-05-17 Thread Prabhakar, V

Ren,

How do you deploy the sample on WAS? I am struggling to deploy even struts 1.0.2 apps 
on WAS. I am new to both WAS and struts and so I can use any help.

I use AA tool to wrap the sample app and install using WAS admin console. Am I doing 
anything wrong?

Any help would be appreciated.

-V Prabhakar

-Original Message-
From: Ren Bitonio [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 17, 2002 3:10 PM
To: 'Struts Users Mailing List'
Subject: Getting Struts 1.1 beta to work with WLS6.1 SP2:
commons-logging's ClassNotFoundException


Hello All:

There have been no responses to my initial request below, and I'd appreciate
much if I could get some assistance.  I've read past postings that comes
close to my issue, but not useful information.  Sorry for re-posting, but I
need to find a way around this problem.

I have an already working Struts running on Bea's WLS61 and IBM's WAS40, and
I'd like to use at least the milestone build Struts 1.1 beta 1, but I'm
getting java.lang.ClassNotFoundException:
org.apache.commons.logging.impl.LogFactoryImpl upon startup of my webapp.
More info below.  

I've recompiled and reassembled the web-apps with the the Struts 1.1
libraries, aand I also have commons-logging.jar in my webapp's classpath,
but it does not help.  I've deployed the web-apps that came with the Struts
1.1 beta distribution, and they're fine.  

Any ideas?

Thanks,
Ren

-Original Message-
From: Ren Bitonio [mailto:[EMAIL PROTECTED]] 
Sent: Monday, May 13, 2002 3:27 PM
To: '[EMAIL PROTECTED]'
Subject: Struts 1.1 Beta 1 w/ Weblogic 6.1 SP2


Hi All:

I've read a few postings regarding the problem below, but there were no good
answers regarding a workaround for WebLogic 6.1 SP2 (running on Solaris 8).
We're running a nightly build from Nov 2001, and we have no problems with
our stuts web apps, and we're now ready to upgrade to latest milestone
build, version 1.1 beta 1.  

Has anyone know how to resolve or work around this ClassNotFound exception?
Has any of the latest nightly builds after 1.1 beta 1 solved this problem as
well?

Thanks,
Ren

May 13, 2002 3:25:04 PM PDT Error HTTP
[WebAppServletContext(8218668,eAgent,/eAgent)] Servlet failed with
Exception
org.apache.commons.logging.LogConfigurationException:
java.lang.ClassNotFoundException:
org.apache.commons.logging.impl.LogFactoryImpl
at
org.apache.commons.logging.LogFactory.newFactory(LogFactory.java:497)
at
org.apache.commons.logging.LogFactory.getFactory(LogFactory.java:350)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:381)
at
org.apache.struts.action.ActionServlet.init(ActionServlet.java:331)
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:232)
at
weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java
:665)
at
weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.ja
va:643)
at
weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.jav
a:588)
at
weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:36
8)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:242)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:200)
at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
ntext.java:2495)
at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
:2204)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)

--
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]