WebLogic Server 11 and JAXB

Hi to all.
This is my first post on this forum. I've a problem parsing an xml document with JAXB. I've realized a web application that runs on WebLogic Server 11g.
This piece of code works fine in a standalone application and doesn't work in this one. A null pointer exception is thrown when I try to read iV.getVoucherBasiscCode. Have you got a solution for me. Some suggestion???
JAXBContext jc;
try {
jc = JAXBContext.newInstance("test.Bean");
Unmarshaller u = jc.createUnmarshaller();
JAXBElement<PropagateVoucher> j =
(JAXBElement<PropagateVoucher>)u.unmarshal(new FileInputStream("C:\\WebLogicLogs\\POL\\Voucher3.xml"));
PropagateVoucher ds = j.getValue();
VoucherIss vI = ds.getVoucherIss();
System.out.println(vI.getVoucherBasisCode());
System.out.println(vI.getVoucherIssuanceInfo().getInventorySegmentKey());
} catch (JAXBException e) {
e.printStackTrace();
} catch (FileNotFoundException e) {
e.printStackTrace();
Thanks a lot.
Edited by: 897151 on 14-nov-2011 8.56

I start the weblogic server and finally it shows the following message, and I am sending you last three lines:
<Dec 10, 2011 9:08:07 AM AST> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "AdminServer" for domain "wls_domain" running in Development Mode>
<Dec 10, 2011 9:08:07 AM AST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
<Dec 10, 2011 9:08:07 AM AST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
Now, tell me iis everything ok?
If ok then why the http://fmw11g:7001/ is not working.
Regards,
Waqas Hassan

Similar Messages

  • How can I tell my current Weblogic server version and Service pack

    Hello,
    I was wondering how can I tell what my current
    weblogic server version is and what service pack
    it is at.
    Thanks.

    use 'java weblogic.version'
    ensure weblogic.jar is in the classpath

  • Weblog server licensing and 11.2 grid oms psu ?

    Hello all,
    I had couple of questions( i have already tried searching in the oracle docs and metalink notes, but could not find anything on it). First thing, looks like oracle 11g OEM Grid requires a Weblogic server. Which is fine, But wanted to know do we need to pay extra for this or is it part of oracle 11g OEM Grid diagnostic pack licensing?? If so, i was looking for a official answer (metalink doc or oracle doc)
    Also another thing that I was curious was OMS? Is OMS only at 11.1.0.1.0 version or can this be upgraded to oracle 11gR2? As from below link, i only see 11.1.0.1.0 software.
    http://www.oracle.com/technetwork/oem/grid-control/downloads/index.html
    The thing that confused me was this link below. As in the below doc, it says to apply patch 10270073 to OMS home(psu patch). So i was wondering, after PSU patch is applied. Is the OMS going to be at 11.2.0.2.1 ??
    http://camoraict.files.wordpress.com/2011/02/install-oracle-enterprise-manager-11gr1-on-oracle-vm2.pdf
    Patch 10270073
    11.2.0.2.1 Patch Set Update

    Enterprise Manager Restricted-use License
    •Enterprise Manager includes a restricted-use license of the Oracle Database for use as the Oracle Management Repository only.
    Additional database options or additional servers for disaster recovery require separate licensing. Customers receive one single-instance database with the Grid Control, or RMAN, repository. To protect the repository with Data Guard, customers need to purchase a license for the standby site. To protect the repository with Oracle Real Application Clusters, customers must license the second node for the database, and both nodes require an Oracle Real Application Clusters license.
    •Use of Oracle WebLogic Server with Oracle Enterprise Manager is restricted to the servlet functionality without clustering for the Oracle Management Server (OMS).
    CHECK http://download.oracle.com/docs/cd/E11857_01/license.111/e11987/overview.htm#sthref10
    Regards
    Rob

  • Weblogic  server10.3.3 (Oracle Weblogic Server 11gR1) and sql server 2008db

    Is SQL Server 2008 db supported for use with weblogic server 10.3.3
    we use connection pools and XA and weblogic bundled drivers
    we are planning an upgrade from 9.2mp3 to 10.3.3 weblogic server
    http://download.oracle.com/docs/cd/E13196_01/platform/suppconfigs/configs103/103_over/supported_db.html#1179245
    seems to indicate that only sqlserver 2005 is supported
    Is there a more current version of the suported configurations that I am missing ?
    Appreciate any feedback on this
    Thanks
    Best
    Yeshwant

    contact support for official policy. Technically, the drivers do support the DBMS version.
    If you use any higher API than JDBC, there might be a question as to whether a
    particulare API was certified with the latter DBMS version, but unless the DBMS
    changed so it behaved differently than the previous for the same activity, then
    there should be no problem....

  • What is the difference between WebLogic Server users and Portal users

    Hi All
    What is the difference between users created in the WebLogic server and those
    created from the webLogic Portal Admin console.
    - leo

    Hi Leo,
    The WebLogic server console allows you to create users in the File realm (
    http://e-docs.bea.com/wls/docs61/adminguide/cnfgsec.html#1057106 , "Defining
    Users" ).
    The WebLogic Portal Admin console creates Portal users in the alternate security
    realm that was written to store user/password in the Portal schema. This realm is
    com.bea.p13n.security.realm.RDBMSRealm. See the javadoc for RDBMSRealm at (
    http://edocs.bea.com/wlp/docs40/javadoc/wlp/com/bea/p13n/security/realm/RDBMSRealm.html
    For information on alternate security realms see
    http://e-docs.bea.com/wls/docs61/security/prog.html#1041025 , "Writing a Custom
    Security Realm".
    For information on the File realm see
    http://e-docs.bea.com/wls/docs61/ConsoleHelp/security.html , "Security" and also
    search the WLS 6.1 docs for "File realm" for lots of other references.
    Leo wrote:
    Hi All
    What is the difference between users created in the WebLogic server and those
    created from the webLogic Portal Admin console.
    - leo--
    Ture Hoefner
    BEA Systems, Inc.
    2590 Pearl St.
    Suite 110
    Boulder, CO 80302
    www.bea.com

  • WebLogic Server Tuning and Performance

    We are having a very strange problem. We have a domain called "ABC". Under that domain, we have three sites (applications) "x", "y" and "z".
    "x" take about 80-85% of load while other two shares remaining 15% of the load.
    When we have high traffic, "x" stops responding with thread stuck error and other two sites are still functional.
    Any suggestion to tune? Here is thread dump.
    Heap
    PSYoungGen total 85056K, used 14066K [0x71800000, 0x77000000, 0x7c400000)
    eden space 80320K, 15% used [0x71800000,0x7241fb90,0x76670000)
    from space 4736K, 34% used [0x76670000,0x7680cdb0,0x76b10000)
    to space 4480K, 0% used [0x76ba0000,0x76ba0000,0x77000000)
    PSOldGen total 176128K, used 55761K [0x5c000000, 0x66c00000, 0x71800000)
    object space 176128K, 31% used [0x5c000000,0x5f674520,0x66c00000)
    PSPermGen total 102400K, used 100797K [0x54000000, 0x5a400000, 0x5c000000)
    object space 102400K, 98% used [0x54000000,0x5a26f400,0x5a400000)
    Thanks.

    In weblogic.xml specify 'precompile' parameter.
              <jsp-descriptor>
              <jsp-param>
              <param-name>
              precompile
              </param-name>
              <param-value>
              true
              </param-value>
              </jsp-param>
              </jsp-descriptor>
              Christopher wrote:
              > I have followed the instructions to mark the Precompile setting in the WebLogic
              > Server Console via the document, "Tuning JSP Performance" and after restarting
              > the server as required by the instructions I have noticed that the setting for
              > the precompile JSPs option is no longer checked. Does anyone know what I need
              > to do in order to keep the Precompile setting?
              

  • How to change WebLogic Server username and password ?

    Hi,
    As per this url Modify users . It says In the left pane, select Security Realms. But I did not find the SECURITY REALMS, I mean where is it located ?. Besides The following page http://192.168.100.11:7001/index.jsp also get open. Also the WEBLOGIC server login page opens as well here is the url  http://192.168.100.11:7001/console/login/LoginForm.jsp
    but when I type the given password it does not login.   It gives the following messages
    Authentication Denied
    The username or password has been refused by WebLogic Server. Please try again.
    Please help

    It says following even after giving the correct one. In the left pane, select Security Realms. Where is Security Realms is located ? How to get there ? so that i can change the password again as mention in this url Modify users
    Authentication Denied
    The username or password has been refused by WebLogic Server. Please try again.

  • View weblogic server logs and application logs

    Hi All,
    Is there any way to view log files of Weblogic Admin Server, managed server and application logs through OEM console. ( In text editor-- full file / tail -f output)..
    Thanks | Kranthi

    Thanks Rob.
    Even from Weblogic Admin console we cannot view complete log file only some components are shown.
    Just thinking will it be a good idea to execute shell script to view log file from Target-Execute Host Command.
    -Kranthi
    Edited by: 832458 on Feb 9, 2011 5:31 PM

  • WebLogic Server crash and Stack Trace Log

    Hello? ^-^
    Current system details:
    SEQUENT Dynix/ptx v 4.4.7
    Classic VM (1.2.1, green threads)
    WebLogic 5.1
    Apache 1.3.20
    Current System crashes down too often and web service can not be available.
    Heres a stack trace of the process when it has locked up.
    The entire stack trace log file is...
    http://members.tripod.lycos.co.kr/bach1685/dump.txt
    Could it be possible to think this is the problem between JVM and OS library?
    If this is a problem of OS, I think that Just changing OS could solve the problem.
    How would I go about trying to figure out just where the problem is?
    Thanks for readming my broken English...^^

    Make sure you have a supported platform -
    http://www.weblogic.com/platforms/index.html
    For JDK 1.2.1 - pay attention to what the platform page says about setting JVMARGS.
    Mike
    Kim, Jihun <[email protected]> wrote:
    Hello? ^-^
    Current system details:
    SEQUENT Dynix/ptx v 4.4.7
    Classic VM (1.2.1, green threads)
    WebLogic 5.1
    Apache 1.3.20
    Current System crashes down too often and web service can not be available.
    Heres a stack trace of the process when it has locked up.
    The entire stack trace log file is...
    http://members.tripod.lycos.co.kr/bach1685/dump.txt
    Could it be possible to think this is the problem between JVM and OS
    library?
    If this is a problem of OS, I think that Just changing OS could solve
    the problem.
    How would I go about trying to figure out just where the problem is?
    Thanks for readming my broken English...^^

  • JoltConnectionPool can not start in weblogic server

    Hi
    I am trying to run the sample Tuxedo provided application which uses Servlets or Ejb.
    Now the Tuxedo Server has been configured and running properly.
    I have WebLogic Server installed and had created the JoltSessionPool with name "MAJoltConnectionPool" and had also defined the StartupClass & ShutdonClass.
    While defining the JoltSessionPool i had given min services as 1 and max services as 5 and others as default,
    and the JoltSessionPool's target is a weblogic managed server which named ct2.
    Then i tryed to start the ct2 server on command line such as:
    startManagedWebLogic.cmd ct2 http://localhost:7001
    I got an error in starting "MAJoltConnectionPool" but the server ct2 is starting normally.
    Anyone who can help me to find out the reason? Thanks a lot.
    The Command Line window shown following in the Log:
    Failed to invoke startup class "MAJoltPoolStart", java.lang.Exception: Errors in starting the following connection pools :
    com.bea:Name=MAJoltConnectionPool,Type=JoltConnectionPool :
    Access to sensitive attribute in clear text is not allowed due to the setting of ClearTextCredentialAccessEnabled attribute in SecurityConfigurationMBean. Attr: UserPassword, MBean name: com.bea:Name=MAJoltConnectionPool,Type=JoltConnectionPool
    The Entire Trace from the Log file is:
    ####<Mar 16, 2011 11:58:35 AM CST> <Notice> <Log Management> <HXU49> <ct2> <[STANDBY] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1300247915024> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>
    ####<Mar 16, 2011 11:58:35 AM CST> <Info> <Diagnostics> <HXU49> <ct2> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1300247915070> <BEA-320077> <Initialized the Diagnostic Accessor Service.>
    ####<Mar 16, 2011 11:58:35 AM CST> <Info> <WebLogicServer> <HXU49> <ct2> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1300247915078> <BEA-000256> <Invoking bea.jolt.pool.servlet.weblogic.PoolManagerStartUp.main(null)>
    ####<Mar 16, 2011 11:58:35 AM CST> <Critical> <WebLogicServer> <HXU49> <ct2> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1300247915239> <BEA-000286> <Failed to invoke startup class "MAJoltPoolStart", java.lang.Exception: Errors in starting the following connection pools :
    com.bea:Name=MAJoltConnectionPool,Type=JoltConnectionPool : Access to sensitive attribute in clear text is not allowed due to the setting of ClearTextCredentialAccessEnabled attribute in SecurityConfigurationMBean. Attr: UserPassword, MBean name: com.bea:Name=MAJoltConnectionPool,Type=JoltConnectionPool
    java.lang.Exception: Errors in starting the following connection pools :
    com.bea:Name=MAJoltConnectionPool,Type=JoltConnectionPool : Access to sensitive attribute in clear text is not allowed due to the setting of ClearTextCredentialAccessEnabled attribute in SecurityConfigurationMBean. Attr: UserPassword, MBean name: com.bea:Name=MAJoltConnectionPool,Type=JoltConnectionPool
         at bea.jolt.pool.servlet.weblogic.impl.PoolManagerStartUpJMX.startup(PoolManagerStartUpJMX.java:216)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at bea.jolt.pool.servlet.weblogic.PoolManagerStartUp.main(PoolManagerStartUp.java:38)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at weblogic.management.deploy.classdeployment.ClassDeploymentManager.invokeMain(ClassDeploymentManager.java:362)
         at weblogic.management.deploy.classdeployment.ClassDeploymentManager.invokeClass(ClassDeploymentManager.java:272)
         at weblogic.management.deploy.classdeployment.ClassDeploymentManager.access$000(ClassDeploymentManager.java:54)
         at weblogic.management.deploy.classdeployment.ClassDeploymentManager$1.run(ClassDeploymentManager.java:214)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.management.deploy.classdeployment.ClassDeploymentManager.invokeClassDeployment(ClassDeploymentManager.java:207)
         at weblogic.management.deploy.classdeployment.ClassDeploymentManager.invokeClassDeployments(ClassDeploymentManager.java:186)
         at weblogic.management.deploy.classdeployment.ClassDeploymentManager.runStartupsAfterAppAdminState(ClassDeploymentManager.java:162)
         at weblogic.management.deploy.classdeployment.StartupClassPrelistenService.start(StartupClassPrelistenService.java:13)
         at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    >
    ####<Mar 16, 2011 11:58:35 AM CST> <Notice> <WebLogicServer> <HXU49> <ct2> <main> <<WLS Kernel>> <> <> <1300247915288> <BEA-000365> <Server state changed to ADMIN>
    ####<Mar 16, 2011 11:58:35 AM CST> <Notice> <WebLogicServer> <HXU49> <ct2> <main> <<WLS Kernel>> <> <> <1300247915313> <BEA-000365> <Server state changed to RESUMING>
    ####<Mar 16, 2011 11:58:36 AM CST> <Notice> <WebLogicServer> <HXU49> <ct2> <main> <<WLS Kernel>> <> <> <1300247916769> <BEA-000365> <Server state changed to RUNNING>
    ####<Mar 16, 2011 11:58:36 AM CST> <Notice> <WebLogicServer> <HXU49> <ct2> <main> <<WLS Kernel>> <> <> <1300247916770> <BEA-000360> <Server started in RUNNING mode>
    With Regards
    Han

    Hi
    To resolve this problem , you have 2 solutions:
    - modify the config.xml file to add in the tag <security-configuration> the following line :
    <clear-text-credential-access-enabled>true</clear-text-credential-access-enabled>
    or
    - check the checkbox "Clear Text Credential Access Enabled" in the settings for the domain / security / general / advanced
    restart the weblogic server to activate this change if necessary (Normaly, no restarts are necessary with weblogic server v10.3.5.0)
    Hope this reponse help you (if it's not too late ;-) )
    Laurent.

  • How to access an External LDAP on a weblogic server using OPSS APIs.

    Hi,
    Can anyone let me know how I can access an External LDAP configured on a weblogic server using OPSS APIs( or alternative APIs).
    I'm currently using the below snippet and I'm getting only the Users and groups from the DefaultAutheticator on the weblogic server and not the external LDAP Server.
    I've verified the providers, users and groups on the weblogic server console and can see that external LDAP server content is being picked, but my below code does not query them.
    import oracle.security.idm.IMException;
    import oracle.security.idm.IdentityStore;
    import oracle.security.idm.Role;
    import oracle.security.jps.JpsContext;
    import oracle.security.jps.JpsContextFactory;
    import oracle.security.jps.JpsException;
    import oracle.security.jps.service.idstore.IdentityStoreService;
    List<Role> rowData = null;
    JpsContextFactory ctxf = JpsContextFactory.getContextFactory();
    JpsContext ctx = ctxf.getContext();
    IdentityStoreService storeService = ctx.getServiceInstance(IdentityStoreService.class);
    IdentityStore idStore = storeService.getIdmStore();
    rowData = this.getRoles(idStore, "*");
    Any help or pointers are highly appreciated.
    Thanks,
    Bhasker

    Can anyone please provide any suggestions. I trying to google around but still not able to find any solution.
    Thanks,
    Bhasker

  • Weblogic Server 10.3.3.0 fatal error

    Hi,
    I am installing weblogic server 10.3.3.0 on IBM AIX 6.1. After i except the default location (/u01/app/oracle/middleware/wlserver_10.3) for Weblogic Server and Oracle Coherence (/u01/app/oracle/middleware/wlserver_10.3) i get this error msg.
    *"A fatal error has occurred. This application will terminate."*
    It's a generic error msg and Metalink doesn't have any notes regarding this. Has anyone seen this issue before?
    Any help would be appreciated.
    Thanks.
    Shawn

    I get the same error msg when i try to install 10.3.2.0. I know that is clearly mentioned in the note for upgrading OEM GC 10g to 11g but i thought this version might have some bugs so i tried to install the most latest one.
    Unfortunately they don't have many notes on Weblogic Server installation and issues.

  • Issue in starting Integrated Weblogic server

    Hi All,
    I created an ADF project in Jdevloper and configured JSF page in my project. When i try to run the project , it tries to start Integrated Weblogic server. And Intgrated weblogic server is not starting throwing following Error Message :
    *** Using port 7101 ***
    C:\Users\249103\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\bin\startWebLogic.cmd
    +[waiting for the server to complete its initialization...]+
    The system cannot find the path specified.
    +.+
    +.+
    JAVA Memory arguments: -Xms256m -Xmx512m
    +.+
    WLS Start Mode=Development
    +.+
    CLASSPATH=D:\OracleOSB\Middleware\wlserver_10.3\server\ext\jdbc\oracle\11g\ojdbc6dms.jar;D:\OracleOSB\Middleware\oracle_common\modules\oracle.jrf_11.1.1\jrf.jar;D:\OracleOSB\Middleware\wlserver_10.3\server\lib\xqrl.jar
    +.+
    PATH=D:\OracleXE\app\oracle\product\10.2.0\server\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\
    +.+
    +*  To start WebLogic Server, use a username and   *+
    +*  password assigned to an admin-level user.  For *+
    +*  server administration, use the WebLogic Server *+
    +*  console at http:\\hostname:port\console        *+
    starting weblogic with Java version:
    java version "1.6.0_17"
    Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
    Oracle JRockit(R) (build R28.0.0-679-130297-1.6.0_17-20100312-2123-windows-ia32, compiled mode)
    Starting WLS with line:
    D:\Oracle\MIDDLE~1\JROCKI~1.0-6\bin\java    -Xms256m -Xmx512m -Dweblogic.Name=DefaultServer -Djava.security.policy=D:\OracleOSB\Middleware\wlserver_10.3\server\lib\weblogic.policy -Djavax.net.ssl.trustStore=C:\Oracle\Middleware\wlserver_10.3\server\lib\DemoTrust.jks -Dweblogic.nodemanager.ServiceEnabled=true   -da -Dplatform.home=D:\OracleOSB\Middleware\wlserver_10.3 -Dwls.home=D:\OracleOSB\Middleware\wlserver_10.3\server -Dweblogic.home=D:\OracleOSB\Middleware\wlserver_10.3\server  -Djps.app.credential.overwrite.allowed=true -Ddomain.home=C:\Users\249103\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1 -Dcommon.components.home=D:\OracleOSB\Middleware\oracle_common -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Djrockit.optfile=D:\OracleOSB\Middleware\oracle_common\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.domain.config.dir=C:\Users\249103\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1 -Doracle.server.config.dir=C:\Users\249103\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1\servers\DefaultServer -Doracle.security.jps.config=C:\Users\249103\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\fmwconfig\jps-config.xml -Djava.protocol.handler.pkgs=oracle.mds.net.protocol  -Digf.arisidbeans.carmlloc=C:\Users\249103\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1\carml  -Digf.arisidstack.home=C:\Users\249103\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1\arisidprovider -Dweblogic.alternateTypesDirectory=D:\OracleOSB\Middleware\oracle_common\modules\oracle.ossoiap_11.1.1,D:\OracleOSB\Middleware\oracle_common\modules\oracle.oamprovider_11.1.1  -Dweblogic.jdbc.remoteEnabled=false -Dwsm.repository.path=C:\Users\249103\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\oracle\store\gmds   -Dweblogic.management.discover=true  -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole=  weblogic.Server
    +[WARN ] Use of -Djrockit.optfile is deprecated and discouraged.+
    +[ERROR][cgdir  ] Could not read old style optfile from D:\OracleOSB\Middleware\oracle_common\modules\oracle.jrf_11.1.1\jrocket_optfile.txt: Could not open D:\OracleOSB\Middleware\oracle_common\modules\oracle.jrf_11.1.1\jrocket_optfile.txt+
    Exception in thread "Main Thread" java.lang.NoClassDefFoundError: weblogic/Server
    Caused by: java.lang.ClassNotFoundException: weblogic.Server
    +     at java.net.URLClassLoader$1.run(URLClassLoader.java:200)+
    +     at java.net.URLClassLoader.findClass(URLClassLoader.java:188)+
    +     at java.lang.ClassLoader.loadClass(ClassLoader.java:303)+
    +     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)+
    +     at java.lang.ClassLoader.loadClass(ClassLoader.java:248)+
    Could not find the main class: weblogic.Server.  Program will exit.
    Process exited.
    In the Message the CLASSPATH is D:\OracleOSB\Middleware\wlserver_10.3\server\ext\jdbc\oracle\11g\ojdbc6dms.jar;D:\OracleOSB\Middleware\oracle_common\modules\oracle.jrf_11.1.1\jrf.jar . But i dont have OracleOSB folder in my D:\ drive. I have installed Jdev in D:\Oracle\Middleware path. Can anyone suggest me how to change the CLASSPATH in my system?
    Any help appreciated.Thanks in advance.
    Thanks & Regards,
    Ayyadurai.M
    Edited by: 857005 on Feb 1, 2012 4:03 AM
    Edited by: 857005 on Feb 1, 2012 4:04 AM

    check these references
    http://docs.oracle.com/javase/1.3/docs/tooldocs/win32/classpath.html
    http://ac-support.europe.umuc.edu/~arnoldyl/NetBeansTutorials/Setting-Classpath.html
    hth,
    Peter Paul

  • Not able to start Integrated Weblogic server

    Hi All,
    I have installed Jdeveloper & Weblogic server in my system. I am able to deploy my SOA peojects in em console. But when i try to run a JSF project , it is throwing an error message like not able to start Integrated Weblogic Server. And Could not read old style optfile from D:\OracleOSB\Middleware\oracle_common\modules\oracle.jrf_11.1.1\jrocket_optfile.txt. I dont have my middleware in D:\OracleOSB\Middleware, But i have created the Middleware home in D:\Oracle\Middleware.
    I reinstalled SOA sutie, Jdeveloper & Weblogic server but stilll then i am getting the same error when i try to start Integrated Weblogic server. Please find below the error message:
    *** Using port 7101 ***
    C:\Users\249103\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\bin\startWebLogic.cmd
    [waiting for the server to complete its initialization...]
    The system cannot find the path specified.
    JAVA Memory arguments: -Xms256m -Xmx512m
    WLS Start Mode=Development
    CLASSPATH=D:\OracleOSB\Middleware\wlserver_10.3\server\ext\jdbc\oracle\11g\ojdbc6dms.jar;D:\OracleOSB\Middleware\oracle_common\modules\oracle.jrf_11.1.1\jrf.jar;D:\OracleOSB\Middleware\wlserver_10.3\server\lib\xqrl.jar
    PATH=D:\OracleXE\app\oracle\product\10.2.0\server\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\
    * To start WebLogic Server, use a username and *
    * password assigned to an admin-level user. For *
    * server administration, use the WebLogic Server *
    * console at http:\\hostname:port\console *
    starting weblogic with Java version:
    java version "1.6.0_17"
    Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
    Oracle JRockit(R) (build R28.0.0-679-130297-1.6.0_17-20100312-2123-windows-ia32, compiled mode)
    Starting WLS with line:
    D:\Oracle\MIDDLE~1\JROCKI~1.0-6\bin\java -Xms256m -Xmx512m -Dweblogic.Name=DefaultServer -Djava.security.policy=D:\OracleOSB\Middleware\wlserver_10.3\server\lib\weblogic.policy -Djavax.net.ssl.trustStore=C:\Oracle\Middleware\wlserver_10.3\server\lib\DemoTrust.jks -Dweblogic.nodemanager.ServiceEnabled=true -da -Dplatform.home=D:\OracleOSB\Middleware\wlserver_10.3 -Dwls.home=D:\OracleOSB\Middleware\wlserver_10.3\server -Dweblogic.home=D:\OracleOSB\Middleware\wlserver_10.3\server -Djps.app.credential.overwrite.allowed=true -Ddomain.home=C:\Users\249103\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1 -Dcommon.components.home=D:\OracleOSB\Middleware\oracle_common -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Djrockit.optfile=D:\OracleOSB\Middleware\oracle_common\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.domain.config.dir=C:\Users\249103\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1 -Doracle.server.config.dir=C:\Users\249103\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1\servers\DefaultServer -Doracle.security.jps.config=C:\Users\249103\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\fmwconfig\jps-config.xml -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Digf.arisidbeans.carmlloc=C:\Users\249103\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1\carml -Digf.arisidstack.home=C:\Users\249103\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1\arisidprovider -Dweblogic.alternateTypesDirectory=D:\OracleOSB\Middleware\oracle_common\modules\oracle.ossoiap_11.1.1,D:\OracleOSB\Middleware\oracle_common\modules\oracle.oamprovider_11.1.1 -Dweblogic.jdbc.remoteEnabled=false -Dwsm.repository.path=C:\Users\249103\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\oracle\store\gmds -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= weblogic.Server
    [WARN ] Use of -Djrockit.optfile is deprecated and discouraged.
    [ERROR][cgdir  ] Could not read old style optfile from D:\OracleOSB\Middleware\oracle_common\modules\oracle.jrf_11.1.1\jrocket_optfile.txt: Could not open D:\OracleOSB\Middleware\oracle_common\modules\oracle.jrf_11.1.1\jrocket_optfile.txt
    Exception in thread "Main Thread" java.lang.NoClassDefFoundError: weblogic/Server
    Caused by: java.lang.ClassNotFoundException: weblogic.Server
         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:303)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    Could not find the main class: weblogic.Server. Program will exit.
    Process exited.
    Can anyone help me to overcome this issue.
    thanks in advance.

    Try checking the "C:\Users\249103\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\bin\startWebLogic.cmd" startup file. It seems containing old references to D:\OracleOSB instead of D:\Oracle ...

  • 64bit weblogic server installation on windows

    Hi,
    We are trying to install 64bit Oracle weblogic Server 10.3.2 on windows 2007 Server. As per the documentation, The installation requires 64bit java installation and then execute the wl_1032_server.jar file.
    We installed weblogic Server successfully and did not find any errors while installing the weblogic server. We created one Managed Server with the default options. We are able to start the Admin Server with out any problems.
    But we are unable to start the managed weblogic server and we are getting the following error message while starting the managed webserver.
    I have also tried with setting the following memory args also. But I am getting the same error in the managedserver log files.
    set MEM_ARGS=-Xms512m -Mmx1024m -MaxPermSize=512m
    <Feb 19, 2010 11:57:01 PM EST> <Notice> <WebLogicServer> <BEA-000330> <Started WebLogic Managed Server "new_ManagedServer_1" for domain "base_domain" running in Production Mode>
    Exception in thread "[STANDBY] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'" java.lang.OutOfMemoryError: PermGen space
    The WebLogic Server encountered a critical failure
    Reason: PermGen space
    Exception in thread "main" java.lang.OutOfMemoryError: PermGen space
    <Feb 19, 2010 11:57:10 PM> <FINEST> <NodeManager> <Waiting for the process to die: 1848>
    Can you please help us in configuring the 64bit weblogic server. Do we need to make any special configurations.
    Thanks and Regards,
    S R Prasad

    Thanks,
    You are right and I've found a documentation below. Did you checked your Environment Variables or try to use full path of 64 bit Java installation?
    How do I select between 32 and 64-bit operation? What's the default? The options -d32 and -d64 have been added to the Java launcher to specify whether the program is to be run in a 32 or 64-bit environment. On Solaris these correspond to the ILP32 and LP64 data models, respectively. Since Solaris has both a 32 and 64-bit J2SE implementation contained within the same installation of Java, you can specify either version. If neither -d32 nor -d64 is specified, the default is to run in a 32-bit environment.
    Other Java commands (javac, javadoc, etc.) will rarely need to be executed in a 64-bit environment. However, the -d32/-d64 options may be passed to these commands and then on to the Java launcher using the established -J prefix option (eg: -J-d64).
    All other platforms (Windows and Linux) contain separate 32 and 64-bit installation packages. If both packages are installed on a system, you select one or the other by adding the appropriate "bin" directory to your path. For consistency, the Java implementations on Linux accept the -d64 option.
    Regards,
    Kadir

Maybe you are looking for

  • Adobe reader x printing garbage

    I am using Windows XP SP3 fully upto date, avg 2011 upto date, Java and Flash upto date, and of course the latest version of Reader. I am using a Canon MP640 connected via USB cable, again with the latest drivers.  We access email via Outlook Express

  • Itunes can't run because some of its required files are missing. please reinstall itunes.

    I have an old Ipod nano, with great music on it, however no pc to sync it to and I dont want to lose the music.  I downloaded itunes 10.0 (most recent) and was trying to use yamipod to get the music from it, however it says that it works best with ol

  • SAP PDF FORM versions

    Hi,   We had some issues with PDF form. We applied support pack. This support pack fixed issues we had with the form. Then I made some changes to this PDF form which lead to some errors. So I reverted to the previous version on the Version Management

  • Changing icons on the dock

    Hi, i just get some new funny icons i'd install on my dock instead of the defaults one. Anybody knows how i get to it?

  • Help centering page

    sorry guys - newbie here trying to center a page. ive been using dreamweaver cs3 - the design tools - not straight up css coding. but i think that because im using absolute positioning, the page loads up aligned on the left side. how can i center the