Solved

Weblogic 10.0 Jar file classpath problem.

Posted on 2008-06-13
3
3,835 Views
Last Modified: 2013-12-10
Hi,
     We are migrating from Jboss to weblogic 10.0. As a part of Migration we have written python script to set environment and start management servers instead of using setDomainEnv.sh(cmd) and startWeblogic.sh(cmd). The problem we are facing is no application jar files deployed inside $DOMAIN_HOME/lib directory are added in the classpath when the server startsup. We have 100s of jar files inside 'lib' directory so we would not be able to add them individually. But when I start server using regular scripts they are getting added without any issues. I do not see any external lines in any of our weblogic scripts to tell server to add jar files inside DOMAIN_HOME/lib directory automatically. Here is my CLASSPATH been set when I start the server

CLASSPATH=/usr/local/bea/bea/patch_wlw1001/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/usr/local/bea/bea/patch_wls1001/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/usr/local/bea/jdk1.5.0_15/lib/tools.jar:/usr/local/bea/bea/wlserver_10.0/server/lib/weblogic_sp.jar:/usr/local/bea/bea/wlserver_10.0/server/lib/weblogic.jar:/usr/local/bea/bea/modules/features/weblogic.server.modules_10.0.1.0.jar:/usr/local/bea/bea/modules/features/com.bea.cie.common-plugin.launch_2.1.2.0.jar:/usr/local/bea/bea/wlserver_10.0/server/lib/webservices.jar:/usr/local/bea/bea/modules/org.apache.ant_1.6.5/lib/ant-all.jar:/usr/local/bea/bea/modules/net.sf.antcontrib_1.0b2.0/lib/ant-contrib.jar:::/usr/local/bea/bea/wlserver_10.0/common/eval/pointbase/lib/pbembedded51.jar:/usr/local/bea/bea/wlserver_10.0/common/eval/pointbase/lib/pbupgrade51.jar:/usr/local/bea/bea/wlserver_10.0/common/eval/pointbase/lib/pbclient51.jar:/usr/local/bea/bea/wlserver_10.0/server/lib/xqrl.jar:/usr/local/bea/bea/user_projects/domains/development/conf:/usr/local/bea/bea/modules/com.bea.core.apache.xalan_2.7.0.jar:/usr/local/bea/bea/modules/com.bea.core.apache.xerces.resolver_2.8.1.jar:/usr/local/bea/bea/modules/com.bea.core.apache.xerces.xml-apis_2.8.1.jar:/usr/local/bea/bea/modules/com.bea.core.apache.xercesImpl_2.8.1.jar:/usr/local/bea/bea/modules/com.bea.core.apache.xml.security_1.3.0.jar:/usr/local/bea/bea/modules/com.bea.core.apache.xml.serializer_2.7.0.jar:/usr/local/bea/bea/modules/com.bea.core.apache.bcel_5.2.0.0.jar:/usr/local/bea/bea/modules/com.bea.core.apache.log4j_1.2.13.jar:/usr/local/bea/bea/user_projects/domains/development/lib/wllog4j.jar:/usr/local/bea/bea/modules/com.bea.core.apache.commons.logging_1.1.0.jar::/usr/local/bea/bea/user_projects/domains/development/lib

Please help me to resolve this issue. We have been stuck on this long time.

Thanks

Jayamurugan.B.S
What I am seeing when I use my python script is
 
<Jun 13, 2008 6:11:45 PM EDT> <Notice> <WebLogicServer> <BEA-000395> <Following extensions directory contents added to the end of the classpath:
/usr/local/bea/bea/wlserver_10.0/platform/lib/p13n/p13n-schemas.jar:/usr/local/bea/bea/wlserver_10.0/platform/lib/p13n/p13n_common.jar:/usr/local/bea/bea/wlserver_10.0/platform/lib/p13n/p13n_system.jar:/usr/local/bea/bea/wlserver_10.0/platform/lib/wlp/netuix_common.jar:/usr/local/bea/bea/wlserver_10.0/platform/lib/wlp/netuix_schemas.jar:/usr/local/bea/bea/wlserver_10.0/platform/lib/wlp/netuix_system.jar:/usr/local/bea/bea/wlserver_10.0/platform/lib/wlp/wsrp-client.jar:/usr/local/bea/bea/wlserver_10.0/platform/lib/wlp/wsrp-common.jar>
 
 
What I have to see is
 
