Automate Deployments in Weblogic

Hi friends ,
I have some basic questions in automating the deployments ( war / ear / jar ) . Let me explain the set up .
Weblogic version : 9.2 & 10
servers : Unix Sun Solaris 10
We have 2 production servers ( PRUXAP01 , PRUX Ap02 ) which are running in Unix Solaris platform . We have 2 domains ( EMC , EMCSB )created across these servers in total we have 10 manage servers scross these 2 physical boxes .
- We frequently get application deployment requests ( mostly ear / war files ) to deploy on the console . It takes time to deploy and all the time I dont want to use the manual process of deploying it by logging in the console .
- I want to automate these deployments , I heard there are many tools which can be used to Automate the regular deployments .
- Please suggest me how can i do that and How do i procced further in these automation .
- I heard abour WLST & Hudson tool but not sure how do i incorpate my setup with these tools .
All the advices are welcome.
Please contact me @ [email protected]
thanks,
Kiran

Hi Kiran,
You have the following additional Options:
1). Deployment Using WLST: http://middlewaremagic.com/weblogic/?p=303
2). Deployment Using ANT Script: http://middlewaremagic.com/weblogic/?p=373
2). Deployment Using JMX: http://middlewaremagic.com/weblogic/?p=483
4). Simplest way Using weblogic.Deployer Utility:
java weblogic.Deployer -adminurl t3://localhost:7001 -username weblogic -password weblogic -deploy -name complexServiceEar  -targets ClusterOne -source complexServiceEar.ear
Thanks
Jay SenSharma
http://middlewaremagic.com/weblogic (Middleware magic Is Here)

