WebLogic installation support - Problems upgrading from WL7 to WL81

This is Interesting: Free IT Magazines  
Home > Archive > WebLogic installation support > November 2004 > Problems upgrading from WL7 to WL81





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Problems upgrading from WL7 to WL81
Haider Kazmi

2004-11-24, 6:22 pm

Hi Folks, I need bit of a help here, hoping somone has run into this or
knows whats going on.

I am trying to do an upgrade from WL7 to WL81.

WL81 seems to be behaving strange. The first time I run after doing a build,
WL81 fails to deploy my app
due to NoClassDefFoundError while trying to look for some ejb in the EJB
component, however if I shut it down and just restart it, all the
ejbcomponents and webcomponents are deployed succesfully.

My build box is a SCO unix 8 with jdk1.4.1

Follwing is the Application deployment portion of my config.xml
<Application Deployed="true" Name="my"

Path="/usr/bea/weblogic81/server/config/mydomain/applications/my.ear"
StagedTargets="" StagingMode="nostage" TwoPhase="true">
<EJBComponent Name="myserver" Targets="myserver"
URI="myserver.jar" VerboseEJBDeploymentEnabled="true"/>
<WebAppComponent Name="my.war" Targets="myserver" URI="my.war"/>
</Application>

cheers
Haider


Haider Kazmi

2004-11-25, 5:51 pm

So I did some more testing by checking the classpath just before
NoClassDefFound exception is thrown.

Here is what I find. The first time round, the classpath has
WL81LIBS (i.e Lots of Weblogic Class/libs)
and
/usr/bea/weblogic81/server/config/hwdomain/./hwserver/stage/_appsdir_hw_ear/
APP-INF/classes

Thats it, no other jar from my app.

The Second time round the class Path looks like this
WL81LIBS
+
All the other jar from my app, about a dozen or so.

Why would WL81 have my jars missing the first time round????

cheers
Haider


"Haider Kazmi" <hkazmi@despammed.com> wrote in message
news:41a4ed69$1@mail...
> Hi Folks, I need bit of a help here, hoping somone has run into this or
> knows whats going on.
>
> I am trying to do an upgrade from WL7 to WL81.
>
> WL81 seems to be behaving strange. The first time I run after doing a

build,
> WL81 fails to deploy my app
> due to NoClassDefFoundError while trying to look for some ejb in the EJB
> component, however if I shut it down and just restart it, all the
> ejbcomponents and webcomponents are deployed succesfully.
>
> My build box is a SCO unix 8 with jdk1.4.1
>
> Follwing is the Application deployment portion of my config.xml
> <Application Deployed="true" Name="my"
>
> Path="/usr/bea/weblogic81/server/config/mydomain/applications/my.ear"
> StagedTargets="" StagingMode="nostage" TwoPhase="true">
> <EJBComponent Name="myserver" Targets="myserver"
> URI="myserver.jar" VerboseEJBDeploymentEnabled="true"/>
> <WebAppComponent Name="my.war" Targets="myserver" URI="my.war"/>
> </Application>
>
> cheers
> Haider
>
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com