<Jun 13, 2008 6:12:31 PM EDT> <Notice> <WebLogicServer> <BEA-000395> <Following extensions directory contents added to the end of the classpath:
/usr/local/bea/bea/user_projects/domains/development/lib/APIServiceStubs.jar:/usr/local/bea/bea/user_projects/domains/development/lib/AddrValidateStubs.jar:/usr/local/bea/bea/user_projects/domains/development/lib/AgencyChargebackStubs.jar:/usr/local/bea/bea/user_projects/domains/development/lib/AgentCustomerDraftStubs.jar:/usr/local/bea/bea/user_projects/domains/development/lib/ClueBusinessStubs.jar:/usr/local/bea/bea/user_projects/domains/development/lib/ClueStubs.jar:/usr/local/bea/bea/user_projects/domains/development/lib/CoverageNotificationStubs.jar:/usr/local/bea/bea/user_projects/domains/development/lib/CurrentCarrierStubs.jar:/usr/local/bea/bea/user_projects/domains/development/lib/EnterprisePrintStubs.jar:/usr/local/bea/bea/user_projects/domains/development/lib/IVRBPMStubs.jar:/usr/local/bea/bea/user_projects/domains/development/lib/IvrIpmStubs.jar:/usr/local/bea/bea/user_projects/domains/development/lib/NotesStubs.jar:/usr/local/bea/bea/user_projects/domains/development/lib/OnstarStubs.jar:/usr/local/bea/bea/user_projects/domains/development/lib/PaymentBPMStubs.jar:/usr/local/bea/bea/user_projects/domains/development/lib/PaymentIpmStubs.jar:/usr/local/bea/bea/user_projects/domains/development/lib/PolicyBpmStubs.jar:/usr/local/bea/bea/user_projects/domains/development/lib/PolicyIpmStubs.jar:/usr/local/bea/bea/user_projects/domains/development/lib/PolicyServicesManagerStubs.jar:/usr/local/bea/bea/user_projects/domains/development/lib/PrintRulesClientAdapter.jar:/usr/local/bea/bea/user_projects/domains/development/lib/PrintRulesStubs.jar:/usr/local/bea/bea/user_projects/domains/development/lib/RVInfoStubs.jar:/usr/local/bea/bea/user_projects/domains/development/lib/RatingStubs.jar:/usr/local/bea/bea/user_projects/domains/development/lib/ReportsServicesManagerStubs.jar:/usr/local/bea/bea/user_projects/domains/development/lib/ScreenScrapeStubs.jar:/usr/local/bea/bea/user_projects/domains/development/lib/ToolsServicesManagerStubs.jar:/usr/local/bea/bea/user_projects/domains/development/lib/UnderwritingRiskControllerStubs.jar:/usr/local/bea/bea/user_projects/domains/development/lib/UnderwritingRiskModelStubs.jar:/usr/local/bea/bea/user_projects/domains/development/lib/UnderwritingRiskTransformStubs.jar:/usr/local/bea/bea/user_projects/domains/development/lib/VICStubs.jar:/usr/local/bea/bea/user_projects/domains/development/lib/VoiceSupportStubs.jar:/usr/local/bea/bea/user_projects/domains/development/lib/WSRouterClientAdapter.jar:/usr/local/bea/bea/user_projects/domains/development/lib/WSRouterStubs.jar:/usr/local/bea/bea/user_projects/domains/development/lib/agencyQuoteIpmStubs.jar:/usr/local/bea/bea/user_projects/domains/development/lib/agentSupportStubs.jar:/usr/local/bea/bea/user_projects/domains/development/lib/apxServiceStubs.jar:/usr/local/bea/bea/user_projects/domains/development/lib/bpxServiceStubs.jar:/usr/local/bea/bea/user_projects/domains/development/lib/casServiceStubs.jar: etc..etc..

Open in new window

0
Comment
Question by:Jayamurugan83
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 35

Accepted Solution

by:
girionis earned 500 total points
ID: 21785602
Can you start the server by explicitly specifying this directory? You should use the -Dweblogic.ext.dirs parameter

-Dweblogic.ext.dirs=$DOMAIN_HOME/lib

0
 

Author Closing Comment

by:Jayamurugan83
ID: 31467104
Thank you so much. You made my day. I was scratching my head for long time to resolve this issue. It had been resolved now. Once Again. Thanks.
0
 
LVL 35

Expert Comment

by:girionis
ID: 21788607
Thanks for accepting, glad I was of help :)
0

Featured Post

Manage your data center from practically anywhere

The KN8164V features HD resolution of 1920 x 1200, FIPS 140-2 with level 1 security standards and virtual media transmissions at twice the speed. Built for reliability, the KN series provides local console and remote over IP access, ensuring 24/7 availability to all servers.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

"The time has come," the Walrus said, "To talk of many things: Of sets--and lists--and dictionaries-- Of variable kinks-- And why you see it changing not-- And why so strange are strings." This part describes how variables and references (see …
Variable is a place holder or reserved memory locations to store any value. Which means whenever we create a variable, indirectly we are reserving some space in the memory. The interpreter assigns or allocates some space in the memory based on the d…
Learn the basics of if, else, and elif statements in Python 2.7. Use "if" statements to test a specified condition.: The structure of an if statement is as follows: (CODE) Use "else" statements to allow the execution of an alternative, if the …
Learn the basics of modules and packages in Python. Every Python file is a module, ending in the suffix: .py: Modules are a collection of functions and variables.: Packages are a collection of modules.: Module functions and variables are accessed us…
Suggested Courses

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question