Similar Messages

  • Temp Deployments in Weblogic 5.1

    Hi,
    While deploying a JAR in Weblogic 5.1, it automatically copies the jar into a
    tmp_deployments directory...and, loads it from there to make sure that we have
    the original copy for modifications.
    Is there a way we can tune weblogic to stop this ?? Or, is it not possible at
    all ??
    Do let me know...as soon as possible.
    Thanks and Regards,
    Sundari. S

    Hi.
    Sorry, there's no way to turn this off.
    Regards,
    Michael
    Sundari wrote:
    Hi,
    While deploying a JAR in Weblogic 5.1, it automatically copies the jar into a
    tmp_deployments directory...and, loads it from there to make sure that we have
    the original copy for modifications.
    Is there a way we can tune weblogic to stop this ?? Or, is it not possible at
    all ??
    Do let me know...as soon as possible.
    Thanks and Regards,
    Sundari. S
    Michael Young
    Developer Relations Engineer
    BEA Support

  • Automatic startup of weblogic admin server of OBIEE11g on linux box

    We stopped Admin server from weblogic admin console, now when we tried to start the admin server we are able to start it, but when we close the command line the Admin server stopped automatically, unable to access Console/EM, how to make Admin server to run as a background process on Linux box,
    If anyone has any thoughts on what might be going on here I'd greatly appreciate it.

    Have you tried to nohup the start script? I use this on AIX to start the apps. I don't have a Linux server but I think it would work there, too. At the command line you would type 'nohup start.sh &'. Replace start.sh with the name of your start script. This will run the script in the background and it will keep running even after you log off.
    Jerry

  • Problem setting up JMS Automatic Failover in WebLogic 9.1

    I received the following error when trying to configure server migration using Sybase DB to store leasing tables information:
              <java.sql.SQLException:JZ0S3:> The inherited method executdUpdate(String) cannot be used in this subclass.
              at com.sybase.jdbc2.jdbc.ErrorMessage.raiseError(ErrorMessage.556)
              at com.sybase.jdbc2.jdbc.SybPreparedStatement.executedUpdate(SybPreparedStatement.java:122)
              at weblogic.jdbc.wrapper.Statement.executedUpdate(Statement.java:433)
              at weblogic.cluster.singleton.DatabaseLeasingBasis.renewAllLeases(DatabaseLeasingBasis.java:118)
              at weblogic.cluster.singleton.DatabaseLeasingBasis.sendHeartbeat(DatabaseLeasingBasis.java:94)
              I'm using Sybase driver type 4, version 5.X. I also experimented with Sybase driver type 4, version 6.X but got the same error. I tried to use WebLogic Sybase Driver and got different error (SQLException: SQLState(HY000)).
              I have used Sybase driver version 5.X successfully with our application in WL9.1. It seems the calls to renew all leases in WL9.1 need to change to from PreparedStatement to Statement since Sybase PreparedStatement does not support executeUpdate(String).
              I need to resolve this problem ASAP. We are upgrading to WL9.1 from 8.1 so that we could take advantage of the automatic failover but so far, it is not working. Please help.
              Thanks.

    I'd contact [email protected] I believe this is a known bug when using sybase.
              -- Rob
              WLS Blog http://dev2dev.bea.com/blog/rwoollen/

  • System-jazn-data.xml corruption after few ADF Application Deployments in Weblogic 11g

    We have been facing issues of system-jazn-data.xml getting corrupted after deploying some ADF Applications causing impact on other deployed applications accessibility. As a work around, we need un-deploy the application and restore the template jazn file and bounce Admin and Managed Servers and then re-deploy the application. Anyone faced this issue? Is the root cause identified and a solution to this issue.
    Thanks,
    Kumar

    Hello Kumar,
    We faced similar issues after deploying new applications and bouncing the manager servers, but not with "system-jazn-data.xm" though. Suggest to check with oracle(SR), they would come up with a more appropriate solution/work around.
    Good luck!
    Thanks,
    Rajiv.

  • Weblogic Deployments are not active

    I patched Identity Manager using Bundle Patch 05. After patching the deployments in weblogic such as nexaweb.ear and xlWebApp.ear are not active.
    The status is 'new'
    java.lang.Exception:[DeploymentService:290049]Deploy failed for id'1,251,143,213,381' since no targets are reachable

    "since no targets are reachable"
    Deployment targets ( servers ) weren't running ...

  • Initializing Servlets after Weblogic starts

    I have 2 separate ears, one handling the security and the other
              handling the business applications. The business app, on servlet
              initialization, calls the security servlet on port 7001 to login the
              default user. However, while WL is still starting up, the servlet
              fails to recognize the listener port 7001 and fails with a
              java.net.ConnectException saying it could not connect. This when the
              applications have been deployed and the server is being restarted.
              Is there any way to automatically initialize the servlet while the
              server is being brought up so that it initializes after the ports
              become available?
              Thanks in advance.
              

    unfortunately no solution worked :-(
    I tried re-depolyment of "ServiceBus_Console" in Environment/Deployments of WebLogic admin but did not help. I think i should have killed all nohup instances of server though.
    I had to do the reinstall... :-(

  • Read only access for bpel console in SOA Suite 10.1.3.5.1(weblogic)

    Hi
    For SOA Suite 10.1.3.5.1 on weblogic, Is there any way to restrict certain users to some pages in bpel console.. e.g. read only access to bpel console.
    I have found articles on web regarding this but they all are for SOA Suite 10.1.3.3 (and 3.4) on Oracle app server. Article provides a hack by using servlet filters.
    How to do a similar thing in SOA Suite 10.1.3.5.1 on weblogic ?
    Can somebody provide step by step instructions?
    Thanks

    Hi James,
    I have already seen this link and several refined versions of it but it wont work for weblogic. For example
    There is no j2ee/oc4j_soa/applications/orabpel/console directory (i looked into home directory as well but could not found orabpel/console dir).
    So question is where to put filter class and how to make changes in web.xml as this file is not present in j2ee/oc4j_soa/applications/orabpel/console/WEB-INF/
    I checked deployments in weblogic admin console and seems BPELConsole is deployed as a module under BPELPM ear.
    Any idea?
    Thanks.

  • How to deploy Servlet Application in Weblogic 8.1

    Hi,
    I am new to BEA Weblogic 8.1 .
    I was trying to create a sample application using InelliJ IDea 5.1 , and IntelliJIdea 10.5 . i configured weblogic with IDE , but now i do not know how to deploy my application in weblogic .
    I am new in IntelliJ also .
    So Can anyone tell me how can i deploy a servlet application in any IDE like i also have eclipse indigo.
    Thanks & Regards
    Komi

    Hi Komi
    Basically you deploy your Servlet as a WAR File. I am not familiar with IntellJ IDE. But it should have a provision to export/create a WAR file that has your Servlet. Also I hope you already have web.xml file with 2 sections like this: First you mention full package of your servlet and give it a name. Then enter a mapping url. You will use this url to run your servlet like http://weblogichost:weblogicport/yourWebappcontextroot/myservlet
    <servlet>
         <servlet-name>MyServlet</servlet-name>
         <servlet-class>com.abd.def.MyServlet</servlet-class>
    </servlet>
    <servlet-mapping>
         <servlet-name>MyServlet</servlet-name>
         <url-pattern>/myservlet</url-pattern>
    </servlet-mapping>
    Coming to deployment, I hope you already created a Weblogic Domain and have admin username/password. Start your domain. Login into weblogic console like http://host:port/console and use admin username/password. Then from Deployments section, deploy the above WAR file. In Weblogic you can deploy JAR (EJBs, java files), WAR (web jsp, html, webservices, servlets) or EAR (JAR + WAR). In your case its just a WAR file.
    Refer the online docs for more details on Deployments in Weblogic.
    http://docs.oracle.com/cd/E13196_01/platform/docs81/deploy/deploy.html
    Thanks
    Ravi Jegga

  • JSP Subclassing in weblogic.properties

    Hi,
              I'd like to have my JSP classfiles subclass one of our servlet classes,
              rather than the default. I'm able to do this at the command-line, by using a
              command like:
              java weblogic.jspc -keepgenerated -d /home/gkushida/weblogic/jsp -package
              com.kiko.jsp -superclass com.kiko.servlet.CustomJSP test.jsp
              This works fine, but I have two additional questions:
              1. I noticed that I have to provide an abstract _jspService() method in my
              CustomJSP servlet class, and then call it from within my doGet/doPost
              service methods manually. Is this the right thing to do?
              2. I'd like to do this automatically in my weblogic.properties file, where
              the JSPServlet is registered for *.jsp. I can't find any reference to a
              'superclass' initArg for the JSPServlet - is this functionality only
              available from the command-line compiler?
              We are running WebLogic 5.1.0, Service Pack 6 on Sun Solaris 2.7, JDK 1.3.
              Gene Chuang
              Join Kiko.com!
              

    See JSP 1.1 spec 3.2.4 for the contract of JSP page superclass.
              Gene Chuang <[email protected]> wrote:
              > Hi,
              > I'd like to have my JSP classfiles subclass one of our servlet classes,
              > rather than the default. I'm able to do this at the command-line, by using a
              > command like:
              > java weblogic.jspc -keepgenerated -d /home/gkushida/weblogic/jsp -package
              > com.kiko.jsp -superclass com.kiko.servlet.CustomJSP test.jsp
              > This works fine, but I have two additional questions:
              > 1. I noticed that I have to provide an abstract _jspService() method in my
              > CustomJSP servlet class, and then call it from within my doGet/doPost
              > service methods manually. Is this the right thing to do?
              > 2. I'd like to do this automatically in my weblogic.properties file, where
              > the JSPServlet is registered for *.jsp. I can't find any reference to a
              > 'superclass' initArg for the JSPServlet - is this functionality only
              > available from the command-line compiler?
              > We are running WebLogic 5.1.0, Service Pack 6 on Sun Solaris 2.7, JDK 1.3.
              > Gene Chuang
              > Join Kiko.com!
              Dimitri
              http://dima.dhs.org
              

  • Jdeveloper 11g and Integrated Weblogic Sever 10.3

    Hi everyone,
    i install jdeveloper 11g and integrated weblogic server 10.3 but when i create a simple ADF web application in ONE simple HELLO WORLD JSF page and i run this page give me this error:
    <Feb 24, 2009 6:50:52 PM WET> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1235501448994' for task '0'. Error is: 'weblogic.application.ModuleException: Failed to load webapp: 'APP_TesteWLS-ViewController-context-root''
    weblogic.application.ModuleException: Failed to load webapp: 'APP_TesteWLS-ViewController-context-root'
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:387)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
         Truncated. see log file for complete stacktrace
    java.lang.ClassNotFoundException: javax.faces.webapp.FacesServlet
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:283)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:256)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         Truncated. see log file for complete stacktrace
    >
    <Feb 24, 2009 6:50:52 PM WET> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'APP_TesteWLS'.>
    <Feb 24, 2009 6:50:52 PM WET> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.application.ModuleException: Failed to load webapp: 'APP_TesteWLS-ViewController-context-root'
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:387)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
         Truncated. see log file for complete stacktrace
    java.lang.ClassNotFoundException: javax.faces.webapp.FacesServlet
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:283)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:256)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         Truncated. see log file for complete stacktrace
    >
    [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application APP_TesteWLS on DefaultServer.: Failed to load webapp: 'APP_TesteWLS-ViewController-context-root'.
    weblogic.application.ModuleException: Failed to load webapp: 'APP_TesteWLS-ViewController-context-root'
    #### Deployment incomplete. #### Feb 24, 2009 6:50:52 PM
    oracle.jdeveloper.deploy.DeployException
         at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.doDeploymentAction(Jsr88RemoteDeployer.java:247)
         at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.deployImpl(Jsr88RemoteDeployer.java:157)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdeveloper.deploy.common.BatchDeployer.deployImpl(BatchDeployer.java:82)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdevimpl.deploy.fwk.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:436)
         at oracle.jdeveloper.deploy.DeploymentManager.deploy(DeploymentManager.java:209)
         at oracle.jdevimpl.runner.adrs.AdrsStarter$5$1.run(AdrsStarter.java:1365)
    Caused by: oracle.jdeveloper.deploy.DeployException
         at oracle.jdevimpl.deploy.common.Jsr88DeploymentHelper.redeployApplications(Jsr88DeploymentHelper.java:561)
         at oracle.jdevimpl.deploy.weblogic.common.Jsr88WeblogicDeploymentHelper.redeployApplications(Jsr88WeblogicDeploymentHelper.java:259)
         at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.doDeploymentAction(Jsr88RemoteDeployer.java:222)
         ... 11 more
    Caused by: oracle.jdeveloper.deploy.DeployException: Deployment Failed
         at oracle.jdevimpl.deploy.common.Jsr88DeploymentHelper.redeployApplications(Jsr88DeploymentHelper.java:542)
         ... 13 more
    #### Cannot run application APP_TesteWLS due to error deploying to DefaultServer.
    [Application APP_TesteWLS stopped and undeployed from Server Instance DefaultServer]
    i read the Oracle JDeveloper 11g Installation Guide and in "11 Using WebLogic Server with Oracle JDeveloper"
    "Installing Oracle JDeveloper Studio 11g Release 1 (11.1.1) also automatically installs Oracle WebLogic Server 10g Release 3 (10.3). Oracle JDeveloper uses this preconfigured installation as the Integrated WLS, a Oracle JDeveloper-managed server for testing and debugging your applications from within the IDE. *After installing Oracle JDeveloper, everything you need to begin developing, testing and debugging web applications is installed and configured for you; no additional configuration steps are necessary for development purposes.*"
    my environment is:
    OS -> fedora 10
    Ram -> 4gb
    i need help .... thanks ...
    best regards
    Edited by: Vale Teixeira Miguel on Feb 24, 2009 6:55 PM

    hi Olaf, thanks for your help
    yes i do the same
    i confirmed all steps and i do correct ...
    i change the JDK 1.6.0_11 to JDK 1.6.0_12
    i change the JDK settings in $JDEV_HOME/wlsserver_10.3/.product.properties to JDK 1.6.0_12
    i change the JDK settings in $JDEV_HOME/bin/jdev.conf to JDK 1.6.0_12
    when i run the application give me this error
    <Feb 25, 2009 5:09:42 PM WET> <Error> <Deployer> <BEA-149231> <Unable to set the activation state to true for the application 'Web_Teste1'.
    weblogic.application.ModuleException:
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1373)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:468)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
         Truncated. see log file for complete stacktrace
    java.lang.UnsatisfiedLinkError: /opt/app/oracle/jdev/jdk160_05/jre/lib/i386/xawt/libmawt.so: libXext.so.6: cannot open shared object file: No such file or directory
         at java.lang.ClassLoader$NativeLibrary.load(Native Method)
         at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
         at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1647)
         at java.lang.Runtime.load0(Runtime.java:770)
         at java.lang.System.load(System.java:1005)
         Truncated. see log file for complete stacktrace
    Feb 25, 2009 5:09:42 PM oracle.adf.share.config.ADFConfigFactory cleanUpApplicationState
    INFO: Cleaning up application state
    <Feb 25, 2009 5:09:42 PM WET> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>
    <Feb 25, 2009 5:09:42 PM WET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
    <Feb 25, 2009 5:09:42 PM WET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
    <Feb 25, 2009 5:09:42 PM WET> <Warning> <Server> <BEA-002611> <Hostname "prtt01", maps to multiple IP addresses: 192.168.75.84, 127.0.0.1>
    <Feb 25, 2009 5:09:42 PM WET> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on 127.0.0.1:7101 for protocols iiop, t3, ldap, snmp, http.>
    <Feb 25, 2009 5:09:42 PM WET> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 192.168.75.84:7101 for protocols iiop, t3, ldap, snmp, http.>
    <Feb 25, 2009 5:09:42 PM WET> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "DefaultServer" for domain "DefaultDomain" running in Development Mode>
    <Feb 25, 2009 5:09:42 PM WET> <Warning> <Server> <BEA-002611> <Hostname "192.168.75.84", maps to multiple IP addresses: 192.168.75.84, 127.0.0.1>
    <Feb 25, 2009 5:09:42 PM WET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
    <Feb 25, 2009 5:09:42 PM WET> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
    DefaultServer startup time: 20996 ms.
    DefaultServer started.
    [Running application Web_Teste1 on Server Instance DefaultServer...]
    ---- Deployment started. ---- Feb 25, 2009 5:09:46 PM
    Target platform is (Weblogic 10.3).
    Running dependency analysis...
    2009-02-25 17:09:47.026: Writing WAR file to /home/mvt/.jdeveloper/system11.1.1.0.31.51.88/o.j2ee/drs/Web_Teste1/Web_Teste1-ViewController-webapp
    2009-02-25 17:09:47.04: Wrote WAR file to /home/mvt/.jdeveloper/system11.1.1.0.31.51.88/o.j2ee/drs/Web_Teste1/Web_Teste1-ViewController-webapp
    2009-02-25 17:09:47.194: Writing EAR file to /home/mvt/.jdeveloper/system11.1.1.0.31.51.88/o.j2ee/drs/Web_Teste1
    2009-02-25 17:09:47.213: Wrote EAR file to /home/mvt/.jdeveloper/system11.1.1.0.31.51.88/o.j2ee/drs/Web_Teste1
    Redeploying Application...
    <Feb 25, 2009 5:09:49 PM WET> <Warning> <J2EE> <BEA-160195> <The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application Web_Teste1 is not versioned.>
    Feb 25, 2009 5:09:49 PM oracle.adf.share.config.ADFConfigFactory cleanUpApplicationState
    INFO: Cleaning up application state
    <Feb 25, 2009 5:09:55 PM WET> <Warning> <HTTP> <BEA-101162> <User defined listener com.sun.faces.config.ConfigureListener failed: java.lang.NoClassDefFoundError: Could not initialize class sun.beans.editors.ColorEditor.
    java.lang.NoClassDefFoundError: Could not initialize class sun.beans.editors.ColorEditor
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
         at java.lang.Class.newInstance0(Class.java:355)
         Truncated. see log file for complete stacktrace
    >
    Feb 25, 2009 5:09:55 PM oracle.adf.share.config.ADFConfigFactory cleanUpApplicationState
    INFO: Cleaning up application state
    <Feb 25, 2009 5:09:55 PM WET> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1235581788818' for task '0'. Error is: 'weblogic.application.ModuleException: '
    weblogic.application.ModuleException:
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1373)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:468)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
         Truncated. see log file for complete stacktrace
    java.lang.NoClassDefFoundError: Could not initialize class sun.beans.editors.ColorEditor
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
         at java.lang.Class.newInstance0(Class.java:355)
         Truncated. see log file for complete stacktrace
    >
    <Feb 25, 2009 5:09:55 PM WET> <Error> <Deployer> <BEA-149202> <Encountered an exception while attempting to commit the 1 task for the application 'Web_Teste1'.>
    <Feb 25, 2009 5:09:55 PM WET> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'Web_Teste1'.>
    <Feb 25, 2009 5:09:55 PM WET> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.application.ModuleException:
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1373)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:468)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
         Truncated. see log file for complete stacktrace
    java.lang.NoClassDefFoundError: Could not initialize class sun.beans.editors.ColorEditor
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
         at java.lang.Class.newInstance0(Class.java:355)
         Truncated. see log file for complete stacktrace
    >
    [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application Web_Teste1 on DefaultServer.: .
    weblogic.application.ModuleException:
    #### Deployment incomplete. #### Feb 25, 2009 5:09:55 PM
    oracle.jdeveloper.deploy.DeployException
         at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.doDeploymentAction(Jsr88RemoteDeployer.java:247)
         at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.deployImpl(Jsr88RemoteDeployer.java:157)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdeveloper.deploy.common.BatchDeployer.deployImpl(BatchDeployer.java:82)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdevimpl.deploy.fwk.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:436)
         at oracle.jdeveloper.deploy.DeploymentManager.deploy(DeploymentManager.java:209)
         at oracle.jdevimpl.runner.adrs.AdrsStarter$5$1.run(AdrsStarter.java:1365)
    Caused by: oracle.jdeveloper.deploy.DeployException
         at oracle.jdevimpl.deploy.common.Jsr88DeploymentHelper.redeployApplications(Jsr88DeploymentHelper.java:561)
         at oracle.jdevimpl.deploy.weblogic.common.Jsr88WeblogicDeploymentHelper.redeployApplications(Jsr88WeblogicDeploymentHelper.java:259)
         at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.doDeploymentAction(Jsr88RemoteDeployer.java:222)
         ... 11 more
    Caused by: oracle.jdeveloper.deploy.DeployException: Deployment Failed
         at oracle.jdevimpl.deploy.common.Jsr88DeploymentHelper.redeployApplications(Jsr88DeploymentHelper.java:542)
         ... 13 more
    #### Cannot run application Web_Teste1 due to error deploying to DefaultServer.
    [Application Web_Teste1 stopped and undeployed from Server Instance DefaultServer]
    i not understand why my fedora 10 give me this error ...

  • Confused about the role of ejbc in Weblogic 7

    Howdy All
    Here is my understanding of the role of ejbc in Weblogic 7:
    * Let's assume I have a JAR containing an EJB (let's say a stateless session bean).
    Let's call this the no-ejbc-JAR.
    1. I run the no-ejbc-JAR through ejbc to create the container-ejbc-JAR which can
    now be deployed in Weblogic.
    2. I can run ejbc against the no-ejbc-JAR to create a client-ejbc-JAR for use
    by clients wishing to access and use the EJB.
    Questions...
    MUST I run the no-ejbc-JAR through ejbc (to create the container-ejbc-JAR) before
    it can be deployed in Weblogic 7?
    If so, why?
    I can sort of see why this may be necessary from the containers perspective, although
    I would have thought the ejbc process could have been automatically applied by
    Weblogic to no-ejbc-JARs being deployed.
    But I am confused as to why ejbc would need to be used to create a client-ejbc-JAR.
    From the client's perspective, isn't it simply enough to have the no-ejbc-JAR
    (or a subset of the no-ejb-JAR) containing the EJB home and remote interfaces
    (along with any non-ejbc generated support classes)? For use by the client, why
    would it be necessary to run the no-ejbc-JAR through ejbc to create a client-ejbc-JAR?
    Or do I have an incorrect understanding of the role of ejbc?
    Thanks,
    Rob

    Hello Rob,
    I will try to clarify a couple of your concerns. First of all, if your EJB jar
    contains CMP 2.0 entity beans, the underlying JDBC implementations must be generated
    for your respective abstract classes of the entity beans. EJBC will generate this
    for you automatically. Also, the EJBC utility generates all of the other necessary
    server classes that WebLogic requires for deploying your EJBs (such as custom
    code for handling transactions, security, and other EJB services). When your EJB
    utilizes remote home/component interfaces, the utility will also generate all
    of the necessary client-side proxy and server-side byte code by running the RMI
    compiler on your EJBs. In addition to the above code generation that takes place,
    EJBC also checks all of your EJBs and makes sure that they are written according
    to the EJB specification. This way you will always be sure that your EJBs will
    be deployable on BEA WebLogic if EJBC returns with no error messages. You also
    asked if EJBC must be run manually before deploying the EJBs. If you run your
    application in exploded directory format, WebLogic will automatically invoke the
    EJBC utility prior to deploying your EJBs. Please refer to the links below for
    more information about the EJBC utility as well as deploying your application
    in exploded directory format:
    http://edocs.bea.com/wls/docs70/ejb/EJB_utilities.html#1075296
    http://edocs.bea.com/wls/docs70/programming/deploying.html#1125152
    Also, feel free to examine the code that EJBC generates to gain a better feel
    for what's happening behind the scenes. Also, please be aware that ejbc has been
    deprecated in WebLogic 8.1, in favor of the appc utility:
    http://edocs.bea.com/wls/docs81/ejb/EJB_tools.html#1096936
    Best regards,
    Ryan LeCompte
    [email protected]
    http://www.louisiana.edu/~rml7669
    "Rob Young" <[email protected]> wrote:
    >
    Howdy All
    Here is my understanding of the role of ejbc in Weblogic 7:
    * Let's assume I have a JAR containing an EJB (let's say a stateless
    session bean).
    Let's call this the no-ejbc-JAR.
    1. I run the no-ejbc-JAR through ejbc to create the container-ejbc-JAR
    which can
    now be deployed in Weblogic.
    2. I can run ejbc against the no-ejbc-JAR to create a client-ejbc-JAR
    for use
    by clients wishing to access and use the EJB.
    Questions...
    MUST I run the no-ejbc-JAR through ejbc (to create the container-ejbc-JAR)
    before
    it can be deployed in Weblogic 7?
    If so, why?
    I can sort of see why this may be necessary from the containers perspective,
    although
    I would have thought the ejbc process could have been automatically applied
    by
    Weblogic to no-ejbc-JARs being deployed.
    But I am confused as to why ejbc would need to be used to create a client-ejbc-JAR.
    From the client's perspective, isn't it simply enough to have the no-ejbc-JAR
    (or a subset of the no-ejb-JAR) containing the EJB home and remote interfaces
    (along with any non-ejbc generated support classes)? For use by the client,
    why
    would it be necessary to run the no-ejbc-JAR through ejbc to create a
    client-ejbc-JAR?
    Or do I have an incorrect understanding of the role of ejbc?
    Thanks,
    Rob

  • Automatic copying of class file problem

    I am using Weblogic 4.5.1 server on NT.
              I have a JSP "main.jsp" in which I am importing a user defined class
              "com.vt.Attribute".
              The Jsp is getting compiled into a servlet in
              "weblogic\myserver\classfiles\jsp_servlet\_jsp" directory. Also the file
              "Attribute.class" is getting placed automatically in directory
              "weblogic\myserver\classfiles\com\vt". Because of this, I am getting a
              ClassCastException, since the serial ids of the two class files will be
              different.
              How can I prevent the automatic copying of the "Attribute.class" into
              "weblogic\myserver\classfiles\com\vt" directory.
              Regards.
              

    Remove the package statement in your source code.
              I think this could be the cause.
              Chandra
              "Raghav" <[email protected]> wrote in message
              news:[email protected]..
              > I am using Weblogic 4.5.1 server on NT.
              > I have a JSP "main.jsp" in which I am importing a user defined class
              > "com.vt.Attribute".
              >
              > The Jsp is getting compiled into a servlet in
              > "weblogic\myserver\classfiles\jsp_servlet\_jsp" directory. Also the file
              > "Attribute.class" is getting placed automatically in directory
              > "weblogic\myserver\classfiles\com\vt". Because of this, I am getting a
              > ClassCastException, since the serial ids of the two class files will be
              > different.
              >
              > How can I prevent the automatic copying of the "Attribute.class" into
              > "weblogic\myserver\classfiles\com\vt" directory.
              >
              > Regards.
              >
              >
              

  • GuestDisabled property = false... Weblogic 6.1 sp1 Windows 2000

    GuestDisabled property = false... Weblogic 6.1 sp1 Windows 2000.
    But I still can connect without principal and credentials (as guest :) ) to
    Weblogic. Could someone check if it is true or not?
    Thanks in advance,
    Anton

    Says the official doc (the last sentence will answer your question).
    The guest User is automatically provided by WebLogic Server. When
    authorization is not required, WebLogic Server assigns the guest identity to
    a client, thus giving the client access to any resources that are available
    to the guest user. A client can log in as the guest User by entering guest
    as the username and guest as the password when prompted by a Web browser or
    by supplying the guest username and password in a Java client. By default,
    the guest account is enabled.
    For a more secure deployment, BEA recommends running WebLogic Server with
    the guest account disabled. To disable the guest account, select the Guest
    Disabled attribute on the General tab of the Security Configuration window.
    Disabling the guest account just disables the ability to log in into the
    account guest; it does not disable the ability for unauthenticated users to
    access a WebLogic Server deployment.
    http://e-docs.bea.com/wls/docs61//////adminguide/cnfgsec.html
    Weird, I agree.
    "Anton Chistiakov" <[email protected]> wrote in message
    news:[email protected]..
    GuestDisabled property = false... Weblogic 6.1 sp1 Windows 2000.
    But I still can connect without principal and credentials (as guest :) )to
    Weblogic. Could someone check if it is true or not?
    Thanks in advance,
    Anton

  • Weblogic 7.0 Cluster Script Request

    Hi;
              We are trying to boot two Win2K Servers which will then automatically start a Weblogic Cluster called MyCluster. We are able to boot server A with Admin Srv and Node manager supporting two JVM Nodes (Node1 and Node2) and Server B with only Node manager starting two JVM nodes (Node3 and Node4). We can manually start the cluster with all 4 nodes within the console but are unable to start the nodes automatically using scripting. The nodes start up using StartManagedServer, but are not seen in the console as being part of the cluster. Please advise.
              

              Can you post here your config.xml?
              

