Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

unresolved - SLSB being created, removed and recreated at startup

0 views
Skip to first unread message

Bill

unread,
Feb 13, 2003, 9:24:09 PM2/13/03
to
Original thread: "SLSB being created, removed and recreated at startup"

Since I was told that sp4 had that fixed so I'm using the weblogic.jar from
sp4.
However the same behavior is still there: creates, removes (almost
immediately),
waits for about 3-4 minutes and then re-creates.

Help please.

TIA,
Bill

"Bill" <no_...@hotmail.com> wrote:
>
>I didn't notice sp4 was out. I'm going to get that anyway but did you
>mean sp4?
>
>Rajesh Mirchandani <Re...@ToNewsgroup.Only> wrote:
>>This looks like a a bug where the applicaton was deployed, then undeployed
>>ansd
>>then redeployed during startup. Contact sup...@bea.com for a patch
>over
>>SP3.
>>
>>Bill wrote:
>>
>>> I wasn't necessarily suggesting it was in the config.xml. Just wondering
>>out
>>> loud. Secondly, I have almost all beans set to have same initial and
>>max
>>> pool sizes. One thing might be some what different is my deployment
>>> directory is outside of the WL install directory but can't imagine
>>it's all
>>> that unusual. In any case, the config.xml follows and thanks for looking
>>> into this.
>>>
>>> <?xml version="1.0" encoding="UTF-8"?>
>>> <!--If your domain is active, please do not edit the config.xml file.
>>Any
>>> changes made to that file while the domain is active will not have
>>any
>>> effect on the domain's configuration and are likely to be lost. If
>>your
>>> domain is inactive, you may edit this file with an XML editor. If
>you
>>do so,
>>> please refer to the BEA Weblogic Server Configuration Reference
>>> documentation available from
http://edocs.bea.com/wls/docs61/reference.html.
>>> In general, we recommend that changes to your configuration file be
>>made
>>> through the Administration Console.-->
>>> <Domain Name="ThisDomain">
>>> <ApplicationManager Name="ThisDomain"/>
>>> <SNMPAgent Name="ThisDomain"/>
>>> <Server AdministrationPort="0" ListenPort="7001" Name="ThisServer"
>>> RootDirectory="c:\projects\thisserver\deploy\wlroot"
>>> StdoutSeverityLevel="16">
>>> <ExecuteQueue Name="default" ThreadCount="50"/>
>>> <KernelDebug Name="ThisServer"/>
>>> <ServerStart Name="ThisServer"/>
>>> <Log FileName="ThisServer.log" Name="ThisServer"/>
>>> <WebServer DefaultWebApp="DefaultWebApp_ThisServer"
>>> Name="ThisServer"/>
>>> <SSL Name="ThisServer"/>
>>> <ServerDebug Name="ThisServer"/>
>>> </Server>
>>> <JDBCTxDataSource JNDIName="sybaseDataSource"
>>> Name="sybaseDataSource" PoolName="txPool" Targets="ThisServer"/>
>>> <StartupClass ClassName="my.server.ThisServer"
>>> FailureIsFatal="true" Name="ThisServer" Targets="ThisServer"/>
>>> <JDBCConnectionPool CapacityIncrement="5"
>>> DriverName="com.sybase.jdbc2.jdbc.SybDriver" InitialCapacity="5"
>>> MaxCapacity="10" Name="somePool_02"
>>>
>>>
Properties="packetsize=2048;user=auser;password=thepass;applicationname=serv
>>> er_xyz"
>>> RefreshMinutes="9999999" ShrinkingEnabled="false"
>>> Targets="ThisServer" TestTableName="CountryCd"
>>> URL="jdbc:sybase:Tds:199.999.99.9:5000/serverxyz"/>
>>> <FileRealm Name="wl_default_file_realm"/>
>>> <JMSServer Name="someJMSServer" Store="someJDBCStore"
>>> Targets="ThisServer">
>>> <JMSTopic
>>> JNDIName="my.server.internal.jms.someInternalTopic"
>>> Name="someInternalT"/>
>>> <JMSQueue
>>> JNDIName="my.server.internal.jms.somePFSummaryTransfer"
>>> Name="somePFSummaryTransferQ" StoreEnabled="false"/>
>>> <JMSTopic
>>> JNDIName="my.server.afunction.jms.someFunctionTopic"
>>> Name="someFunctionT"/>
>>> <JMSTopic JNDIName="my.server.gateway.jms.someGatewayTopic"
>>> Name="someGatewayT"/>
>>> </JMSServer>
>>> <JMSConnectionFactory
>>> JNDIName="my.server.internal.jms.TopicConnectionFactory"
>>> Name="someInternalTCF" Targets="ThisServer"/>
>>> <Log FileName="serverwl.log" Name="ThisDomain"/>
>>> <JDBCDataSource JNDIName="someDS_02" Name="someDS_02"
>>> PoolName="somePool_02" Targets="ThisServer"/>
>>> <JDBCConnectionPool CapacityIncrement="5"
>>> DriverName="com.sybase.jdbc2.jdbc.SybDriver" InitialCapacity="5"
>>> MaxCapacity="10" Name="somePool_01"
>>>
>>>
Properties="packetsize=2048;user=auser;password=thepass;applicationname=serv
>>> er_xyz"
>>> RefreshMinutes="999999999" ShrinkingEnabled="false"
>>> Targets="ThisServer" TestTableName="CountryCd"
>>> URL="jdbc:sybase:Tds:199.999.99.9:5000/serverxyz"/>
>>> <Security GuestDisabled="true" Name="ThisDomain"
>>> PasswordPolicy="wl_default_password_policy"
>>> Realm="wl_default_realm"/>
>>> <PasswordPolicy Name="wl_default_password_policy"/>
>>> <CustomRealm Name="SomeCustom Realm"
>>> RealmClassName="my.server.security.SomeRealm"/>
>>> <JMSJDBCStore ConnectionPool="sybasePool" Name="someJDBCStore"/>
>>> <Application Deployed="true" Name="serverejb"
>>>
Path="c:\projects\thisserver\deploy\wlroot\config\ThisDomain\applications">
>>> <EJBComponent Name="serverejb" Targets="ThisServer"
>>> URI="serverejb.jar"/>
>>> </Application>
>>> <JDBCDataSource JNDIName="someDS_01" Name="someDS_01"
>>> PoolName="somePool_01" Targets="ThisServer"/>
>>> <JDBCConnectionPool CapacityIncrement="5"
>>> DriverName="com.sybase.jdbc2.jdbc.SybDriver" InitialCapacity="2"
>>> MaxCapacity="5" Name="someHistPool_01"
>>>
>>>
Properties="packetsize=2048;user=auser;password=thepass;applicationname=serv
>>> er_xyz"
>>> RefreshMinutes="9999999" ShrinkingEnabled="false"
>>> Targets="ThisServer" TestTableName="CountryCd"
>>> URL="jdbc:sybase:Tds:199.999.99.9:5000/serverxyz"/>
>>> <JMSConnectionFactory ClientId="someFunction"
>>> JNDIName="my.server.afunction.jms.TopicConnectionFactory"
>>> Name="someFunctionTCF" Targets="ThisServer"/>
>>> <JMSConnectionFactory
>>> JNDIName="my.server.internal.jms.QueueConnectionFactory"
>>> Name="somePFSummaryTransferQCF" Targets="ThisServer"/>
>>> <JDBCDataSource JNDIName="someHistDS_01" Name="someHistDS_01"
>>> PoolName="someHistPool_01" Targets="ThisServer"/>
>>> <Application Deployed="true" Name="DefaultWebApp_ThisServer"
>>>
Path="c:\projects\thisserver\deploy\wlroot\config\ThisDomain\applications">
>>> <WebAppComponent Name="DefaultWebApp_ThisServer"
>>> URI="DefaultWebApp_ThisServer" WebServers="ThisServer"/>
>>> </Application>
>>> <JDBCConnectionPool CapacityIncrement="5"
>>> DriverName="com.sybase.jdbc2.jdbc.SybDriver" InitialCapacity="5"
>>> MaxCapacity="10" Name="txPool"
>>>
>>>
Properties="packetsize=2048;user=auser;password=thepass;applicationname=serv
>>> ertx_xyz"
>>> RefreshMinutes="99999999" ShrinkingEnabled="false"
>>> Targets="ThisServer" TestTableName="CountryCd"
>>> URL="jdbc:sybase:Tds:199.999.99.9:5000/serverxyz"/>
>>> <Realm CachingRealm="SomeCaching Realm"
>>> FileRealm="wl_default_file_realm" Name="wl_default_realm"/>
>>> <JDBCConnectionPool CapacityIncrement="5"
>>> DriverName="com.sybase.jdbc2.jdbc.SybDriver" InitialCapacity="5"
>>> MaxCapacity="10" Name="sybasePool"
>>>
>>>
Properties="packetsize=2048;user=auser;password=thepass;applicationname=serv
>>> er_xyz"
>>> RefreshMinutes="99999999" ShrinkingEnabled="false"
>>> Targets="ThisServer" TestTableName="CountryCd"
>>> URL="jdbc:sybase:Tds:199.999.99.9:5000/serverxyz"/>
>>> <JTA Name="ThisDomain" TimeoutSeconds="300"/>
>>> <JMSConnectionFactory
>>> JNDIName="my.server.gateway.jms.TopicConnectionFactory"
>>> Name="someGatewayTCF" Targets="ThisServer"/>
>>> <CachingRealm BasicRealm="SomeCustom Realm" Name="SomeCaching
>Realm"/>
>>> </Domain>
>>>
>>> "Rob Woollen" <r...@nomail.org> wrote in message
>>> news:3e48...@newsgroups.bea.com...
>>> > Well, the application poller looks at the timestamp on the file.
>> Is the
>>> > applications directory on a network file system or anything that
>>might
>>> > cause its timestamp to be unusual?
>>> >
>>> > I can't think of anything in your config.xml that would cause this,
>>but
>>> > if you post it here I'll have a look for anything unusual.
>>> >
>>> > -- Rob
>>> >
>>> > Bill wrote:
>>> > > But I know I'm not doing anything to the jar file, unless some
>>config
>>> settings
>>> > > in config.xml, say, causing the server to do that. Any other
>>> possibilities?
>>> > >
>>> > > Rob Woollen <r...@nomail.org> wrote:
>>> > >
>>> > >>The first create comes during deployment of the application.
>You
>>must
>>> > >>
>>> > >>have initial-beans-in-free-pool set to > 0.
>>> > >>
>>> > >>The remove is coming during an undeployment. The applications
>>directory
>>> > >>
>>> > >>poller has seen either the jar/ear file removed or updated and
>>is
>>> > >>undeploying the current bean.
>>> > >>
>>> > >>-- Rob
>>> > >>
>>> > >>Bill wrote:
>>> > >>
>>> > >>>Could some one tell me why WLS 6.1 sp3 is doing that? The following
>>> > >>
>>> > >>are the
>>> > >>
>>> > >>>stack traces of the first create and remove.
>>> > >>>
>>> > >>>TIA,
>>> > >>>Bill
>>> > >>>
>>> > >>>java.lang.Exception: Stack trace
>>> > >>> at java.lang.Thread.dumpStack(Thread.java:992)
>>> > >>> at my.server.service.OrderSvcEJB.ejbCreate(OrderSvcEJB.java:2599)
>>> > >>> at
>>> >
>>>
>>>my.server.service.OrderSvcEJB_24460_Impl.ejbCreate(OrderSvcEJB_24460_Impl
>>> .ja
>>> > >>>va:117)
>>> > >>> at java.lang.reflect.Method.invoke(Native Method)
>>> > >>> at
>>> >
>>>
>>>weblogic.ejb20.pool.StatelessSessionPool.createBean(StatelessSessionPool.
>>> jav
>>> > >>>a:159)
>>> > >>> at weblogic.ejb20.pool.Pool.createInitialBeans(Pool.java:198)
>>> > >>> at weblogic.ejb20.pool.Pool.onAfterDeploy(Pool.java:177)
>>> > >>> at
>>> >
>>>
>>>weblogic.ejb20.deployer.Deployer.runAfterDeploymentListeners(Deployer.jav
>>> a:1
>>> > >>>391)
>>> > >>> at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java:1062)
>>> > >>> at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:31)
>>> > >>> at weblogic.j2ee.Application.addComponent(Application.java:170)
>>> > >>> at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:117)
>>> > >>> at
>>> >
>>>
>>>weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Deployme
>>> ntT
>>> > >>>arget.java:360)
>>> > >>> at
>>> >
>>>
>>>weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(Deploym
>>> ent
>>> > >>>Target.java:285)
>>> > >>> at
>>> >
>>>
>>>weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployment
>>> s(D
>>> > >>>eploymentTarget.java:239)
>>> > >>> at
>>> >
>>>
>>>weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(Depl
>>> oym
>>> > >>>entTarget.java:199)
>>> > >>> at java.lang.reflect.Method.invoke(Native Method)
>>> > >>> at
>>> >
>>>
>>>weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanI
>>> mpl
>>> > >>>.java:636)
>>> > >>> at
>>> >
>>>
>>>weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.jav
>>> a:6
>>> > >>>21)
>>> > >>> at
>>> >
>>>
>>>weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationM
>>> Bea
>>> > >>>nImpl.java:360)
>>> > >>> at
>>> >
>>>
>>>com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
>>> > >>> at
>>> >
>>>
>>>com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
>>> > >>> at
>>> weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
>>> > >>> at
>>> weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
>>> > >>> at $Proxy41.updateDeployments(Unknown Source)
>>> > >>> at
>>> >
>>>
>>>weblogic.management.configuration.ServerMBean_CachingStub.updateDeploymen
>>> ts(
>>> > >>>ServerMBean_CachingStub.java:2977)
>>> > >>> at
>>> >
>>>
>>>weblogic.management.mbeans.custom.ApplicationManager.startConfigManager(A
>>> ppl
>>> > >>>icationManager.java:372)
>>> > >>> at
>>> >
>>>
>>>weblogic.management.mbeans.custom.ApplicationManager.start(ApplicationMan
>>> age
>>> > >>>r.java:160)
>>> > >>> at java.lang.reflect.Method.invoke(Native Method)
>>> > >>> at
>>> >
>>>
>>>weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanI
>>> mpl
>>> > >>>.java:636)
>>> > >>> at
>>> >
>>>
>>>weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.jav
>>> a:6
>>> > >>>21)
>>> > >>> at
>>> >
>>>
>>>weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationM
>>> Bea
>>> > >>>nImpl.java:360)
>>> > >>> at
>>> >
>>>
>>>com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
>>> > >>> at
>>> >
>>>
>>>com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
>>> > >>> at
>>> weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
>>> > >>> at
>>> weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
>>> > >>> at $Proxy59.start(Unknown Source)
>>> > >>> at
>>> >
>>>
>>>weblogic.management.configuration.ApplicationManagerMBean_CachingStub.sta
>>> rt(
>>> > >>>ApplicationManagerMBean_CachingStub.java:480)
>>> > >>> at
weblogic.management.Admin.startApplicationManager(Admin.java:1234)
>>> > >>> at weblogic.management.Admin.finish(Admin.java:644)
>>> > >>> at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:524)
>>> > >>> at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:207)
>>> > >>> at weblogic.Server.main(Server.java:35)
>>> > >>>
>>> > >>>
>>> > >>>java.lang.Exception: Stack trace
>>> > >>> at java.lang.Thread.dumpStack(Thread.java:992)
>>> > >>> at my.server.service.OrderSvcEJB.ejbRemove(OrderSvcEJB.java:2594)
>>> > >>> at
>>> >
>>>
>>>my.server.service.OrderSvcEJB_24460_Impl.ejbRemove(OrderSvcEJB_24460_Impl
>>> .ja
>>> > >>>va:80)
>>> > >>> at weblogic.ejb20.pool.Pool.cleanup(Pool.java:263)
>>> > >>> at
>>> >
>>>
>>>weblogic.ejb20.manager.StatelessManager.undeploy(StatelessManager.java:39
>>> 2)
>>> > >>> at
weblogic.ejb20.internal.BaseEJBHome.undeploy(BaseEJBHome.java:231)
>>> > >>> at
>>> >
>>>
>>>weblogic.ejb20.internal.StatelessEJBHome.undeploy(StatelessEJBHome.java:1
>>> 83)
>>> > >>> at weblogic.ejb20.deployer.Deployer.undeploy(Deployer.java:399)
>>> > >>> at weblogic.j2ee.EJBComponent.undeploy(EJBComponent.java:42)
>>> > >>> at weblogic.j2ee.Application.undeploy(Application.java:287)
>>> > >>> at
>>> weblogic.j2ee.J2EEService.undeployApplication(J2EEService.java:232)
>>> > >>> at
>>> >
>>>
>>>weblogic.management.mbeans.custom.Application.setLocalDeployed(Applicatio
>>> n.j
>>> > >>>ava:370)
>>> > >>> at
>>> >
>>>
>>>weblogic.management.mbeans.custom.Application.setDeployed(Application.jav
>>> a:3
>>> > >>>00)
>>> > >>> at java.lang.reflect.Method.invoke(Native Method)
>>> > >>> at
>>> >
>>>
>>>weblogic.management.internal.DynamicMBeanImpl.invokeSetter(DynamicMBeanIm
>>> pl.
>>> > >>>java:1401)
>>> > >>> at
>>> >
>>>
>>>weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanIm
>>> pl.
>>> > >>>java:894)
>>> > >>> at
>>> >
>>>
>>>weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanIm
>>> pl.
>>> > >>>java:847)
>>> > >>> at
>>> >
>>>
>>>weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(Configur
>>> ati
>>> > >>>onMBeanImpl.java:296)
>>> > >>> at
>>> >
>>>
>>>com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:
>>> 135
>>> > >>>8)
>>> > >>> at
>>> >
>>>
>>>com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:
>>> 133
>>> > >>>3)
>>> > >>> at
>>> >
>>>
>>>weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(Co
>>> nfi
>>> > >>>gurationMBeanImpl.java:393)
>>> > >>> at
>>> >
>>>
>>>weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(Configur
>>> ati
>>> > >>>onMBeanImpl.java:299)
>>> > >>> at
>>> >
>>>
>>>com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:
>>> 135
>>> > >>>8)
>>> > >>> at
>>> >
>>>
>>>com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:
>>> 133
>>> > >>>3)
>>> > >>> at
>>> >
>>>
>>>weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:322)
>>> > >>> at
>>> weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:204)
>>> > >>> at $Proxy26.setDeployed(Unknown Source)
>>> > >>> at
>>> >
>>>
>>>weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationMana
>>> ger
>>> > >>>.java:846)
>>> > >>> at
>>> >
>>>
>>>weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationMana
>>> ger
>>> > >>>.java:748)
>>> > >>> at
>>> >
>>>
>>>weblogic.management.mbeans.custom.ApplicationManager.update(ApplicationMa
>>> nag
>>> > >>>er.java:206)
>>> > >>> at
>>> >
>>>
>>>weblogic.management.mbeans.custom.ApplicationManager.startAdminManager(Ap
>>> pli
>>> > >>>cationManager.java:278)
>>> > >>> at
>>> >
>>>
>>>weblogic.management.mbeans.custom.ApplicationManager.start(ApplicationMan
>>> age
>>> > >>>r.java:152)
>>> > >>> at java.lang.reflect.Method.invoke(Native Method)
>>> > >>> at
>>> >
>>>
>>>weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanI
>>> mpl
>>> > >>>.java:636)
>>> > >>> at
>>> >
>>>
>>>weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.jav
>>> a:6
>>> > >>>21)
>>> > >>> at
>>> >
>>>
>>>weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationM
>>> Bea
>>> > >>>nImpl.java:360)
>>> > >>> at
>>> >
>>>
>>>com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
>>> > >>> at
>>> >
>>>
>>>com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
>>> > >>> at
>>> weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
>>> > >>> at
>>> weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
>>> > >>> at $Proxy5.start(Unknown Source)
>>> > >>> at
weblogic.management.Admin.startApplicationManager(Admin.java:1238)
>>> > >>> at weblogic.management.Admin.finish(Admin.java:644)
>>> > >>> at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:524)
>>> > >>> at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:207)
>>> > >>> at weblogic.Server.main(Server.java:35)
>>> > >>>
>>> > >>>
>>> > >>>
>>> > >>
>>> > >
>>> >
>>
>>--
>>Rajesh Mirchandani
>>Developer Relations Engineer
>>BEA Support
>>
>>
>


0 new messages