Weblogic 10.3.4 document

I need the source code of servlet of weblogic 10.3.4
Where can I find the e-document of weblogic 10.3.4?

The weblogic documentation library can be found here: http://download.oracle.com/docs/cd/E17904_01/wls.htm
How to program servlets can be found here: http://download.oracle.com/docs/cd/E17904_01/web.1111/e13712/toc.htm

Similar Messages

  • Weblogic 10.3.0.0 deployment problem

    Hi All,
    Im trying to deploy a hibernate application i.e app1.war file on Weblogic 10.3.0.0 and it shows following error on console while deploying(Please have a look at the bottom section which contains exception details captured from log file) :
    Error An error occurred during activation of changes, please see the log for details.
    Error Failed to load webapp: 'app1.war'
    Error org.apache.xerces.jaxp.DocumentBuilderFactoryImpl
    The org.apache.xerces.jaxp.DocumentBuilderFactoryImpl problem, i.e it point is to the DocumentBuilder file --
    org.apache.xerces.jaxp.DocumentBuilderFactoryImpl cannot be cast to javax.xml.parsers.DocumentBuilderFactory
    The jar file i have in my app is 'xerces-2.6.2' & the jar present in the weblogic is of version 2.8.1 i guess..
    When i remove the xerces-2.6.2.jar from my application the war gets deployed but webapp wasnt working properly as the jar required was removed.
    Later i tried adding the weblogic versioned xercesImpl.jar file but still couldnt crack the issue.
    I also tried adding the following in the weblogic-application.xml file of META-INF folder :
    <weblogic-application xmlns="http://www.bea.com/ns/weblogic/90" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <prefer-application-packages>
    <package-name>org.apache.xerces.*</package-name>
    <package-name>org.apache.oro.*</package-name>
    <package-name>org.apache.commons.*</package-name>
    <package-name>org.apache.log4j.*</package-name>
    <package-name>org.apache.axis.transport.http.*</package-name>
    <package-name>org.jdom.xpath.*</package-name>
    </prefer-application-packages>
    </weblogic-application>
    Before this exception i was getting the antlr.jar file problems(i.e queries werent executing.. stopped @ first query itself)... so i added the following in the weblogic.xml file located under WEB-INF folder to make it work :
    <weblogic-web-app>
    <container-descriptor>
    <prefer-web-inf-classes>true</prefer-web-inf-classes>
    </container-descriptor>
    </weblogic-web-app>
    Error occurring due to antlr.jar file :
    {"message":"system failure: SQL: 'select currencyCode from OprationalLocation where code = ? and domainCode=?'","success":false}
    Exception details :
    <Feb 20, 2010 12:00:51 PM IST> <Error> <HTTP> <BEA-101371> <There was a failure when processing annotations for application /root/bea/user_projects/domains/papa_domain/servers/AdminServer/upload/app1.war. Please make sure that the annotations are valid. The error is >
    <Feb 20, 2010 12:00:51 PM IST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1266474648751' for task '7'. Error is: 'weblogic.application.ModuleException: Failed to load webapp: 'app1.war''
    weblogic.application.ModuleException: Failed to load webapp: 'app1.war'
    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.ClassCastException: org.apache.xerces.jaxp.DocumentBuilderFactoryImpl
    at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:123)
    at com.bea.core.repackaged.springframework.beans.factory.xml.DefaultDocumentLoader.createDocumentBuilderFactory(DefaultDocumentLoader.java:88)
    at com.bea.core.repackaged.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:70)
    at com.bea.core.repackaged.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:388)
    at com.bea.core.repackaged.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:340)
    Truncated. see log file for complete stacktrace
    >
    <Feb 20, 2010 12:00:51 PM IST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating distribute task for application 'asset'.>
    <Feb 20, 2010 12:00:51 PM IST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.application.ModuleException: Failed to load webapp: 'app1.war'
    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.ClassCastException: org.apache.xerces.jaxp.DocumentBuilderFactoryImpl
    at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:123)
    at com.bea.core.repackaged.springframework.beans.factory.xml.DefaultDocumentLoader.createDocumentBuilderFactory(DefaultDocumentLoader.java:88)
    at com.bea.core.repackaged.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:70)
    at com.bea.core.repackaged.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:388)
    at com.bea.core.repackaged.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:340)
    Truncated. see log file for complete stacktrace
    >
    <Feb 20, 2010 12:00:51 PM IST> <Error> <Console> <BEA-240003> <Console encountered the following error weblogic.application.ModuleException: Failed to load webapp: 'app1.war'
    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)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:58)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:42)
    at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:615)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
    at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
    at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:16)
    at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:155)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:197)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:89)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:723)
    at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1190)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:248)
    at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: java.lang.ClassCastException: org.apache.xerces.jaxp.DocumentBuilderFactoryImpl
    at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:123)
    at com.bea.core.repackaged.springframework.beans.factory.xml.DefaultDocumentLoader.createDocumentBuilderFactory(DefaultDocumentLoader.java:88)
    at com.bea.core.repackaged.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:70)
    at com.bea.core.repackaged.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:388)
    at com.bea.core.repackaged.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:340)
    at com.bea.core.repackaged.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:317)
    at com.bea.core.repackaged.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:125)
    at com.bea.core.repackaged.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:141)
    at com.bea.core.repackaged.springframework.jee.server.Bootstrap.<init>(Bootstrap.java:81)
    at com.bea.core.repackaged.springframework.jee.server.Bootstrap.<init>(Bootstrap.java:94)
    at com.bea.core.repackaged.springframework.jee.spi.WLSBootstrap.<init>(WLSBootstrap.java:51)
    at com.bea.core.repackaged.springframework.jee.spi.WebComponentContributorBrokerImpl.initialize(WebComponentContributorBrokerImpl.java:21)
    Can anyone guide me this issue, how should i deploy my app with the required changes so that my app works seamlessly with the libraries provided in the /lib folder?
    Any kind of help would be priceless!

    Hi Mohtashim,
    System.setProperty("javax.xml.parsers.DocumentBuilderFactory","new-factory");
    In this case The Property will be set at the System level ...means the JVM level where this code get executed will be effected...and if any other application is running on that JVM ..then that application also will be affected by this property.
    So For Application specific setting please use:
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <weblogic-application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-application http://www.bea.com/ns/weblogic/weblogic-application/1.0/weblogic-application.xsd" xmlns="http://www.bea.com/ns/weblogic/weblogic-application">
    <xml>
    <parser-factory>
    <saxparser-factory>YourParserFactory</saxparser-factory>
    <document-builder-factory>weblogic.xml.jaxp.WebLogicDocumentBuilderFactory</document-builder-factory>
    <transformer-factory>YourTransformerFactory</transformer-factory>
    </parser-factory>
    </xml>
    </weblogic-application>
    Thanks
    Jay SenSharma
    http://jaysensharma.wordpress.com (WebLogic wonders Are Here)

  • Can't create connection pool using weblogic 6.1 with Oracle thin driver

    Hi !
    I have tried to create a connection pool from adminconsole. My CLASSPATH setting
    is as follows :
    F:\SOAP\soap-2_2\lib;F:\SOAP\soap-2_2;
    D:\Oracle\Ora81\jdbc\lib\classes12.zip;
    D:\Oracle\Ora81\jdbc\lib\nls_charset12.zip;
    D:\Oracle\Ora81\jdbc\lib\classes111.zip;
    F:\SOAP\soap-2_2\lib\jaf-1.0.1\activation.jar;
    D:\Oracle\Ora8\Apache\Jsdk\src\javax\servlet\http;
    D:\Oracle\Ora81\Apache\Jsdk\src\javax\servlet;
    D:\Oracle\Ora81\lib;
    F:\ant\jakarta-ant1.\bin;
    E:\weblogic\oci\classes;
    E:\weblogic\oci\classes\weblogic\xml\license;
    E:\weblogic\oci\license;
    E:\bea\wlserver6.1\lib;
    E:\PetStoreHome\petstore1.3;
    Following is the configuration.
    #Oracle thin driver Method #2
    weblogic.jdbc.connectionPool.thin=\      
    url=jdbc:oracle:thin:@test:1521:PROJECT,\      
    driver=oracle.jdbc.driver.OracleDriver,\
         initialCapacity=4,\
         maxCapacity=10,\
         capacityIncrement=1,\
         props=user=xxx;password=xxx;server=test
    #Add a TXDataSource for the connection pool:
    weblogic.jdbc.TXDataSource.weblogic.jdbc.jts.thin=thin
    # Add an ACL for the connection pool:
    weblogic.allow.reserve.weblogic.jdbc.connectionPool.thin=everyone
    I did append the file weblogic.properties with the above config. Now when I start
    the Weblogic server I get the following error :
    Starting WebLogic Server ....
    <Nov 29, 2001 2:24:16 PM EST> <Notice> <Management> <Loading configuration file
    .\config\petstore\config.xml ...>
    <Nov 29, 2001 2:24:22 PM EST> <Notice> <WebLogicServer> <Starting WebLogic Admin
    Server "petstoreServer" for domain "petstore">
    <Nov 29, 2001 2:24:26 PM EST> <Notice> <Management> <Starting discovery of Manag
    ed Server... This feature is on by default, you may turn this off by passing -Dw
    eblogic.management.discover=false>
    <Nov 29, 2001 2:24:35 PM EST> <Error> <JDBC> <Error during Data Source creation:
    weblogic.common.ResourceException: DataSource(jdbcthin.SignOnDB) can't be creat
    ed with non-existent Pool (connection or multi) (thin)>
    <Nov 29, 2001 2:24:35 PM EST> <Error> <JDBC> <Error during Data Source creation:
    weblogic.common.ResourceException: DataSource(jdbcthin.EstoreDB) can't be creat
    ed with non-existent Pool (connection or multi) (thin)>
    <Nov 29, 2001 2:24:35 PM EST> <Error> <JDBC> <Error during Data Source creation:
    weblogic.common.ResourceException: DataSource(jdbcthin.InventoryDB) can't be
    cr
    eated with non-existent Pool (connection or multi) (thin)>
    <Nov 29, 2001 2:24:35 PM EST> <Error> <JDBC> <Error during Data Source creation:
    weblogic.common.ResourceException: DataSource(weblogic.jdbc.jts.thin) can't be
    created with non-existent Pool (connection or multi) (thin)>
    <Nov 29, 2001 2:24:41 PM EST> <Notice> <Management> <Application Poller not star
    ted for production server.>
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    After the server has booted, your browser should
    automatically launch and point to the WebLogic Server
    Tour running on this server. If your browser fails to
    launch, point your browser to the URL
    "http://burtsun:7001"
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    <Nov 29, 2001 2:24:41 PM EST> <Notice> <WebLogicServer> <ListenThread listening
    on port 7001>
    <Nov 29, 2001 2:24:41 PM EST> <Notice> <WebLogicServer> <SSLListenThread listeni
    ng on port 7002>
    <Nov 29, 2001 2:24:42 PM EST> <Notice> <WebLogicServer> <Started WebLogic Admin
    Server "petstoreServer" for domain "petstore" running in Production Mode>
    Could anyone please help me ?
    Thanks
    ..Madhuri

    Madhuri wrote:
    >
    Hi Joe !
    I didn't get what you would like to point out. Actully, I am using same config.,
    but not to disclose the info. I gave you @test and username/password xxx/xxx.Ok. Now, assuming your pool looks like what I showed, the issue is probably
    that there are multiple Oracle driver zips around, and your standlaone program
    is using a different, newer, better one than the server. Our weblogic jar files
    include a classes12.zip Oracle thin driver, but there are multiple versions of
    classes12.zip, and the latest from oracle is better than the one we sealed into
    our packaging. Please use jave -verbose to identify exactly which Oracle sip file
    you are using in the successful case, then make sure this zip file comes before
    any weblogic stuff in your weblogic server's classpath, so we'll use the same
    driver. This should work. Edit the script you sue to start weblogic to verify
    the classpath does end up with the oracle driver ahead of all weblogic stuff.
    Joe
    >
    Please let me know.
    Thanks
    .Madhuri
    Joseph Weinstein <[email protected]> wrote:
    Madhuri wrote:
    Hi Joe !
    Here is the sample java code. Please let me know how I can test thisin weblogic
    6.1.
    Thanks
    .MadhuriWell fine! That was easy. Your pool definition didn't have the same URL
    or
    user or password as this code. Try this for your pool definition:
    weblogic.jdbc.connectionPool.thin=\
    url=jdbc:oracle:thin:@adl-gbsdevel:1521:PROJECT,\
    driver=oracle.jdbc.driver.OracleDriver,\
    initialCapacity=10,\
    maxCapacity=10,\
    capacityIncrement=1,\
    testConnsOnReserve=true,\
    testTable=dual,\
    props=user=mkelkar;password=mkelkar
    Let me know,,,
    Joe
    Joseph Weinstein <[email protected]> wrote:
    The key is in the log:
    Could not create pool connection.
    The DBMS driver exception was:
    java.sql.SQLException: invalid arguments in call
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:168)
    Now we need to simplify the problem. Please make a simple 15-line
    standalone
    Java program like you'd find with the Oracle driver's examples, with
    no
    weblogic code in the picture. Just make a JDBC connection using Oracle's
    driver, and show me that code. Then I can translate that into a pool
    definition.
    Joe
    Madhuri wrote:
    Hi Joe !
    Thanks for your prompt reply. I tried the way you suggested but
    it
    still it gives
    me the same error. I am attching here the weblogic.log file.
    Thanks again
    ..Madhuri
    Joseph Weinstein <[email protected]> wrote:
    We'd want to see the log during booting, where the pool
    is being created to see why that failed. Try a pool
    definition with no blank lines, no whitespace at the
    end of lines, and no server property. The thin driver
    doesn't like that:
    weblogic.jdbc.connectionPool.thin=\
    url=jdbc:oracle:thin:@test:1521:PROJECT,\
    driver=oracle.jdbc.driver.OracleDriver,\
    initialCapacity=4,\
    maxCapacity=10,\
    capacityIncrement=1,\
    props=user=xxx;password=xxx
    Joe
    Madhuri wrote:
    Hi !
    I have tried to create a connection pool from adminconsole. My
    CLASSPATH
    setting
    is as follows :
    F:\SOAP\soap-2_2\lib;F:\SOAP\soap-2_2;
    D:\Oracle\Ora81\jdbc\lib\classes12.zip;
    D:\Oracle\Ora81\jdbc\lib\nls_charset12.zip;
    D:\Oracle\Ora81\jdbc\lib\classes111.zip;
    F:\SOAP\soap-2_2\lib\jaf-1.0.1\activation.jar;
    D:\Oracle\Ora8\Apache\Jsdk\src\javax\servlet\http;
    D:\Oracle\Ora81\Apache\Jsdk\src\javax\servlet;
    D:\Oracle\Ora81\lib;
    F:\ant\jakarta-ant1.\bin;
    E:\weblogic\oci\classes;
    E:\weblogic\oci\classes\weblogic\xml\license;
    E:\weblogic\oci\license;
    E:\bea\wlserver6.1\lib;
    E:\PetStoreHome\petstore1.3;
    Following is the configuration.
    #Oracle thin driver Method #2
    weblogic.jdbc.connectionPool.thin=\
    url=jdbc:oracle:thin:@test:1521:PROJECT,\
    driver=oracle.jdbc.driver.OracleDriver,\
    initialCapacity=4,\
    maxCapacity=10,\
    capacityIncrement=1,\
    props=user=xxx;password=xxx;server=test
    #Add a TXDataSource for the connection pool:
    weblogic.jdbc.TXDataSource.weblogic.jdbc.jts.thin=thin
    # Add an ACL for the connection pool:
    weblogic.allow.reserve.weblogic.jdbc.connectionPool.thin=everyone
    I did append the file weblogic.properties with the above config.
    Now
    when I start
    the Weblogic server I get the following error :
    Starting WebLogic Server ....
    <Nov 29, 2001 2:24:16 PM EST> <Notice> <Management> <Loading
    configuration
    file
    \config\petstore\config.xml ...>
    <Nov 29, 2001 2:24:22 PM EST> <Notice> <WebLogicServer> <Starting
    WebLogic
    Admin
    Server "petstoreServer" for domain "petstore">
    <Nov 29, 2001 2:24:26 PM EST> <Notice> <Management> <Starting
    discovery
    of Manag
    ed Server... This feature is on by default, you may turn this
    off
    by
    passing -Dw
    eblogic.management.discover=false>
    <Nov 29, 2001 2:24:35 PM EST> <Error> <JDBC> <Error during Data
    Source
    creation:
    weblogic.common.ResourceException: DataSource(jdbcthin.SignOnDB)
    can't
    be creat
    ed with non-existent Pool (connection or multi) (thin)>
    <Nov 29, 2001 2:24:35 PM EST> <Error> <JDBC> <Error during Data
    Source
    creation:
    weblogic.common.ResourceException: DataSource(jdbcthin.EstoreDB)
    can't
    be creat
    ed with non-existent Pool (connection or multi) (thin)>
    <Nov 29, 2001 2:24:35 PM EST> <Error> <JDBC> <Error during Data
    Source
    creation:
    weblogic.common.ResourceException: DataSource(jdbcthin.InventoryDB)can't be
    cr
    eated with non-existent Pool (connection or multi) (thin)>
    <Nov 29, 2001 2:24:35 PM EST> <Error> <JDBC> <Error during Data
    Source
    creation:
    weblogic.common.ResourceException: DataSource(weblogic.jdbc.jts.thin)can't be
    created with non-existent Pool (connection or multi) (thin)>
    <Nov 29, 2001 2:24:41 PM EST> <Notice> <Management> <Application
    Poller
    not star
    ted for production server.>
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    After the server has booted, your browser should
    automatically launch and point to the WebLogic Server
    Tour running on this server. If your browser fails to
    launch, point your browser to the URL
    "http://burtsun:7001"
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    <Nov 29, 2001 2:24:41 PM EST> <Notice> <WebLogicServer> <ListenThreadlistening
    on port 7001>
    <Nov 29, 2001 2:24:41 PM EST> <Notice> <WebLogicServer> <SSLListenThreadlisteni
    ng on port 7002>
    <Nov 29, 2001 2:24:42 PM EST> <Notice> <WebLogicServer> <Started
    WebLogic
    Admin
    Server "petstoreServer" for domain "petstore" running in ProductionMode>
    Could anyone please help me ?
    Thanks
    ..Madhuri
    Name: weblogic.log
    weblogic.log Type: Text Document (application/x-unknown-content-type-txtfile)
    Encoding: base64
    Name: PrintColumns.java
    PrintColumns.java Type: Visual Cafe File (application/x-unknown-content-type-VisualCafeFile.Document)
    Encoding: base64

  • Unable to checkin a document using 'CHECKIN_UNIVERSAL" service through java

    Hi All,
    I am trying to checkin a document through java code and following is my code part for the same( UCM 11g)
    But whenever i run this code part, it throws the following exception
    intradoc.common.ServiceException:csUnableToCheckin,<null>!csUnabletoExecMethod,populateMissingDocumentValues
    Can anyone help me with this?
    Code part
    private void checkinDoc()
    File f=new File("D:/testfolder/BPEL.pdf");
    System.out.println(" absolute path :"+f.getAbsolutePath());
    String filePath = f.getAbsolutePath().replace("\\", "/");
    checkedOutDataBinder.putLocal("IdcService", "CHECKIN_UNIVERSAL");
    checkedOutDataBinder.putLocal("dDocTitle","test");
    checkedOutDataBinder.putLocal("dDocAuthor", "weblogic");
    checkedOutDataBinder.putLocal("dDocType","Document");
    checkedOutDataBinder.putLocal("dSecurityGroup","public");
    checkedOutDataBinder.putLocal("doFileCopy", "1");
    checkedOutDataBinder.putLocal("primaryFile", filePath);
    checkedOutDataBinder.putLocal("xCollectionID", "425180507509000004");
    checkedOutDataBinder = executeService(checkedOutDataBinder,
    "weblogic");
    private DataBinder executeService(final DataBinder binder,
    final String userName) throws DataException, ServiceException
    // obtain a connection to the database
    Workspace workspace = getSystemWorkspace();
    // check for an IdcService value
    String cmd = binder.getLocal("IdcService");
    if (cmd == null)
    throw new DataException("!csIdcServiceMissing");
    // obtain the service definition
    ServiceData serviceData = ServiceManager.getFullService(cmd);
    if (serviceData == null)
    throw new DataException(LocaleUtils.encodeMessage(
    "!csNoServiceDefined", null, cmd));
    // create the service object for this service
    Service service = ServiceManager.createService(serviceData.m_classID,
    workspace, null, binder, serviceData);
    // obtain the full user data for this user
    UserData fullUserData = getFullUserData(userName, service, workspace);
    service.setUserData(fullUserData);
    // binder.m_environment.put(REMOTE_USER, userName);
    ServiceException error = null;
    try
    // init the service to not send HTML back
    service.setSendFlags(true, true);
    // create all the ServiceHandlers and implementors
    service.initDelegatedObjects();
    // do a security check
    service.globalSecurityCheck();
    // prepare for the service
    service.preActions();
    // execute the service
    service.doActions();
    // do any cleanup
    service.postActions();
    // store any new personalization data
    // service.updateSubjectInformation(true);
    //service.updateTopicInformation(binder);
    catch (ServiceException e)
    error = e;
    e.printStackTrace();
    finally
    // Remove all the temp files.
    service.cleanUp(true);
    workspace.releaseConnection();
    // handle any error
    if (error != null)
    // throw new ServiceException(error.m_errorCode, error
    // .getMessage());
    return binder;
    }

    I have been running into the same exception, albeit with UCM 10g:
    Content item 'xxx' was not successfully checked in. Unable to execute service method 'populateMissingDocumentValues'. (System Error: Runtime error: java.lang.NullPointerException
    at collections.CollectionMetaHandler.validateMetaDataDates(CollectionMetaHandler.java:771)
    at collections.CollectionMetaHandler.fillInUndefinedMeta(CollectionMetaHandler.java:806)
    at collections.CollectionUserHandler.setUndefinedMetaData(CollectionUserHandler.java:1353)
    at collections.CollectionUserHandler.populateMissingDocumentValues(CollectionUserHandler.java:1275)
    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:585)
    at intradoc.common.IdcMethodHolder.invokeMethod(ClassHelperUtils.java:617)
    at intradoc.common.ClassHelperUtils.executeMethodReportStatus(ClassHelperUtils.java:293)
    at intradoc.server.ServiceHandler.executeAction(ServiceHandler.java:79)
    at intradoc.server.Service.doCodeEx(Service.java:490)
    at intradoc.server.Service.doCode(Service.java:472)
    at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1360)
    at intradoc.server.Service.doAction(Service.java:452)
    at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1201)
    at intradoc.server.Service.doActions(Service.java:447)
    it seems to have something to do with the xCollectionID.
    If I don't set this, it works fine (checking in and out, checking in new revision). If I set it I can check in a new item using CHECKIN_NEW but I am unable to use CHECKIN_UNIVERSAL to check in a new revision.
    Any pointers would be appreciated.
    Edited by: Jaap on 6-jun-2011 2:41
    Edited by: Jaap on 6-jun-2011 3:09

  • "Document is invalid" errors in amSession devug log on J2EE Polciy Agent 2.

    Hi,
    I am seeing the following errors in our amSession debug log for our WebLogic Policy Agent 2.1 and am not sure why we would see these and if they should be of concern:
    06/13/2006 02:39:38:412 PM EDT: Thread[ExecuteThread: '21' for queue: 'weblogic.kernel.Default',5,Thread Gr
    oup for Queue: 'weblogic.kernel.Default']
    WARNING: Document root element "SessionResponse", must match DOCTYPE root "null".
    06/13/2006 02:39:38:412 PM EDT: Thread[ExecuteThread: '21' for queue: 'weblogic.kernel.Default',5,Thread Gr
    oup for Queue: 'weblogic.kernel.Default']
    WARNING: Document is invalid: no grammar found.
    06/13/2006 02:41:14:583 PM EDT: Thread[ExecuteThread: '21' for queue: 'weblogic.kernel.Default',5,Thread Gr
    oup for Queue: 'weblogic.kernel.Default']
    WARNING: Document root element "SessionResponse", must match DOCTYPE root "null".
    06/13/2006 02:41:14:584 PM EDT: Thread[ExecuteThread: '21' for queue: 'weblogic.kernel.Default',5,Thread Gr
    oup for Queue: 'weblogic.kernel.Default']
    WARNING: Document is invalid: no grammar found.
    06/13/2006 02:41:14:599 PM EDT: Thread[ExecuteThread: '21' for queue: 'weblogic.kernel.Default',5,Thread Gr
    oup for Queue: 'weblogic.kernel.Default']
    Does anyone know what could be causing these errors in the AMAgent?
    Thanks!

    Hello
    I got the same error with Policy Agent 2.1 for Tomcat 4.1.27.
    AM version is 2004Q2.
    Did you solve your issue?
    regards,
    Y.

  • Using weblogic.Server to create domains

    Not sure this is the right group for this question....
    I am reading some weblogic docs on creating a domain using weblogic.Server (http://e-docs.bea.com/wls/docs81/admin_ref/cli_tasks.html#1331827).
    For the most part it has worked as expected and I find it preferable to using
    the domain cfg wizard. However, is there a way to use a template jar like you
    can with the config wizard, for instance any of the jars in the
    $WL_HOME/common/templates/domains/

    Hello Jay, thanx for ur help... this time i didnt get the args missing error but i have this one about "can't overwrite"
    mauro@MacBookPro:HelloWorldEAR $ java -classpath /Users/mauro/beaWS102/wlserver_10.0/server/lib/weblogic.jar weblogic.BuildXMLGen /Users/mauro/Documents/WLprojects/HelloWorldEAR
    Can't overwrite cause
    mauro@MacBookPro:HelloWorldEAR $ cd ..
    mauro@MacBookPro:WLprojects cursor$ sudo java -classpath /Users/mauro/beaWS102/wlserver_10.0/server/lib/weblogic.jar weblogic.BuildXMLGen /Users/mauro/Documents/WLprojects/HelloWorldEAR
    Can't overwrite cause
    mauro@MacBookPro:WLprojects cursor$ cd HelloWorldEAR/
    mauro@MacBookPro:HelloWorldEAR $ ls
    APP-INF META-INF appUtils bin helloWorldEJB helloWorldWebApp src
    macbook-de-cursor:HelloWorldEAR cursor$ cd ..
    mauro@MacBookPro:WLprojects $ sudo java -classpath /Users/mauro/beaWS102/wlserver_10.0/server/lib/weblogic.jar weblogic.BuildXMLGen -file build.xml /Users/mauro/Documents/WLprojects/HelloWorldEAR
    Can't overwrite cause
    Do u know something about this message?? I really need to set up this thig to be able to start my own project :P Thanx in advance
    Best regards,
    Mauro
    ==========================================================
    Solution
    Ok, i make it work!! I have in my develop structure a helloWorldWebContent/META-INF/ and here i had a web.xml and a weblogic.xml
    The weblogic.xml file cause problems... i deleted and it works
    I was following this tutorial
    http://download.oracle.com/docs/cd/E13222_01/wls/docs100/programming/splitcreate.html#wp1098227
    and i create all those files...
    Dude, u have a great blog! Now it is in my bookmarks
    Edited by: mgaldames on 17-may-2010 7:20
    Edited by: mgaldames on 17-may-2010 7:21

  • Help Connecting Weblogic to Oracle.

    Hello,
    We are encountering some error to connect weblogic at start up to
    oracle 8i on a Solaris box. I have attached an error log file for the
    same. The Error is something to do with ORA-24327.
    The Fact is I am able to connect to oracle from NT Weblogic server,
    NT SQL, SVRMGRL . But when I try to connect to oracle from Solaris
    WebLogic I get this Error.
    Thanks in advance for the help.
    [weblogic.log]

    According to our jdbc engineer:
    ORA-24327 ("need explicit attach before authenticating a user")
    First, this is not one of our error codes. Its one of OCI's many ways of telling you it
    could not connect for some unknown reason. Unfortunately, this generally doesn't help
    solve the problem. Currently, I'm aware of
    two things that might cause this problem:
    1. Oracle client DLL/SO is not compatable with Oracle server or Oracle client
    installation. The former is a limitation of oracle that we can't do anything about.
    The latter often implies an installation problem or conflict with some other installed
    software. For example, some Oracle applications will install the OCI DLL in your path
    (most
    often in the windows system directory), thinking that its being helpful.
    Unfortunately, if your ORACLE_HOME is pointing to a different version of oracle, this
    will screw you. So if you get this error, one thing to check whether you have an old
    version of OCI (OCI.DLL and/or OCIW32.dll) somewhere in your path.
    2. More recently, I've learned that this error can also occur if your tnsnames.ora
    does not have a reference to the service you are trying to access.
    Hope this helps
    --Kumar
    Sheshadri Yagati wrote:
    Hello,
    We are encountering some error to connect weblogic at start up to
    oracle 8i on a Solaris box. I have attached an error log file for the
    same. The Error is something to do with ORA-24327.
    The Fact is I am able to connect to oracle from NT Weblogic server,
    NT SQL, SVRMGRL . But when I try to connect to oracle from Solaris
    WebLogic I get this Error.
    Thanks in advance for the help.
    Name: weblogic.log
    weblogic.log Type: Text Document (application/x-unknown-content-type-txtfile)
    Encoding: base64

  • Please help to integrate struts1 into weblogic portal

    I'm a newbie in weblogic portal, so much documents for me on Oracle's website, but I didn't know where 's startup? please help on this :)
    1. Weblogic Portal: I could connect to jdbc datasource (using ms sqlserver 2005) and created database successfully. But I didn't how to my application can get data (from database), e.g. using portlet to connect? I'm really need to help to get data from db, and display it, please help understand it.
    2. I had a existing struts1 project (spring + struts1 + hibernate + ms sqlserver), this project could connect and get data from database. And I implemented the following guide on oracle's website, but I faced with so much problem, please help me clearly on integration struts1 in weblogic portal, what's required? if can, please step by step.
    Thanks in advance,
    Nhan

    Java Message Service (JMS) is a standard API for accessing enterprise messaging systems.
    And WebLogic JMS is an enterprise-class messaging system that is tightly integrated into the WebLogic Server platform. It fully supports the JMS Specification.
    Please refer to the following links to get more information on this and how to configure the jms resources:
    http://docs.oracle.com/cd/E15051_01/wls/docs103/jms/fund.html
    http://middlewaremagic.com/weblogic/?page_id=1976
    Thanks,
    Patrick

  • Castor with Weblogic 8.1 problem

    Hi,
    I am encountering problem using Castor with Weblogic 8.1.
    I unmarshal XML files using Castor. My application works fine outside Weblogic,
    but gives incorrect xml content when deployed.
    My xml is like this :
    <emrRoot>
    <emrNode>
    </emrNode>
    </emrRoot>
    When deployed in Weblogic, on parshing this document using Castor API, it shows
    that there are 0 'emrNode' inside 'emrRoot'.
    This is what the Weblogic parser is misinterpreting it as:
    <?xml version="1.0" encoding="UTF-8"?>
    <emr-root emr-node-count="0" emr-dynanode-count="0" valid="true"/>
    Could someone pls help.
    Thanks.
    Regards,
    Shafique.

    Hi,
    Generally this type of exception raised by a class or the serialization runtime when a class may not be serialized.The argument should be the name of the class.
    You might be forgot to implement the serializable interface for the class in struts frame work.
    check it properly.
    Regards
    Anilkumar kari

  • Problem with Persistence.xml in JDev final after migration

    Hi,
    I am trying to migrate a current project from JDev 11gTp4 to the JDev production release. When deploying the EJB module I get the following problem though (Stack from DefaultServer.log)
    weblogic.application.ModuleException: Exception preparing module: EJBModule(Nexus-NexusModel-ejb)
         at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:452)
         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)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:58)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:42)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:615)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
         at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:16)
         at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:155)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:197)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:89)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:723)
         at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1190)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:248)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    java.lang.UnsupportedOperationException: This parser does not support specification "null" version "null"
         at javax.xml.parsers.DocumentBuilderFactory.setSchema(DocumentBuilderFactory.java:561)
         at weblogic.xml.jaxp.RegistryDocumentBuilder.setupDocumentBuilderFactory(RegistryDocumentBuilder.java:393)
         at weblogic.xml.jaxp.RegistryDocumentBuilder.getDefaultDocumentBuilderFactory(RegistryDocumentBuilder.java:359)
         at weblogic.xml.jaxp.RegistryDocumentBuilder.getDocumentBuilder(RegistryDocumentBuilder.java:298)
         at weblogic.xml.jaxp.RegistryDocumentBuilder.parse(RegistryDocumentBuilder.java:150)
         at org.eclipse.persistence.platform.xml.jaxp.JAXPParser.parse(JAXPParser.java:163)
         at org.eclipse.persistence.platform.xml.jaxp.JAXPParser.parse(JAXPParser.java:197)
         at org.eclipse.persistence.internal.oxm.record.DOMUnmarshaller.unmarshal(DOMUnmarshaller.java:213)
         at org.eclipse.persistence.oxm.XMLUnmarshaller.unmarshal(XMLUnmarshaller.java:309)
         at org.eclipse.persistence.internal.jpa.metadata.xml.XMLEntityMappingsReader.read(XMLEntityMappingsReader.java:72)
         at org.eclipse.persistence.internal.jpa.metadata.xml.XMLEntityMappingsReader.read(XMLEntityMappingsReader.java:112)
         at org.eclipse.persistence.internal.jpa.metadata.MetadataProcessor.loadStandardMappingFiles(MetadataProcessor.java:343)
         at org.eclipse.persistence.internal.jpa.metadata.MetadataProcessor.loadMappingFiles(MetadataProcessor.java:271)
         at org.eclipse.persistence.internal.jpa.deployment.PersistenceUnitProcessor.processORMetadata(PersistenceUnitProcessor.java:294)
         at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.predeploy(EntityManagerSetupImpl.java:830)
         at org.eclipse.persistence.jpa.PersistenceProvider.createContainerEntityManagerFactory(PersistenceProvider.java:189)
         at weblogic.deployment.PersistenceUnitInfoImpl.createEntityManagerFactory(PersistenceUnitInfoImpl.java:330)
         at weblogic.deployment.PersistenceUnitInfoImpl.<init>(PersistenceUnitInfoImpl.java:123)
         at weblogic.deployment.AbstractPersistenceUnitRegistry.storeDescriptors(AbstractPersistenceUnitRegistry.java:331)
         at weblogic.deployment.AbstractPersistenceUnitRegistry.loadPersistenceDescriptor(AbstractPersistenceUnitRegistry.java:245)
         at weblogic.deployment.ModulePersistenceUnitRegistry.<init>(ModulePersistenceUnitRegistry.java:63)
         at weblogic.ejb.container.deployer.EJBModule.setupPersistenceUnitRegistry(EJBModule.java:209)
         at weblogic.ejb.container.deployer.EJBModule$1.execute(EJBModule.java:310)
         at weblogic.deployment.PersistenceUnitRegistryInitializer.setupPersistenceUnitRegistries(PersistenceUnitRegistryInitializer.java:62)
         at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:376)
         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)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:58)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:42)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:615)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
         at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:16)
         at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:155)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:197)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:89)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:723)
         at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1190)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:248)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    My persistence.xml looks like
    <?xml version="1.0" encoding="windows-1252" ?>
    <persistence xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
    version="1.0" xmlns="http://java.sun.com/xml/ns/persistence">
    <persistence-unit name="Nexus-ejbPU">
    <provider>
    org.eclipse.persistence.jpa.PersistenceProvider
    </provider>
    <jta-data-source>
    jdbc/NexusPoolDS
    </jta-data-source>
    <mapping-file>
    META-INF/orm.xml
    </mapping-file>
    <properties>
    <property name="eclipselink.target-server" value="WebLogic_10"/>
    <property name="eclipselink.logging.file" value="Toplink.log"/>
    <property name="eclipselink.logging.timestamp" value="true"/>
    <property name="eclipselink.logging.exceptions" value="true"/>
    <property name="eclipselink.logging.session" value="true"/>
    </properties>
    </persistence-unit>
    </persistence>
    orm.xml looks like this
    <?xml version="1.0" encoding="windows-1252" ?>
    <entity-mappings xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm http://java.sun.com/xml/ns/persistence/orm_1_0.xsd"
    version="1.0"
    xmlns="http://java.sun.com/xml/ns/persistence/orm">
    <persistence-unit-metadata>
    <persistence-unit-defaults>
    <schema>
    XXX
    </schema>
    </persistence-unit-defaults>
    </persistence-unit-metadata>
    <package>
    za.co.medscheme.model.persistence.xxx
    </package>
    <schema>
    XXX
    </schema>
    </entity-mappings>
    I have noticed that the persistence.xml file have changed quite drastically from the version we had in TP4 release during project upgrade, but can not explain the problem we are getting. I have also tried to just create a dummy project and create a persistence unit, and the file looks exactly the same afterwards. Any thoughts?
    Drikus

    Just thought I would add a temporary solution to the problem for those of you sitting with the same issue.
    In the root folder of your application you will find a src folder with a meta-inf folder and weblogic-application.xml inside.
    Add the following before the closing weblogic-application tag...
    <xml>
    <parser-factory>
    <saxparser-factory>
    weblogic.xml.jaxp.WebLogicSAXParserFactory
    </saxparser-factory>
    <document-builder-factory>
    weblogic.xml.jaxp.WebLogicDocumentBuilderFactory
    </document-builder-factory>
    <transformer-factory>
    weblogic.xml.jaxp.WebLogicSAXTransformerFactory
    </transformer-factory>
    </parser-factory>
    </xml>
    If there wasnt an xml tag in the file, it seems that JDeveloper somehow adds one on the fly for you pointing to an oracle xml parser that does not contain the setSchema method required by weblogic on deployment.
    Hope this helps anybody else that has this problem.
    Regards
    Drikus Britz

  • Problems while deploying a war file as a part of ear file

    Hello!!!
              Is there a weblogic or Sun reference document to find out the correct way to specify library paths or class paths when one is trying to deploy a WAR file as a part of an EAR file?
              I have been having lot of trouble and very sporadic too in getting stuff to work correctly.
              -Eagle

    OK! I found something the very hard way. For my J2EE application packaged as an ear file containing one ejb module in an ejb-jar file and one web module in my .war file; further, noting that my web module is a struts application; it appears that the dependent jar libraries should be placed in the EAR file and a MANIFEST classpath entry should be added to the ejb-jar file's manifest - even for the WAR to work correctly. the presence or absence of dependent jar files in the "lib" directory of the WAR file makes no difference for the working of the WAR file.
              Is this behavior that I am seeing on my weblogic 8.1 server a documented and expected behavior? I am not too sure. did anyone else have such an experience?
              Eagle
              > Hello!!!
              >
              > Is there a weblogic or Sun reference document to find
              > out the correct way to specify library paths or class
              > paths when one is trying to deploy a WAR file as a
              > part of an EAR file?
              >
              > I have been having lot of trouble and very sporadic
              > too in getting stuff to work correctly.
              >
              > -Eagle

  • Schema validation in WL 9.1

    I am using WL 9.1 and i get the following errors while validating the schema
    [webddr] XMLParser - file:///C:/dev/artfrank_Core_4_2_int/WFX_Core/core/stagi
    ng/resource/auth-service-war/WEB-INF/weblogic.xml (L2,C61): Document root elemen
    t "weblogic-web-app", must match DOCTYPE root "null".
    [webddr] 07 Aug 2006 10:11:43.654 ERROR XMLParser - file:///C:/dev/artfrank_
    Core_4_2_int/WFX_Core/core/staging/resource/auth-service-war/WEB-INF/weblogic.xm
    l (L2,C61): Document root element "weblogic-web-app", must match DOCTYPE root "n
    ull".
    [webddr] XMLParser - file:///C:/dev/artfrank_Core_4_2_int/WFX_Core/core/stagi
    ng/resource/auth-service-war/WEB-INF/weblogic.xml (L2,C61): Document is invalid:
    no grammar found.
    [webddr] 07 Aug 2006 10:11:43.654 ERROR XMLParser - file:///C:/dev/artfrank_
    Core_4_2_int/WFX_Core/core/staging/resource/auth-service-war/WEB-INF/weblogic.xm
    l (L2,C61): Document is invalid: no grammar found.
    Here is the weblogic.xml that i use
    <?xml version="1.0" encoding="UTF-8"?>
    <weblogic-web-app xmlns="http://www.bea.com/ns/weblogic/90">
    I have also tried it with
    <weblogic-web-app
    xmlns="http://www.bea.com/ns/weblogic/90"
    xsi:schemaLocation="http://www.bea.com/ns/weblogic/90
    http://www.bea.com/ns/weblogic/90/weblogic-web-app.xsd">
    Basically, it is trying to look for the DOCTYPE tag? Any suggestions?

    I too am having the same problem. Any help?
    thanks

  • Schema validation in WLS 9.1

    I am using WL 9.1 and i get the following errors while validating the schema
    [webddr] XMLParser - file:///C:/dev/artfrank_Core_4_2_int/WFX_Core/core/stagi
    ng/resource/auth-service-war/WEB-INF/weblogic.xml (L2,C61): Document root elemen
    t "weblogic-web-app", must match DOCTYPE root "null".
    [webddr] 07 Aug 2006 10:11:43.654 ERROR XMLParser - file:///C:/dev/artfrank_
    Core_4_2_int/WFX_Core/core/staging/resource/auth-service-war/WEB-INF/weblogic.xm
    l (L2,C61): Document root element "weblogic-web-app", must match DOCTYPE root "n
    ull".
    [webddr] XMLParser - file:///C:/dev/artfrank_Core_4_2_int/WFX_Core/core/stagi
    ng/resource/auth-service-war/WEB-INF/weblogic.xml (L2,C61): Document is invalid:
    no grammar found.
    [webddr] 07 Aug 2006 10:11:43.654 ERROR XMLParser - file:///C:/dev/artfrank_
    Core_4_2_int/WFX_Core/core/staging/resource/auth-service-war/WEB-INF/weblogic.xm
    l (L2,C61): Document is invalid: no grammar found.
    Here is the weblogic.xml that i use
    <?xml version="1.0" encoding="UTF-8"?>
    <weblogic-web-app xmlns="http://www.bea.com/ns/weblogic/90">
    I have also tried it with
    <weblogic-web-app
    xmlns="http://www.bea.com/ns/weblogic/90"
    xsi:schemaLocation="http://www.bea.com/ns/weblogic/90
    http://www.bea.com/ns/weblogic/90/weblogic-web-app.xsd">
    Basically, it is trying to look for the DOCTYPE tag? Any suggestions?

    I too am having the same problem. Any help?
    thanks

  • WLS Performance .. Socket Exception...

    Hi
    Recently we encounter the problem when we press the "Refresh" button(Browser MS IE) so quickly then WLS shows the error message as below: (The scenario is calling an entity bean from JSP.)
    GMT+08:00 2000:<E> <HTTP>
    Connection failure
    java.net.SocketException: ReadFile on fd=916 failed with err=64
    at weblogic.socket.NTSocketMuxer.initiateIO(Native Method)
         at
    weblogic.socket.NTSocketMuxer.read(NTSocketMuxer.java,
    Compiled Code)
         at
    weblogic.socket.MuxableSocketHTTP.requeue(MuxableSocketHTTP.java,
    Compiled Code)
         at
    weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java,
    Compiled Code)
         at
    weblogic.kernel.ExecuteThread.run(ExecuteThread.java,
    Compiled Code)
    Basicly it's not hurt for our application, but we
    usually need to convert the encoding of the string
    selected from Database in the EJB(it mean I need to
    convert the String because we need chinese). But if we
    press the "Refresh" button so quickly, the chinese is
    incorrect and appeared as "???????". And if we press
    the button later and slowly then the chinese is
    correct.
    Can someone give me some clue about that ? Or is it related with the "Performance Pack" of WLS...?
    BEST & THANKS
    andrew :)
    PS :
    I use Window 2000, WLS 5.1 SP6 and both JDK 1.3 and JDK 1.2.2.
    [weblogic.log]

    Hi Srikant
    Thanks, below the get method of my Entity Bean
    public String getEname() {
    // SBgen: Get variable
    String empName = null;
    try{
    // 'ename' is the filed of the 'emp' table..., it's stored
    // as chinese in Oracle...
    empName = new String(new String(ename).getBytes("iso-8859-
    1"));
    catch (Exception e){
         e.printStackTrace(); }          
    return empName;
    ----------------------------------------------------------------- I use the getByte('iso-8859-1') to convert the string select from database (Oracle 8.1.6, the string in the DB is stored as Chinese) because I need Chinese in web page. The tricky thing is that if I press the 'Refresh' button so quickly then the chinese is displayed as '???' in my web page. If I press the 'Refresh' button slowly then the Chinese is correct in web page(JSP).
    mmmmm...., I do really have no idea about that... Can someone give me some clue about that ? Thanks a lots...
    BEST
    andrew:O
    Srikant Subramaniam <[email protected]> wrote:
    This is a benign error msg ... the client closed the socket without telling the server! We've since turned off this error msg in subsequent service packs.
    Srikant, [email protected], http://weblogic.bea.com/, etc.
    AndrewWang wrote:
    Hi
    Recently we encounter the problem when we press the "Refresh" button(Browser MS IE) so quickly then WLS shows the error message as below: (The scenario is calling an entity bean from JSP.)
    GMT+08:00 2000:<E> <HTTP>
    Connection failure
    java.net.SocketException: ReadFile on fd=916 failed with err=64
    at weblogic.socket.NTSocketMuxer.initiateIO(Native Method)
    at
    weblogic.socket.NTSocketMuxer.read(NTSocketMuxer.java,
    Compiled Code)
    at
    weblogic.socket.MuxableSocketHTTP.requeue(MuxableSocketHTTP.java,
    Compiled Code)
    at
    weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java,
    Compiled Code)
    at
    weblogic.kernel.ExecuteThread.run(ExecuteThread.java,
    Compiled Code)
    Basicly it's not hurt for our application, but we
    usually need to convert the encoding of the string
    selected from Database in the EJB(it mean I need to
    convert the String because we need chinese). But if we
    press the "Refresh" button so quickly, the chinese is
    incorrect and appeared as "???????". And if we press
    the button later and slowly then the chinese is
    correct.
    Can someone give me some clue about that ? Or is it related with the "Performance Pack" of WLS...?
    BEST & THANKS
    andrew :)
    PS :
    I use Window 2000, WLS 5.1 SP6 and both JDK 1.3 and JDK 1.2.2.
    Name: weblogic.log
    weblogic.log Type: Text Document (application/x-unknown-content-type-txtfile)
    Encoding: base64

  • Can't Installing WL Plug-in into  Apache

    Hi:
              I not sure if this the write newsgroup to post this question.
              I am getting this error trying to WL Plug-in into apache
              bash-2.03$ perl /usr/local/apache/bin/apxs -i -a -n weblogic mod_wl.so
              apxs:Error: Sorry, no shared object support for Apache
              apxs:Error: available under your platform. Make sure
              apxs:Error: the Apache module mod_so is compiled into
              apxs:Error: your server binary `/usr/local/apache/bin/httpd'.
              I install Apache on Solaris ok now I am trying to install the WL Plug-in
              I invoke APACHE_HOME/conf/httpd -l and get
              bash-2.03$ httpd -l
              Compiled-in modules:
              http_core.c
              mod_env.c
              mod_log_config.c
              mod_mime.c
              mod_negotiation.c
              mod_status.c
              mod_include.c
              mod_autoindex.c
              mod_dir.c
              mod_cgi.c
              mod_asis.c
              mod_imap.c
              mod_actions.c
              mod_userdir.c
              mod_alias.c
              mod_access.c
              mod_auth.c
              mod_setenvif.c
              there is no mod_so.c per the instructions,
              Next it said to add /configure --- and etc where do I add this information.
              

    Apache's newsgroup would have been a better place to ask this question. Anyways
              here's the thing you need to do:
              The DSO (Dynamic Shared Object) support in Apache is based on a module named
              mod_so.c
              which needs to be enabled before mod_wl.so is loaded. To enable mod_so.c follow
              the instructions
              included with the distribution of Apache to manually configure Apache with the
              following parameters:
              ./configure --prefix=<destination directory>
              --enable-module=so
              --enable-rule=SHARED_CORE
              Continue following the Apache installation instructions to make and install
              Apache.
              This is also explained in the "Installing the Apache-WebLogic Server Plug-in"
              document. Also
              refer to the installtion documents for Apache.
              --Vinod.
              "David L. Wasler" wrote:
              > Hi:
              >
              > I not sure if this the write newsgroup to post this question.
              >
              > I am getting this error trying to WL Plug-in into apache
              >
              > bash-2.03$ perl /usr/local/apache/bin/apxs -i -a -n weblogic mod_wl.so
              > apxs:Error: Sorry, no shared object support for Apache
              > apxs:Error: available under your platform. Make sure
              > apxs:Error: the Apache module mod_so is compiled into
              > apxs:Error: your server binary `/usr/local/apache/bin/httpd'.
              >
              > I install Apache on Solaris ok now I am trying to install the WL Plug-in
              >
              > I invoke APACHE_HOME/conf/httpd -l and get
              >
              > bash-2.03$ httpd -l
              > Compiled-in modules:
              > http_core.c
              > mod_env.c
              > mod_log_config.c
              > mod_mime.c
              > mod_negotiation.c
              > mod_status.c
              > mod_include.c
              > mod_autoindex.c
              > mod_dir.c
              > mod_cgi.c
              > mod_asis.c
              > mod_imap.c
              > mod_actions.c
              > mod_userdir.c
              > mod_alias.c
              > mod_access.c
              > mod_auth.c
              > mod_setenvif.c
              >
              > there is no mod_so.c per the instructions,
              >
              > Next it said to add /configure --- and etc where do I add this information.
              

Maybe you are looking for

  • Problem in getting selected values from multiselect list

    Hi, I have two multiselect listboxes in my page. In List1 the data will be retrieved from DB and listed.I will have buttons to move the values from List1 to List2 and viceversa. After selecting the needed values,I can rearrange them in List2 using so

  • 0x8007000e (E_OUTOFMEMORY) while adding a firewall rule using the windows firewall COM API

    Hello, Configuration: Windows Embedded 8 64-bit. I'm using the Windows Firewall with Advanced Security COM API. The program uses the INetFwRules interface. Basically, I'm using the following code (Form the code sample available here : http://msdn.mic

  • Unable to add queries

    Hi Gurus, We are trying to create a query using the standard Query Wizard in B1. When we try to save the query, the system triggers the error message below and fails to save the query. Error: To generate this document, first define the numbering seri

  • IPad 3 on iOS5 want to upgrade to iOS6

    Just bought a iPad 3 thats on iOS 5, is it possible to upgrade it to ios 6 using the ipsw and shift clicking update? Or is it forced to go to ios 7? I know when you restore apple doesn't sign anything lower than ios 7, does the same apply for upgradi

  • Deactivate my Itunes Store account

    IIf I don't plan on submitting a credit card number or an Itunes gift card number to use against downloading "free" apps, is my account useless?  My wife set up an account and it gave her a "none" option when selecting payment methods when registerin