Maybe you are looking for

  • New Hard Drive and Iphone Backups

    Hi I am migrating to Windows 7 from Windows XP next week and I have purchased a new hard drive to install the new OS. My Itunes and Iphone backups are on the old windows XP hard drive which I want to wipe clean for future storage. How can I move to W

  • GenIL Model Attribute Structure not getting updated with new fields added

    Hi All, I have modelled the service interface using GenIL Modelling in Duet Enterprise 1.0. Later, I added some fields to the read operation in the Enterprise Services Builder in the ESR system. But in the Read Operation mapper method "/IWFND/IF_SRD_

  • How to merge two partitions on lion

    Hello everyone. I have a big problem... I want to merge two partitions... (I know, disk utility...). In fact, I can't merge a partion which looks locked, with my lion partition via disk utility. On this locked partition I had my old snow leopard OS s

  • Trace Files 11g (Space Issue)

    friends, we are running 11g (11.1.0.7.0) database in our environment. Currently our OS slice is facing space related issues due to huge number of trace files generation. Please share any helpful note/idea. Regards, Irfan Ahmad

  • Keeps waking up!!

    Despite putting my iMac to Sleep manually after about 30 seconds the iMac wakes up! There are no applications running in the background or anything else so I don't understand what's waking the machine up. Any suggestions to keep "her" asleep would be