Path in EAR

Hi,
After restart, JDeveloper 11g don't save "Path in EAR" field of deployment profile if the selected option would be in another project in the same workspace.
Is this a known issue or a normal behavior?

Thanks Rodrigo, I verified this issue is known. Look for a fix in the next preview release.
Thanks,
Ric

Similar Messages

  • Trying unsuccessfully to redeploy an older ear on WLS9.2

    Hi All,
    I've spent a few days trying to get a redeploy of an ear working on WLS9.2 using the wldeploy ant task. It works where the ear file is newer that the one already deployed, but redeploy just doesn't take effect if the ear we want is older than the one that is already deployed. It doesn't give an error, the log says that it's redeployed, but the redeploy doesn't take effect. This wldeploy task worked fine with WLS8.1 no matter when the ear was built.
    It seems to be the same issue as
    http://forums.bea.com/bea/thread.jspa?forumID=2033&threadID=400002694&messageID=400007471#400007471
    I'm out of ideas, so any help would be gratefully received!
    The original deployment via the console was fine, specifying DDOnly. The ear was loaded from the location C:\EARS\app.ear on the machine "host1" We then specified that the location from which the ear would be available would be \\host1\ears\app.ear which is the same location simply specified as a network drive.
    An Ant task, not the wldeploy task, copies the ear we want from any development machine to the networked host1 location. This step works fine.
    Then we try to redeploy using the wldeploy task. This only seems to work if the ear file we're trying to deploy is newer than the one we already had running.
    The task was as follows, with all options valid and one target server specified in targets:
              <wldeploy action="redeploy"
                   source="${source}"
                   name="${appname}"
                   user="${user}"
                   password="${pass}"
                   verbose="true"
                   adminurl="${adminurl}"
                   debug="true"
                   targets="${targets}">
              </wldeploy>
    Source is specified as \\host1\ears\app.ear
    Since then, we've been changing all kinds of options in wldeploy trying to get it to work for older ears, but it won't.
    extract from one of many log files showing wldeploy logging for an older ear. In this case, we're trying to replace deployed version built at 10:30 with version built at 10:22. It shows successful but the version from 10:30 is still deployed on the managed server ManagedServer1 after the redeploy. The task is:
              <wldeploy action="redeploy"
                   retiretimeout="1"
                   source="${source}"
                   name="${appname}"
                   user="${user}"
                   password="${pass}"
                   verbose="true"
                   adminurl="${adminurl}"
                   debug="true"
                   graceful="false"
                   targets="${targets}">
              </wldeploy>
    copy_ear:
    [delete] Deleting 1 files from \\HOST1\EARS
    [copy] Copying 1 file to \\HOST1\EARS
    weblogic_redeploy:
    [echo] message="ant wldeploy classpath is: /bea/weblogic92/server/lib/weblogic.jar"
    [wldeploy] weblogic.Deployer -debug -verbose -noexit -name app1 -source \\host1\ears\app.ear -targets ManagedServer1 -adminurl t3://host1:5001 -user weblogic -password ******** -redeploy -retiretimeout 1
    [wldeploy] weblogic.Deployer invoked with options: -debug -verbose -noexit -name app1 -source \\host1\ears\app.ear -targets ManagedServer1 -adminurl t3://host1:5001 -user weblogic -redeploy -retiretimeout 1
    [wldeploy] [WebLogicDeploymentManagerImpl.<init>():103] : Constructing DeploymentManager for J2EE version V1_4 deployments
    [wldeploy] [WebLogicDeploymentManagerImpl.getNewConnection():146] : Connecting to admin server at host1:5001, as user weblogic
    [wldeploy] [ServerConnectionImpl.getEnvironment():288] : setting environment
    [wldeploy] [ServerConnectionImpl.getEnvironment():291] : getting context using t3://host1:5001
    [wldeploy] [ServerConnectionImpl.getMBeanServer():239] : Connecting to MBeanServer at service:jmx:t3://host1:5001/jndi/weblogic.management.mbeanservers.domainruntime
    [wldeploy] [ServerConnectionImpl.getMBeanServer():239] : Connecting to MBeanServer at service:jmx:t3://host1:5001/jndi/weblogic.management.mbeanservers.runtime
    [wldeploy] [DomainManager.resetDomain():36] : Getting new domain
    [wldeploy] [DomainManager.resetDomain():39] : Using pending domain: false
    [wldeploy] [MBeanCache.addNotificationListener():96] : Adding notification listener for weblogic.deploy.api.spi.deploy.mbeans.TargetCache@40ece0
    [wldeploy] [MBeanCache.addNotificationListener():103] : Added notification listener for weblogic.deploy.api.spi.deploy.mbeans.TargetCache@40ece0
    [wldeploy] [MBeanCache.addNotificationListener():96] : Adding notification listener for weblogic.deploy.api.spi.deploy.mbeans.ModuleCache@1954f89
    [wldeploy] [MBeanCache.addNotificationListener():103] : Added notification listener for weblogic.deploy.api.spi.deploy.mbeans.ModuleCache@1954f89
    [wldeploy] [ServerConnectionImpl.initialize():171] : Connected to WLS domain: OGPDomain
    [wldeploy] [ServerConnectionImpl.init():161] : Initializing ServerConnection : [email protected]e9
    [wldeploy] [BasicOperation.dumpTmids():690] : Incoming tmids:
    [wldeploy] [BasicOperation.dumpTmids():692] : {Target=ManagedServer1, WebLogicTargetType=server, Name=app1}, targeted=true
    [wldeploy] [RedeployOperation.setupPaths():86] : in place redeploy: false from moduleArchive: \\host1\ears\app.ear
    [wldeploy] [RedeployOperation.setupPaths():95] : redeploy src path: \\host1\ears\app.ear
    [wldeploy] [BasicOperation.deriveAppName():139] : appname established as: app1
    [wldeploy] <08-Aug-2007 10:18:00 o'clock IST> <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating redeploy operation for application, app1 [archive: \\host1\ears\app.ear], to ManagedServer1 .>
    [wldeploy] [BasicOperation.dumpTmids():690] : Incoming tmids:
    [wldeploy] [BasicOperation.dumpTmids():692] : {Target=ManagedServer1, WebLogicTargetType=server, Name=app1}, targeted=true
    [wldeploy] [BasicOperation.loadGeneralOptions():607] : Delete Files:false
    [wldeploy] Timeout :3600000
    [wldeploy] Targets:
    [wldeploy] ManagedServer1
    [wldeploy] ModuleTargets={}
    [wldeploy] SubModuleTargets={}
    [wldeploy] }
    [wldeploy] Files:
    [wldeploy] null
    [wldeploy] Deployment Plan: null
    [wldeploy] App root: C:\dev\RELEASE\config\deployments\conord\app1
    [wldeploy] App config: C:\dev\RELEASE\config\deployments\conord\app1\plan
    [wldeploy] Deployment Options: {isRetireGracefully=false,isGracefulProductionToAdmin=false,isGracefulIgnoreSessions=false,rmiGracePeriod=-1,retireTimeoutSecs=1,undeployAllVersions=false,archiveVersion=null,planVersion=null,isLibrary=false,libSpecVersion=null,libImplVersion=null,stageMode=null,clusterTimeout=3600000,altDD=null,altWlsDD=null,name=app1,securityModel=null,securityValidationEnabled=false,versionIdentifier=null,isTestMode=false,forceUndeployTimeout=0,defaultSubmoduleTargets=true,timeout=0}
    [wldeploy] [BasicOperation.execute():424] : Initiating redeploy operation for app, app1, on targets:
    [wldeploy] [BasicOperation.execute():426] : ManagedServer1
    [wldeploy] [RedeployOperation.initializeTask():55] : Starting task with path: \\host1\ears\app.ear
    [wldeploy] Task 69 initiated: [Deployer:149026]deploy application app1 on ManagedServer1.
    [wldeploy] Task 69 completed: [Deployer:149026]deploy application app1 on ManagedServer1.
    [wldeploy] Target state: redeploy completed on Server ManagedServer1
    [wldeploy]
    [wldeploy] [ServerConnectionImpl.close():334] : Closing DM connection
    [wldeploy] [ServerConnectionImpl.close():354] : Unregistered all listeners
    [wldeploy] [ServerConnectionImpl.closeJMX():374] : Closed JMX connection
    [wldeploy] [ServerConnectionImpl.closeJMX():386] : Closed Runtime JMX connection
    [wldeploy] [ServerConnectionImpl.closeJMX():398] : Closed Edit JMX connection
    install_app:
    install_app:
    BUILD SUCCESSFUL
    Total time: 21 seconds
    Thanks for your time,
    ConorD

    Daniel Greeney wrote:
    So I just purchased an internal drive (separate from my system drive) to use as a Time Machine drive, for both of my computers (only one partition). Since they will be backing up every day, I will retain much more recent material in case of drive failure.
    Let Time Machine back up every hour, as it's designed. That will protect you best.
    My question is this - if I have a drive failure on my current internal system drive, and the internal Time Machine is intact, is it possible for me to take my external bootable backup (say 3 weeks older than Time Machine in how recently it was backed up), make a cone of that on a new internal system drive, and then use Time Machine to restore that drive to what is most current on Time Machine?
    Does this question make sense?
    The question makes sense until you realize that Time Machine backups contain everything you need (unless you do something silly, like exclude your system files).
    Once the new drive is installed and formatted, you can restore your entire system from the TM backups faster than you can copy the clone to the new internal HD. See #14 in the Frequently Asked Questions *User Tip,* also at the top of this forum. Note that you use the Snow Leopard Install disc only for the Installer on it; you don't install OSX from it.

  • Add ejb.jar as a module into ear using jdeveloper

    hi all,
    i have problem with ejb.jar file.
    i want to add one ejb.jar module into jdeveloper application.
    I means i want to add into ear as dependencies.
    right now, I can only add jpr project as dependencies.
    Unfortunately my ejb.jar dont have source file.
    how can we achieve this?
    With Regards,
    WP

    OK, here is a working solution which I finally found myself:
    1. register the ejb references in the consuming web application manually (in web.xml)
    2. add the interfaces jar to the app APP-INF/lib file group (Application Libraries)
    3. add a new file group for libraries and add the ejb jar library (should be among the dependencies of some project to be available)
    4. the path in ear field should be empty so the ejb jar goes into root, but JDeveloper (11.1.1.4-6) in it's amazing helpfulness fills in lib all the time if field left empty: so edit the .jws xml directy and enter v="" in the according element and make sure to check if still empty whenever editing the profile

  • Re: Exploded directory format in an EAR

              I am now trying to deploy the ear file in v6.1 sp2. Has anyone managed to deploy
              an ear where util / third party classes are stored in a lib directory of the ear
              and referenced in EJB-jar manifest.mf files using the classpath header?
              ie as documented in bea weblogic server bible on page 614/615
              EntApp/
              accountEJB.jar
              accountManager.war
              /lib/
              xerces.jar
              xalan.jar
              log4j.jar
              /META-INF/
              application.xml
              "erik" <[email protected]> wrote:
              >
              >This is hearsay but I was recommended to use v 6.1 SP 2.
              >/erik
              >
              >"Ivan" <[email protected]> wrote:
              >>
              >>I have a problem wrapping up an exploded directory format application
              >>into an ear
              >>file running weblogic 6.0sp2 on winnt 4. One of the things I would like
              >>to do
              >>is load a config file from a helper class without specifying a path.
              >>
              >>
              >>EAR APP statementapp.ear contains: META-INF/MANIFEST.MF statement.jar
              >>statementwebapp.war
              >>META-INF/application.xml lib/log4j.jar (and other third party jar files
              >>crimson.jar,
              >>jaxp.jar etc.)
              >>
              >>The third party jar files have been manually unjar'ed and re-jar'ed
              >without
              >>compression
              >>(after reading that a suggestion to someone else).
              >>
              >>WEB APP statementwebapp.war contains: all my jsp's at root level WEB-INF/classes/uk/.../servlets
              >>- servlets WEB-INF/classes/uk/.../util - helper classes WEB-INF/tlds
              >>- tag library
              >>descriptors WEB-INF/web.xml & weblogic.xml - deployment descriptors
              >
              >>
              >>Some of the helper classes make use of configuration files (for example
              >>I have
              >>a Logger class that uses Log4j). Here is how I would like to access
              >the
              >>config
              >>file
              >>
              >>... private static final String config = "config.properties" ; PropertyConfigurator.configure(
              >>config ) ; ...
              >>
              >>I have tried putting the config.properties file in the WEB-INF/classes
              >>directory
              >>and in the WEB-INF directory, however they don't seem to be found by
              >>the class
              >>loader.
              >>
              >>EJB statement.jar contains an ejb with the following: uk...business.statement...
              >>- Statement ejb classes with ejbc generated stub and skeleton classes
              >>uk...util
              >>- Several Helper classes
              >>
              >>One such helper is Logger for which the Log4j jar file is needed. I
              >deploy
              >>the
              >>statement.jar file in the ear (as listed above). Weblogic throws an
              >error
              >>message
              >>saying cannot deploy statement (NoClassDefFound...): java.lang.NoClassDefFoundError:
              >>org/apache/log4j/Category ie it cannot find the log4j package which
              >is
              >>referenced
              >>in the Class-Path header of the manifest.mf file and located in the
              >ear
              >>file under
              >>the lib directory.
              >>
              >>The manifest.mf file contains a line with the following: Class-Path:
              >>lib/log4j.jar
              >>lib/crimson.jar lib/jaxp.jar which I have read should allow the enterprise
              >>classloader
              >>to pick up the log4j.jar and xml parsing classes (ref. weblogic server
              >>bible chap
              >>18) without needing to be referenced in the weblogic start up class
              >path.
              >>
              >>
              >>Can manifest class-path references be used like this in weblogic 6.0?
              >>Where should
              >>I put the application properties files in the war and jar files?
              >>
              >>Clarification much appreciated. Ivan.
              >>
              >>PS: I had this application working in exploded directory format with
              >>the jar files
              >>in the system classpath and the properties file locations hardcoded
              >in
              >>the class
              >>files. (not ideal for a clustered production environment!)
              >>
              >
              

              This is hearsay again.
              These people did as you did no compression etc. they were able to put the application's
              utility classes in a lib but not the third party jars. They suspected that the
              ear where to big to deploy so they put all thirdparty jars in the system classpath
              and then the internal utility classes were loaded by using CLASSPATH in the manifest
              file.
              I gave up because I could deploy everything except servlets and I went back to
              exploded deployment. That bloody EAR thing took to much time.
              If you succeed in everything including warfiles with JSPs and servlets (those
              I was talking about only had EJBs)
              let me know.
              I also had a peculiar problem with EARs that a cascading stylesheet was not found
              in the ear but it worked in an exploded it worked fine
              Otherwise I must recommend Orion, which I had up and running in a matter of days
              when ported from WLS 5.1.
              Good luck.
              "Ivan" <[email protected]> wrote:
              >
              >I am now trying to deploy the ear file in v6.1 sp2. Has anyone managed
              >to deploy
              >an ear where util / third party classes are stored in a lib directory
              >of the ear
              >and referenced in EJB-jar manifest.mf files using the classpath header?
              >
              >ie as documented in bea weblogic server bible on page 614/615
              >EntApp/
              > accountEJB.jar
              > accountManager.war
              > /lib/
              > xerces.jar
              > xalan.jar
              > log4j.jar
              > /META-INF/
              > application.xml
              >
              >"erik" <[email protected]> wrote:
              >>
              >>This is hearsay but I was recommended to use v 6.1 SP 2.
              >>/erik
              >>
              >>"Ivan" <[email protected]> wrote:
              >>>
              >>>I have a problem wrapping up an exploded directory format application
              >>>into an ear
              >>>file running weblogic 6.0sp2 on winnt 4. One of the things I would
              >like
              >>>to do
              >>>is load a config file from a helper class without specifying a path.
              >>>
              >>>
              >>>EAR APP statementapp.ear contains: META-INF/MANIFEST.MF statement.jar
              >>>statementwebapp.war
              >>>META-INF/application.xml lib/log4j.jar (and other third party jar files
              >>>crimson.jar,
              >>>jaxp.jar etc.)
              >>>
              >>>The third party jar files have been manually unjar'ed and re-jar'ed
              >>without
              >>>compression
              >>>(after reading that a suggestion to someone else).
              >>>
              >>>WEB APP statementwebapp.war contains: all my jsp's at root level WEB-INF/classes/uk/.../servlets
              >>>- servlets WEB-INF/classes/uk/.../util - helper classes WEB-INF/tlds
              >>>- tag library
              >>>descriptors WEB-INF/web.xml & weblogic.xml - deployment descriptors
              >>
              >>>
              >>>Some of the helper classes make use of configuration files (for example
              >>>I have
              >>>a Logger class that uses Log4j). Here is how I would like to access
              >>the
              >>>config
              >>>file
              >>>
              >>>... private static final String config = "config.properties" ; PropertyConfigurator.configure(
              >>>config ) ; ...
              >>>
              >>>I have tried putting the config.properties file in the WEB-INF/classes
              >>>directory
              >>>and in the WEB-INF directory, however they don't seem to be found by
              >>>the class
              >>>loader.
              >>>
              >>>EJB statement.jar contains an ejb with the following: uk...business.statement...
              >>>- Statement ejb classes with ejbc generated stub and skeleton classes
              >>>uk...util
              >>>- Several Helper classes
              >>>
              >>>One such helper is Logger for which the Log4j jar file is needed. I
              >>deploy
              >>>the
              >>>statement.jar file in the ear (as listed above). Weblogic throws an
              >>error
              >>>message
              >>>saying cannot deploy statement (NoClassDefFound...): java.lang.NoClassDefFoundError:
              >>>org/apache/log4j/Category ie it cannot find the log4j package which
              >>is
              >>>referenced
              >>>in the Class-Path header of the manifest.mf file and located in the
              >>ear
              >>>file under
              >>>the lib directory.
              >>>
              >>>The manifest.mf file contains a line with the following: Class-Path:
              >>>lib/log4j.jar
              >>>lib/crimson.jar lib/jaxp.jar which I have read should allow the enterprise
              >>>classloader
              >>>to pick up the log4j.jar and xml parsing classes (ref. weblogic server
              >>>bible chap
              >>>18) without needing to be referenced in the weblogic start up class
              >>path.
              >>>
              >>>
              >>>Can manifest class-path references be used like this in weblogic 6.0?
              >>>Where should
              >>>I put the application properties files in the war and jar files?
              >>>
              >>>Clarification much appreciated. Ivan.
              >>>
              >>>PS: I had this application working in exploded directory format with
              >>>the jar files
              >>>in the system classpath and the properties file locations hardcoded
              >>in
              >>>the class
              >>>files. (not ideal for a clustered production environment!)
              >>>
              >>
              >
              

  • Exploded directory format in an EAR

              I have a problem wrapping up an exploded directory format application into an ear
              file running weblogic 6.0sp2 on winnt 4. One of the things I would like to do
              is load a config file from a helper class without specifying a path.
              EAR APP statementapp.ear contains: META-INF/MANIFEST.MF statement.jar statementwebapp.war
              META-INF/application.xml lib/log4j.jar (and other third party jar files crimson.jar,
              jaxp.jar etc.)
              The third party jar files have been manually unjar'ed and re-jar'ed without compression
              (after reading that a suggestion to someone else).
              WEB APP statementwebapp.war contains: all my jsp's at root level WEB-INF/classes/uk/.../servlets
              - servlets WEB-INF/classes/uk/.../util - helper classes WEB-INF/tlds - tag library
              descriptors WEB-INF/web.xml & weblogic.xml - deployment descriptors
              Some of the helper classes make use of configuration files (for example I have
              a Logger class that uses Log4j). Here is how I would like to access the config
              file
              .. private static final String config = "config.properties" ; PropertyConfigurator.configure(
              config ) ; ...
              I have tried putting the config.properties file in the WEB-INF/classes directory
              and in the WEB-INF directory, however they don't seem to be found by the class
              loader.
              EJB statement.jar contains an ejb with the following: uk...business.statement...
              - Statement ejb classes with ejbc generated stub and skeleton classes uk...util
              - Several Helper classes
              One such helper is Logger for which the Log4j jar file is needed. I deploy the
              statement.jar file in the ear (as listed above). Weblogic throws an error message
              saying cannot deploy statement (NoClassDefFound...): java.lang.NoClassDefFoundError:
              org/apache/log4j/Category ie it cannot find the log4j package which is referenced
              in the Class-Path header of the manifest.mf file and located in the ear file under
              the lib directory.
              The manifest.mf file contains a line with the following: Class-Path: lib/log4j.jar
              lib/crimson.jar lib/jaxp.jar which I have read should allow the enterprise classloader
              to pick up the log4j.jar and xml parsing classes (ref. weblogic server bible chap
              18) without needing to be referenced in the weblogic start up class path.
              Can manifest class-path references be used like this in weblogic 6.0? Where should
              I put the application properties files in the war and jar files?
              Clarification much appreciated. Ivan.
              PS: I had this application working in exploded directory format with the jar files
              in the system classpath and the properties file locations hardcoded in the class
              files. (not ideal for a clustered production environment!)
              

              This is hearsay but I was recommended to use v 6.1 SP 2.
              /erik
              "Ivan" <[email protected]> wrote:
              >
              >I have a problem wrapping up an exploded directory format application
              >into an ear
              >file running weblogic 6.0sp2 on winnt 4. One of the things I would like
              >to do
              >is load a config file from a helper class without specifying a path.
              >
              >
              >EAR APP statementapp.ear contains: META-INF/MANIFEST.MF statement.jar
              >statementwebapp.war
              >META-INF/application.xml lib/log4j.jar (and other third party jar files
              >crimson.jar,
              >jaxp.jar etc.)
              >
              >The third party jar files have been manually unjar'ed and re-jar'ed without
              >compression
              >(after reading that a suggestion to someone else).
              >
              >WEB APP statementwebapp.war contains: all my jsp's at root level WEB-INF/classes/uk/.../servlets
              >- servlets WEB-INF/classes/uk/.../util - helper classes WEB-INF/tlds
              >- tag library
              >descriptors WEB-INF/web.xml & weblogic.xml - deployment descriptors
              >
              >Some of the helper classes make use of configuration files (for example
              >I have
              >a Logger class that uses Log4j). Here is how I would like to access the
              >config
              >file
              >
              >... private static final String config = "config.properties" ; PropertyConfigurator.configure(
              >config ) ; ...
              >
              >I have tried putting the config.properties file in the WEB-INF/classes
              >directory
              >and in the WEB-INF directory, however they don't seem to be found by
              >the class
              >loader.
              >
              >EJB statement.jar contains an ejb with the following: uk...business.statement...
              >- Statement ejb classes with ejbc generated stub and skeleton classes
              >uk...util
              >- Several Helper classes
              >
              >One such helper is Logger for which the Log4j jar file is needed. I deploy
              >the
              >statement.jar file in the ear (as listed above). Weblogic throws an error
              >message
              >saying cannot deploy statement (NoClassDefFound...): java.lang.NoClassDefFoundError:
              >org/apache/log4j/Category ie it cannot find the log4j package which is
              >referenced
              >in the Class-Path header of the manifest.mf file and located in the ear
              >file under
              >the lib directory.
              >
              >The manifest.mf file contains a line with the following: Class-Path:
              >lib/log4j.jar
              >lib/crimson.jar lib/jaxp.jar which I have read should allow the enterprise
              >classloader
              >to pick up the log4j.jar and xml parsing classes (ref. weblogic server
              >bible chap
              >18) without needing to be referenced in the weblogic start up class path.
              >
              >
              >Can manifest class-path references be used like this in weblogic 6.0?
              >Where should
              >I put the application properties files in the war and jar files?
              >
              >Clarification much appreciated. Ivan.
              >
              >PS: I had this application working in exploded directory format with
              >the jar files
              >in the system classpath and the properties file locations hardcoded in
              >the class
              >files. (not ideal for a clustered production environment!)
              >
              

  • Deploying ear On Java Cloud

    Hi
    I have application which is developed in Jdeveloper 11.1.2.2
    and same application is deployed in weblogic11g and running fine
    same application i tried to deployed in java cloud but i got following errors in log.
    2012-12-26 04:22:27 CST: ERROR - There are 103 error(s) found for PIS.ear
    2012-12-26 04:22:27 CST: ERROR - Path:PIS.ear (103 Errors)
    2012-12-26 04:22:27 CST: ERROR - Path:PIS.ear (103 Errors)
    2012-12-26 04:22:27 CST: ERROR - Path:pisWAR.war (103 Errors)
    2012-12-26 04:22:27 CST: ERROR - Class:ziic.util.DBManager (4 Errors)
    2012-12-26 04:22:27 CST: ERROR - 1:Type "java.sql.DriverManager" not allowed.
    (Line No:37 Method
    Name:java.sql.DriverManager->registerDriver(java.sql.Driver))
    2012-12-26 04:22:27 CST: ERROR - 2:Type "java.sql.DriverManager" not allowed.
    (Line No:38 Method
    Name:java.sql.DriverManager->getConnection(java.lang.String,
    java.lang.String, java.lang.String))
    2012-12-26 04:22:27 CST: ERROR - 3:Type "java.sql.DriverManager" not allowed.
    (Line No:56 Method
    Name:java.sql.DriverManager->registerDriver(java.sql.Driver))
    2012-12-26 04:22:27 CST: ERROR - 4:Type "java.sql.DriverManager" not allowed.
    (Line No:57 Method
    Name:java.sql.DriverManager->getConnection(java.lang.String,
    java.lang.String, java.lang.String))
    2012-12-26 04:22:27 CST: ERROR - Class:ziic.xmlengine.controller.XmlHandler (4 Errors)
    2012-12-26 04:22:27 CST: ERROR - 1:Type "java.sql.DriverManager" not allowed.
    (Line No:308 Method
    Name:java.sql.DriverManager->registerDriver(java.sql.Driver))
    2012-12-26 04:22:27 CST: ERROR - 2:Type "java.sql.DriverManager" not allowed.
    (Line No:309 Method
    Name:java.sql.DriverManager->getConnection(java.lang.String,
    java.lang.String, java.lang.String))
    2012-12-26 04:22:27 CST: ERROR - 3:Type "java.sql.DriverManager" not allowed.
    (Line No:331 Method
    Name:java.sql.DriverManager->registerDriver(java.sql.Driver))
    2012-12-26 04:22:27 CST: ERROR - 4:Type "java.sql.DriverManager" not allowed.
    (Line No:332 Method
    Name:java.sql.DriverManager->getConnection(java.lang.String,
    java.lang.String, java.lang.String))
    2012-12-26 04:22:27 CST: ERROR - Path:WEB-INF****-5.3.2.jar (95 Errors)
    2012-12-26 04:22:27 CST: ERROR - Class:com.itextpdf.text.pdf.PdfEncryption (2 Errors)
    2012-12-26 04:22:27 CST: ERROR - 1:Type "java.lang.Runtime" not allowed.
    (Line No:486 Method Name:java.lang.Runtime->getRuntime())
    2012-12-26 04:22:27 CST: ERROR - 2:Type "java.lang.Runtime" not allowed.
    (Line No:486 Method Name:java.lang.Runtime->freeMemory())
    2012-12-26 04:22:27 CST: ERROR - Class:com.itextpdf.text.pdf.RandomAccessFileOrArray (8 Errors)
    2012-12-26 04:22:27 CST: ERROR - 1:Type "java.nio.ByteBuffer" not allowed.
    (Return type at method:getNioByteBuffer
    ->OnClassSignature:java.nio.ByteBuffer)
    2012-12-26 04:22:27 CST: ERROR - 2:Type "java.nio.channels.FileChannel.MapMode" not allowed.
    (Line No:696 Field Name:java.nio.channels.FileChannel.MapMode->READ_ONLY)
    2012-12-26 04:22:27 CST: ERROR - 3:Type "java.nio.channels.FileChannel.MapMode" not allowed.
    (Line No:696 Field Name:java.nio.channels.FileChannel.MapMode->READ_ONLY
    ->OnClassSignature:java.nio.channels.FileChannel.MapMode)
    2012-12-26 04:22:27 CST: ERROR - 4:Type "java.nio.channels.FileChannel" not allowed.
    (Line No:696 Method Name:java.nio.channels.FileChannel->size())
    2012-12-26 04:22:27 CST: ERROR - 5:Type "java.nio.channels.FileChannel" not allowed.
    (Line No:696 Method
    Name:java.nio.channels.FileChannel->map(java.nio.channels.FileChannel.
    MapMode, long, long))
    2012-12-26 04:22:27 CST: ERROR - 6:Type "java.nio.ByteBuffer" not allowed.
    (Line No:698 Method Name:java.nio.ByteBuffer->wrap(byte[]))
    2012-12-26 04:22:27 CST: ERROR - 7:Type "java.nio.channels.FileChannel" not allowed.
    (Line No:693 Variable Name:java.nio.channels.FileChannel channel
    ->OnClassSignature:java.nio.channels.FileChannel)
    2012-12-26 04:22:27 CST: ERROR - 8:Type "java.nio.channels.FileChannel" not allowed.
    (Line No:695 Variable Name:java.nio.channels.FileChannel channel
    ->OnClassSignature:java.nio.channels.FileChannel)
    2012-12-26 04:22:27 CST: ERROR - Class:com.itextpdf.text.pdf.crypto.IVGenerator (2 Errors)
    2012-12-26 04:22:27 CST: ERROR - 1:Type "java.lang.Runtime" not allowed.
    (Line No:57 Method Name:java.lang.Runtime->getRuntime())
    2012-12-26 04:22:27 CST: ERROR - 2:Type "java.lang.Runtime" not allowed.
    (Line No:57 Method Name:java.lang.Runtime->freeMemory())
    2012-12-26 04:22:27 CST: ERROR - Class:com.itextpdf.text.pdf.MappedRandomAccessFile.1 (5 Errors)
    2012-12-26 04:22:27 CST: ERROR - 1:Type "java.nio.ByteBuffer" not allowed.
    (Signature for field:val$buffer ->OnClassSignature:java.nio.ByteBuffer)
    2012-12-26 04:22:27 CST: ERROR - 2:Type "java.nio.ByteBuffer" not allowed.
    (Argument signature at index (starting with 0):0 for method:<init>
    ->OnClassSignature:java.nio.ByteBuffer)
    2012-12-26 04:22:27 CST: ERROR - 3:Type "java.nio.ByteBuffer" not allowed.
    (Line No:256 Field
    Name:com.itextpdf.text.pdf.MappedRandomAccessFile.1->val$buffer
    ->OnClassSignature:java.nio.ByteBuffer)
    2012-12-26 04:22:27 CST: ERROR - 4:Type "java.nio.ByteBuffer" not allowed.
    (Line No:259 Field
    Name:com.itextpdf.text.pdf.MappedRandomAccessFile.1->val$buffer
    ->OnClassSignature:java.nio.ByteBuffer)
    2012-12-26 04:22:27 CST: ERROR - 5:Type "java.nio.ByteBuffer" not allowed.
    (Line No:261 Field
    Name:com.itextpdf.text.pdf.MappedRandomAccessFile.1->val$buffer
    ->OnClassSignature:java.nio.ByteBuffer)
    2012-12-26 04:22:27 CST: ERROR - Class:com.itextpdf.text.pdf.MappedRandomAccessFile (49 Errors)
    2012-12-26 04:22:27 CST: ERROR - 1:Type "java.nio.channels.FileChannel" not allowed.
    (Signature for field:channel
    ->OnClassSignature:java.nio.channels.FileChannel)
    2012-12-26 04:22:27 CST: ERROR - 2:Type "java.nio.MappedByteBuffer" not allowed.
    (Signature for field:mappedBuffers ->Array component-type
    ->OnClassSignature:java.nio.MappedByteBuffer)
    2012-12-26 04:22:27 CST: ERROR - 3:Type "java.nio.channels.FileChannel" not allowed.
    (Line No:66 Field
    Name:com.itextpdf.text.pdf.MappedRandomAccessFile->channel
    ->OnClassSignature:java.nio.channels.FileChannel)
    2012-12-26 04:22:27 CST: ERROR - 4:Type "java.nio.channels.FileChannel.MapMode" not allowed.
    (Line No:82 Field Name:java.nio.channels.FileChannel.MapMode->READ_WRITE)
    2012-12-26 04:22:27 CST: ERROR - 5:Type "java.nio.channels.FileChannel.MapMode" not allowed.
    (Line No:82 Field Name:java.nio.channels.FileChannel.MapMode->READ_WRITE
    ->OnClassSignature:java.nio.channels.FileChannel.MapMode)
    2012-12-26 04:22:27 CST: ERROR - 6:Type "java.nio.channels.FileChannel" not allowed.
    (Line No:82 Method
    Name:com.itextpdf.text.pdf.MappedRandomAccessFile->init(java.nio.
    channels.FileChannel, java.nio.channels.FileChannel.MapMode))
    2012-12-26 04:22:27 CST: ERROR - 7:Type "java.nio.channels.FileChannel.MapMode" not allowed.
    (Line No:86 Field Name:java.nio.channels.FileChannel.MapMode->READ_ONLY)
    2012-12-26 04:22:27 CST: ERROR - 8:Type "java.nio.channels.FileChannel.MapMode" not allowed.
    (Line No:86 Field Name:java.nio.channels.FileChannel.MapMode->READ_ONLY
    ->OnClassSignature:java.nio.channels.FileChannel.MapMode)
    2012-12-26 04:22:27 CST: ERROR - 9:Type "java.nio.channels.FileChannel" not allowed.
    (Line No:86 Method
    Name:com.itextpdf.text.pdf.MappedRandomAccessFile->init(java.nio.
    channels.FileChannel, java.nio.channels.FileChannel.MapMode))
    2012-12-26 04:22:27 CST: ERROR - 10:Type "java.nio.channels.FileChannel" not allowed.
    (Argument signature at index (starting with 0):0 for method:init
    ->OnClassSignature:java.nio.channels.FileChannel)
    2012-12-26 04:22:27 CST: ERROR - 11:Type "java.nio.channels.FileChannel.MapMode" not allowed.
    (Argument signature at index (starting with 0):1 for method:init
    ->OnClassSignature:java.nio.channels.FileChannel.MapMode)
    2012-12-26 04:22:27 CST: ERROR - 12:Type "java.nio.channels.FileChannel" not allowed.
    (Line No:101 Field
    Name:com.itextpdf.text.pdf.MappedRandomAccessFile->channel
    ->OnClassSignature:java.nio.channels.FileChannel)
    2012-12-26 04:22:27 CST: ERROR - 13:Type "java.nio.channels.FileChannel" not allowed.
    (Line No:104 Method Name:java.nio.channels.FileChannel->size())
    2012-12-26 04:22:27 CST: ERROR - 14:Type "java.nio.MappedByteBuffer" not allowed.
    (Line No:109 Type Name:java.nio.MappedByteBuffer)
    2012-12-26 04:22:27 CST: ERROR - 15:Type "java.nio.MappedByteBuffer" not allowed.
    (Line No:109 Field
    Name:com.itextpdf.text.pdf.MappedRandomAccessFile->mappedBuffers ->Array
    component-type ->OnClassSignature:java.nio.MappedByteBuffer)
    2012-12-26 04:22:27 CST: ERROR - 16:Type "java.nio.MappedByteBuffer" not allowed.
    (Line No:114 Field
    Name:com.itextpdf.text.pdf.MappedRandomAccessFile->mappedBuffers ->Array
    component-type ->OnClassSignature:java.nio.MappedByteBuffer)
    2012-12-26 04:22:27 CST: ERROR - 17:Type "java.nio.channels.FileChannel" not allowed.
    (Line No:114 Method
    Name:java.nio.channels.FileChannel->map(java.nio.channels.FileChannel.
    MapMode, long, long))
    2012-12-26 04:22:27 CST: ERROR - 18:Type "java.nio.MappedByteBuffer" not allowed.
    (Line No:115 Field
    Name:com.itextpdf.text.pdf.MappedRandomAccessFile->mappedBuffers ->Array
    component-type ->OnClassSignature:java.nio.MappedByteBuffer)
    2012-12-26 04:22:27 CST: ERROR - 19:Type "java.nio.MappedByteBuffer" not allowed.
    (Line No:115 Method Name:java.nio.MappedByteBuffer->load())
    2012-12-26 04:22:27 CST: ERROR - 20:Type "java.nio.channels.FileChannel" not allowed.
    (Line No:101 Variable Name:java.nio.channels.FileChannel channel
    ->OnClassSignature:java.nio.channels.FileChannel)
    2012-12-26 04:22:27 CST: ERROR - 21:Type "java.nio.channels.FileChannel.MapMode" not allowed.
    (Line No:101 Variable Name:java.nio.channels.FileChannel.MapMode mapMode
    ->OnClassSignature:java.nio.channels.FileChannel.MapMode)
    2012-12-26 04:22:27 CST: ERROR - 22:Type "java.nio.channels.FileChannel" not allowed.
    (Return type at method:getChannel
    ->OnClassSignature:java.nio.channels.FileChannel)
    2012-12-26 04:22:27 CST: ERROR - 23:Type "java.nio.channels.FileChannel" not allowed.
    (Line No:135 Field
    Name:com.itextpdf.text.pdf.MappedRandomAccessFile->channel
    ->OnClassSignature:java.nio.channels.FileChannel)
    2012-12-26 04:22:27 CST: ERROR - 24:Type "java.nio.MappedByteBuffer" not allowed.
    (Line No:147 Field
    Name:com.itextpdf.text.pdf.MappedRandomAccessFile->mappedBuffers ->Array
    component-type ->OnClassSignature:java.nio.MappedByteBuffer)
    2012-12-26 04:22:27 CST: ERROR - 25:Type "java.nio.MappedByteBuffer" not allowed.
    (Line No:150 Field
    Name:com.itextpdf.text.pdf.MappedRandomAccessFile->mappedBuffers ->Array
    component-type ->OnClassSignature:java.nio.MappedByteBuffer)
    2012-12-26 04:22:27 CST: ERROR - 26:Type "java.nio.MappedByteBuffer" not allowed.
    (Line No:150 Method Name:java.nio.MappedByteBuffer->limit())
    2012-12-26 04:22:27 CST: ERROR - 27:Type "java.nio.MappedByteBuffer" not allowed.
    (Line No:153 Field
    Name:com.itextpdf.text.pdf.MappedRandomAccessFile->mappedBuffers ->Array
    component-type ->OnClassSignature:java.nio.MappedByteBuffer)
    2012-12-26 04:22:27 CST: ERROR - 28:Type "java.nio.MappedByteBuffer" not allowed.
    (Line No:153 Method Name:java.nio.MappedByteBuffer->get(int))
    2012-12-26 04:22:27 CST: ERROR - 29:Type "java.nio.BufferUnderflowException" not allowed.
    (Line No:158 Variable Name:java.nio.BufferUnderflowException e
    ->OnClassSignature:java.nio.BufferUnderflowException)
    2012-12-26 04:22:27 CST: ERROR - 30:Type "java.nio.MappedByteBuffer" not allowed.
    (Line No:176 Field
    Name:com.itextpdf.text.pdf.MappedRandomAccessFile->mappedBuffers ->Array
    component-type ->OnClassSignature:java.nio.MappedByteBuffer)
    2012-12-26 04:22:27 CST: ERROR - 31:Type "java.nio.MappedByteBuffer" not allowed.
    (Line No:178 Field
    Name:com.itextpdf.text.pdf.MappedRandomAccessFile->mappedBuffers ->Array
    component-type ->OnClassSignature:java.nio.MappedByteBuffer)
    2012-12-26 04:22:27 CST: ERROR - 32:Type "java.nio.MappedByteBuffer" not allowed.
    (Line No:179 Method Name:java.nio.MappedByteBuffer->limit())
    2012-12-26 04:22:27 CST: ERROR - 33:Type "java.nio.MappedByteBuffer" not allowed.
    (Line No:181 Method Name:java.nio.MappedByteBuffer->position(int))
    2012-12-26 04:22:27 CST: ERROR - 34:Type "java.nio.MappedByteBuffer" not allowed.
    (Line No:182 Method Name:java.nio.MappedByteBuffer->remaining())
    2012-12-26 04:22:27 CST: ERROR - 35:Type "java.nio.MappedByteBuffer" not allowed.
    (Line No:183 Method Name:java.nio.MappedByteBuffer->get(byte[], int, int)
    2012-12-26 04:22:27 CST: ERROR - 36:Type "java.nio.MappedByteBuffer" not allowed.
    (Line No:178 Variable Name:java.nio.MappedByteBuffer currentBuffer
    ->OnClassSignature:java.nio.MappedByteBuffer)
    2012-12-26 04:22:27 CST: ERROR - 37:Type "java.nio.MappedByteBuffer" not allowed.
    (Line No:224 Field
    Name:com.itextpdf.text.pdf.MappedRandomAccessFile->mappedBuffers ->Array
    component-type ->OnClassSignature:java.nio.MappedByteBuffer)
    2012-12-26 04:22:27 CST: ERROR - 38:Type "java.nio.MappedByteBuffer" not allowed.
    (Line No:225 Field
    Name:com.itextpdf.text.pdf.MappedRandomAccessFile->mappedBuffers ->Array
    component-type ->OnClassSignature:java.nio.MappedByteBuffer)
    2012-12-26 04:22:27 CST: ERROR - 39:Type "java.nio.MappedByteBuffer" not allowed.
    (Line No:226 Field
    Name:com.itextpdf.text.pdf.MappedRandomAccessFile->mappedBuffers ->Array
    component-type ->OnClassSignature:java.nio.MappedByteBuffer)
    2012-12-26 04:22:27 CST: ERROR - 40:Type "java.nio.ByteBuffer" not allowed.
    (Line No:226 Method
    Name:com.itextpdf.text.pdf.MappedRandomAccessFile->clean(java.nio.
    ByteBuffer))
    2012-12-26 04:22:27 CST: ERROR - 41:Type "java.nio.MappedByteBuffer" not allowed.
    (Line No:227 Field
    Name:com.itextpdf.text.pdf.MappedRandomAccessFile->mappedBuffers ->Array
    component-type ->OnClassSignature:java.nio.MappedByteBuffer)
    2012-12-26 04:22:27 CST: ERROR - 42:Type "java.nio.channels.FileChannel" not allowed.
    (Line No:231 Field
    Name:com.itextpdf.text.pdf.MappedRandomAccessFile->channel
    ->OnClassSignature:java.nio.channels.FileChannel)
    2012-12-26 04:22:27 CST: ERROR - 43:Type "java.nio.channels.FileChannel" not allowed.
    (Line No:232 Field
    Name:com.itextpdf.text.pdf.MappedRandomAccessFile->channel
    ->OnClassSignature:java.nio.channels.FileChannel)
    2012-12-26 04:22:27 CST: ERROR - 44:Type "java.nio.channels.FileChannel" not allowed.
    (Line No:232 Method Name:java.nio.channels.FileChannel->close())
    2012-12-26 04:22:27 CST: ERROR - 45:Type "java.nio.channels.FileChannel" not allowed.
    (Line No:233 Field
    Name:com.itextpdf.text.pdf.MappedRandomAccessFile->channel
    ->OnClassSignature:java.nio.channels.FileChannel)
    2012-12-26 04:22:27 CST: ERROR - 46:Type "java.nio.ByteBuffer" not allowed.
    (Argument signature at index (starting with 0):0 for method:clean
    ->OnClassSignature:java.nio.ByteBuffer)
    2012-12-26 04:22:27 CST: ERROR - 47:Type "java.nio.ByteBuffer" not allowed.
    (Line No:252 Method Name:java.nio.ByteBuffer->isDirect())
    2012-12-26 04:22:27 CST: ERROR - 48:Type "java.nio.ByteBuffer" not allowed.
    (Line No:255
    Constructor:com.itextpdf.text.pdf.MappedRandomAccessFile.1(java.nio.
    ByteBuffer))
    2012-12-26 04:22:27 CST: ERROR - 49:Type "java.nio.ByteBuffer" not allowed.
    (Line No:252 Variable Name:java.nio.ByteBuffer buffer
    ->OnClassSignature:java.nio.ByteBuffer)
    2012-12-26 04:22:27 CST: ERROR - Class:com.itextpdf.text.pdf.CompareTool (15 Errors)
    2012-12-26 04:22:27 CST: ERROR - 1:Type "java.lang.Runtime" not allowed.
    (Line No:108 Method Name:java.lang.Runtime->getRuntime())
    2012-12-26 04:22:27 CST: ERROR - 2:Type "java.lang.Runtime" not allowed.
    (Line No:108 Method Name:java.lang.Runtime->exec(java.lang.String))
    2012-12-26 04:22:27 CST: ERROR - 3:Type "java.lang.Process" not allowed.
    (Line No:109 Method Name:java.lang.Process->getInputStream())
    2012-12-26 04:22:27 CST: ERROR - 4:Type "java.lang.Process" not allowed.
    (Line No:110 Method Name:java.lang.Process->getErrorStream())
    2012-12-26 04:22:27 CST: ERROR - 5:Type "java.lang.Process" not allowed.
    (Line No:120 Method Name:java.lang.Process->waitFor())
    2012-12-26 04:22:27 CST: ERROR - 6:Type "java.lang.Runtime" not allowed.
    (Line No:122 Method Name:java.lang.Runtime->getRuntime())
    2012-12-26 04:22:27 CST: ERROR - 7:Type "java.lang.Runtime" not allowed.
    (Line No:122 Method Name:java.lang.Runtime->exec(java.lang.String))
    2012-12-26 04:22:27 CST: ERROR - 8:Type "java.lang.Process" not allowed.
    (Line No:123 Method Name:java.lang.Process->getInputStream())
    2012-12-26 04:22:27 CST: ERROR - 9:Type "java.lang.Process" not allowed.
    (Line No:124 Method Name:java.lang.Process->getErrorStream())
    2012-12-26 04:22:27 CST: ERROR - 10:Type "java.lang.Process" not allowed.
    (Line No:133 Method Name:java.lang.Process->waitFor())
    2012-12-26 04:22:27 CST: ERROR - 11:Type "java.lang.Runtime" not allowed.
    (Line No:159 Method Name:java.lang.Runtime->getRuntime())
    2012-12-26 04:22:27 CST: ERROR - 12:Type "java.lang.Runtime" not allowed.
    (Line No:159 Method Name:java.lang.Runtime->exec(java.lang.String))
    2012-12-26 04:22:27 CST: ERROR - 13:Type "java.lang.Process" not allowed.
    (Line No:160 Method Name:java.lang.Process->getErrorStream())
    2012-12-26 04:22:27 CST: ERROR - 14:Type "java.lang.Process" not allowed.
    (Line No:165 Method Name:java.lang.Process->waitFor())
    2012-12-26 04:22:27 CST: ERROR - 15:Type "java.lang.Process" not allowed.
    (Line No:108 Variable Name:java.lang.Process p
    ->OnClassSignature:java.lang.Process)
    2012-12-26 04:22:27 CST: ERROR - Class:com.itextpdf.text.pdf.PdfEncodings (14 Errors)
    2012-12-26 04:22:27 CST: ERROR - 1:Type "java.nio.CharBuffer" not allowed.
    (Line No:189 Method Name:java.nio.CharBuffer->wrap(char[]))
    2012-12-26 04:22:27 CST: ERROR - 2:Type "java.nio.CharBuffer" not allowed.
    (Line No:190 Method
    Name:java.nio.charset.CharsetEncoder->encode(java.nio.CharBuffer))
    2012-12-26 04:22:27 CST: ERROR - 3:Type "java.nio.ByteBuffer" not allowed.
    (Line No:191 Method Name:java.nio.ByteBuffer->rewind())
    2012-12-26 04:22:27 CST: ERROR - 4:Type "java.nio.ByteBuffer" not allowed.
    (Line No:192 Method Name:java.nio.ByteBuffer->limit())
    2012-12-26 04:22:27 CST: ERROR - 5:Type "java.nio.ByteBuffer" not allowed.
    (Line No:194 Method Name:java.nio.ByteBuffer->get(byte[]))
    2012-12-26 04:22:27 CST: ERROR - 6:Type "java.nio.CharBuffer" not allowed.
    (Line No:189 Variable Name:java.nio.CharBuffer cb
    ->OnClassSignature:java.nio.CharBuffer)
    2012-12-26 04:22:27 CST: ERROR - 7:Type "java.nio.ByteBuffer" not allowed.
    (Line No:190 Variable Name:java.nio.ByteBuffer bb
    ->OnClassSignature:java.nio.ByteBuffer)
    2012-12-26 04:22:27 CST: ERROR - 8:Type "java.nio.CharBuffer" not allowed.
    (Line No:246 Method Name:java.nio.CharBuffer->wrap(char[]))
    2012-12-26 04:22:27 CST: ERROR - 9:Type "java.nio.CharBuffer" not allowed.
    (Line No:247 Method
    Name:java.nio.charset.CharsetEncoder->encode(java.nio.CharBuffer))
    2012-12-26 04:22:27 CST: ERROR - 10:Type "java.nio.ByteBuffer" not allowed.
    (Line No:248 Method Name:java.nio.ByteBuffer->rewind())
    2012-12-26 04:22:27 CST: ERROR - 11:Type "java.nio.ByteBuffer" not allowed.
    (Line No:249 Method Name:java.nio.ByteBuffer->limit())
    2012-12-26 04:22:27 CST: ERROR - 12:Type "java.nio.ByteBuffer" not allowed.
    (Line No:251 Method Name:java.nio.ByteBuffer->get(byte[]))
    2012-12-26 04:22:27 CST: ERROR - 13:Type "java.nio.CharBuffer" not allowed.
    (Line No:246 Variable Name:java.nio.CharBuffer cb
    ->OnClassSignature:java.nio.CharBuffer)
    2012-12-26 04:22:27 CST: ERROR - 14:Type "java.nio.ByteBuffer" not allowed.
    (Line No:247 Variable Name:java.nio.ByteBuffer bb
    ->OnClassSignature:java.nio.ByteBuffer)
    2012-12-26 04:22:27 CST: ERROR - PIS.ear Failed with 103 error(s).
    2012-12-26 04:22:27 CST: Whitelist validation failed.
    2012-12-26 04:22:27 CST: "API Whitelist" complete: status FAILED
    If anybody knows solution let me know thanks in advance

    Hello,
    What you're seeing is whitelist violations. These are APIs which may be perfectly fine in an on-premise implementation, but are not compatible with the Java Cloud Service (JCS). See http://docs.oracle.com/cloud/CSJSU/dev_app.htm#BCEEFEBF for more information about the JCS whitelist. In particular, I see violations in your error due to direct SQL access, non-blocking IO, and so on.
    To deploy your application to the JCS, you'll need to remove these APIs and dependencies. You can also use the whitelist tool included with the Cloud SDK to check your application before you attempt to deploy it to the cloud.
    Hope that helps!
    Best regards,
    Chris Loschen
    Oracle Java Cloud Service Support

  • Error messages when installing/starting oc4j (11.1.1.0.0) Technical Preview

    Hello,
    Could someone please assist me with the following error messages?
    08/08/12 10:25:30 SEVERE: AbstractInfo.getAnnotation oracle.webservices.annotations.async.AsyncWebService cannot be found in the given classpath.
    08/08/12 10:25:30 SEVERE: AbstractInfo.getAnnotation oracle.webservices.annotations.async.AsyncWebService cannot be found in the given classpath.
    08/08/12 10:25:32 Don't know how to map non-serializable type: interface javax.management.j2ee.statistics.Stats to Open MBean Type.
    08/08/12 10:25:34 WARNING: J2EE JNDI-00002
    08/08/12 10:25:34 WARNING: No javax.jms.ConnectionFactory found at null
    08/08/12 10:25:38 Oracle Containers for J2EE 11g (11.1.1.0.0) initialized.
    Obviously oc4j is installing, but these error messages are certainly a problem (for example, I can't successfully deploy applications).
    When I used the previous version of oc4j none of these errors surfaced. I also have tried installing this new version in a new, clean directory, and still get the same error messages.
    Please help,
    John

    Thank you for your quick response.
    I hope that you are right, that these errors don't cause any other problems down the line, but I still have a problem trying to deploy applications.
    For example, I tried to deploy mapviewer, using the following syntax --
    java -jar admin_client.jar deployer:oc4j:localhost fmwadmin <admin_pwd>
    -deploy
    -file <path-to-ear-file>
    -deploymentName <name>
    -bindAllWebApps
    -- and recieved the following errors, which I didn't get before when I was using the previous version of oc4j (Oracle Containers for J2EE 10g [10.1.3.1]):
    08/08/13 08:49:30 WARNING: web: Servlet error
    java.lang.ClassCastException: com.sun.faces.application.ApplicationAssociate
    at com.sun.faces.application.ApplicationAssociate.getInstance(ApplicationAssociate.java:180)
    at com.sun.faces.application.WebappLifecycleListener.getAssociate(WebappLifecycleListener.java:289)
    at com.sun.faces.application.WebappLifecycleListener.handleAttributeEvent(WebappLifecycleListener.java:225)
    at com.sun.faces.application.WebappLifecycleListener.requestDestroyed(WebappLifecycleListener.java:78)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:743)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:334)
    at com.evermind.server.http.HttpRequestHandler.doDispatchRequest(HttpRequestHandler.java:942)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:843)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:658)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:626)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:417)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:189)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:163)
    at oracle.oc4j.network.ServerSocketReadHandler$ClientRunnable.run(ServerSocketReadHandler.java:275)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:237)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:29)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:877)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
    at java.lang.Thread.run(Thread.java:595)
    Do you have any idea why I may be getting these error messages?
    Thank you for your time and assistance!
    John

  • Error while deploying adf application on oracle cloud service

    hello, i hv registered oracle cloud service for java and database. i hv created simple adf application in which there are 2 jsf pages only linked together. I m using oracle jdeveloper 11gr2. so i hv created ear file for deployment on cloud. i deployed adf application on cloud using java console. But, after uploading application, deployment was failed. I tried 3 times this, but the result was same. I checked log, where i got 3 warnings in whitelist log and error in deploy log. Those are as follows:
    Warnings in   whitelist log:
    2013-04-14 06:57:11 CDT: Starting action "API Whitelist"
    2013-04-14 06:57:11 CDT: API Whitelist started
    2013-04-14 06:57:12 CDT: WARNING - There are 3 warnings(s) found for Testapp.ear.
    2013-04-14 06:57:12 CDT: WARNING - Path:Testapp.ear (3 Warnings)
    2013-04-14 06:57:12 CDT: WARNING - Path:Testapp.ear (3 Warnings)
    2013-04-14 06:57:12 CDT: WARNING - Path:Test_ViewController_webapp.war (3 Warnings)
    2013-04-14 06:57:12 CDT: WARNING - Path:WEB-INF**** (1 Warning)
    2013-04-14 06:57:12 CDT: WARNING - 1:Recommended child element "login-config" missing under element /
    javaee:web-app.
    If you want to make your application public, you can have empty
    <login-config/> in your web.xml. If you need authentication then you must
    have <login-config> and its child <auth-method> element in web.xml.
    Without this element(<login-config>), users may be challenged by SSO, but
    the application code will be executed as anonymous user only. Line No:4.
    2013-04-14 06:57:12 CDT: WARNING - Path:WEB-INF**** (2 Warnings)
    2013-04-14 06:57:12 CDT: WARNING - 1:Recommended child element "jsp-descriptor" missing under element /
    orcl-weblogic:weblogic-web-app.
    If you have a JSP file that is not pre-compiled, The compilation errors
    could be shown on the browser. It is recommended to include
    <jsp-descriptor><verbose>false<****><****-descriptor> in weblogic.xml.
    Line No:2.
    2013-04-14 06:57:12 CDT: WARNING - 2:Recommended child element "session-descriptor" missing under element /
    orcl-weblogic:weblogic-web-app.
    You will be required to have distinct cookie-path, if multiple
    applications are accessed with in the same SSO session or if you have
    multiple applications with different auth-method(CLIENT-CERT, FORM, BASIC)
    in the same service instance.
    Line No:2.
    2013-04-14 06:57:12 CDT: WARNING - Testapp.ear had 3 warning(s).
    2013-04-14 06:57:12 CDT: INFO - Whitelist validation has completed with 0 error(s) and 3 warning(s).
    2013-04-14 06:57:12 CDT: Whitelist validation passed.
    2013-04-14 06:57:12 CDT: "API Whitelist" complete: status SUCCESS
    and Error in deploy log:
    2013-04-14 06:57:12 CDT: Starting action "Deploy Application"
    2013-04-14 06:57:12 CDT: Deploy Application started
    2013-04-14 06:57:15 CDT: weblogic.application.ModuleException: Failed to load webapp: Test-ViewController-context-root because of DeploymentException: java.lang.ClassNotFoundException: oracle.adf.view.faces.bi.webapp.MapProxyServlet
    2013-04-14 06:57:15 CDT: WL action state: failed
    2013-04-14 06:57:15 CDT: Action FAILED with WL action state: failed
    2013-04-14 06:57:15 CDT: Check the server log of your Java cloud service for more info about the failure.
    2013-04-14 06:57:16 CDT: Application deployment failed.
    2013-04-14 06:57:16 CDT: "Deploy Application" complete: status FAILED
    I am using jdeveloper 11gr2, so pls dont tell me to use jdeveloper 11gr1. because, i hv already developed an application for my final year B.Tech and i cant migrate to previous release. So there is only one way for me by generating ear file and deploying from console.
    So,
    I m not getting what is the problem and what will be solution for this?
    What should i do?
    What changes should required?
    pls, help me to get out from this problem !!!!!

    Well, I guess you have a problem here. Check http://multikoop.blogspot.de/2012/12/deploying-adf-applications-into-oracle.html and from this
    >
    Note: In its current stage Oracle Java Cloud Service runs WebLogic Server 10.3.6 with the appropriate Runtime ADF 11.1.1.6. Deployment of ADF 11gR2 Applications is currently not supported. Beside this limitation some ADF Features are not supported on the Oracle Cloud. According to the Oracle Cloud Documentation it is not supported to use the following ADF features
    ADF Desktop Integration
    ADF mBean
    ADF MDS (Seeded customizations or cross-session personalization)
    ADF Mobile
    ADF Active Data Services (=> No real-time ADF Web Apps in Oracles Cloud)
    ADF Business Components services interfaces (web services) or events
    ADF Data Controls for BI, Essbase, BAM, and JMX
    Further there are some restrictions which are good to know I think
    No Java Mail API (=>Sending Mails is prohibited)
    No File system access by deployed applications (=>Writing files is prohibited)
    No Direct use of Oracle JDBC Driver APIs
    No Java Message Service (JMS)
    Max Size for deployment archive 95MB
    >
    I hope for you that the information from the blog has changes in the meantime (blog is from end of last year). Check the current doc for the cloud ...
    Timo

  • Invoking web service from EJB3 throw java.lang.IllegalArgumentException

    I used JAX-WS to develop a web service and deployed it on webloigc 10.3.5. The web service was invoked from web application and it worked fine. However, when I tried to invoke the web service from a stateless session bean, java.lang.IllegalArgumentException was thrown out and complained that "*interface gov.fema.web.nimcast.service.client.UpdateEmailPortType is not visible from class loader*". I tried following three ways to solve the problem
    1. put the web service client artifacts under APP-INF/classes of the EAR
    2. bundle the web service client artifacts into a jar file and put it under APP-INF/lib of the EAR
    3. put the web service client artifacts into the same jar file of the EJB
    However, none of the above approaches worked out, every time same exception thrown out.
    I used following commands in my ant script to generate the web service client artifacts
    <path id="deploypathref">
    <fileset dir="${wl.server}">
    <include name="server/lib/weblogic.jar"/>
    <include name="server/lib/weblogic_sp.jar"/>
    <include name="server/lib/xqrl.jar"/>
    <include name="server/lib/webservices.jar"/>
    <include name="../modules/features/weblogic.server.modules_10.3.3.0.jar"/>
    </fileset>
    </path>
    <taskdef name="clientgen"
    classname="weblogic.wsee.tools.anttasks.ClientGenTask" >
         <classpath refid="deploypathref"/>
    </taskdef>
    <clientgen
                   wsdl="http://${wls.hostname}:${wls.port}/nimscast/UpdateEmailService?WSDL"
                   destDir="${path.service}/src"
                   packageName="gov.fema.web.nimcast.service.client"
                   type="JAXWS"/>
                   <javac
                   srcdir="${path.service}/src" destdir="${path.assembly}/ear/APP-INF/classes"
                   includes="**/*.java"/>
    and following is the detail information from the stack trace:
    Caused By: java.lang.IllegalArgumentException: interface gov.fema.web.nimcast.service.client.UpdateEmailPortType is not visible from class loader
         at java.lang.reflect.Proxy.getProxyClass(Proxy.java:353)
         at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:581)
         at weblogic.wsee.jaxws.spi.ClientInstance.createProxyInstance(ClientInstance.java:143)
         at weblogic.wsee.jaxws.spi.WLSProvider$ServiceDelegate.getPort(WLSProvider.java:855)
         at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:344)
         at weblogic.wsee.jaxws.spi.WLSProvider$ServiceDelegate.getPort(WLSProvider.java:792)
         at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:326)
         at javax.xml.ws.Service.getPort(Service.java:92)
         at gov.fema.web.nimcast.service.client.UpdateEmailService.getUpdateEmailPortTypePort(Unknown Source)
         at gov.fema.prepcast.beans.UserManagement.updateUserEmailInNimscast(UserManagement.java:622)
         at gov.fema.prepcast.beans.UserManagement.changeUserProfileInfo(UserManagement.java:324)
         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 com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
         at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
         at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at $Proxy144.changeUserProfileInfo(Unknown Source)
         at gov.fema.prepcast.beans.UserManagement_dinn8k_UserManagementLocalImpl.__WL_invoke(Unknown Source)
         at weblogic.ejb.container.internal.SessionLocalMethodInvoker.invoke(SessionLocalMethodInvoker.java:39)
         at gov.fema.prepcast.beans.UserManagement_dinn8k_UserManagementLocalImpl.changeUserProfileInfo(Unknown Source)
         at gov.fema.prepcast.actions.secret.UpdateUserAction.saveProfileInfo(UpdateUserAction.java:287)
         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 com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:452)
         at com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:291)
         at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:254)
         at com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:176)
         at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
         at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
         at com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:263)
         at org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:68)
         at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
         at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
         at com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:133)
         at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
         at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:207)
         at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
         at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
         at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:207)
         at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
         at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
         at com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:190)
         at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
         at org.apache.struts2.interceptor.MultiselectInterceptor.intercept(MultiselectInterceptor.java:75)
         at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
         at org.apache.struts2.interceptor.CheckboxInterceptor.intercept(CheckboxInterceptor.java:94)
         at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
         at org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:243)
         at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
         at com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept(ModelDrivenInterceptor.java:100)
         at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
         at com.opensymphony.xwork2.interceptor.ScopedModelDrivenInterceptor.intercept(ScopedModelDrivenInterceptor.java:141)
         at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
         at org.apache.struts2.interceptor.debugging.DebuggingInterceptor.intercept(DebuggingInterceptor.java:267)
         at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
         at com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(ChainingInterceptor.java:142)
         at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
         at com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareInterceptor.java:166)
         at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
         at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
         at com.opensymphony.xwork2.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:176)
         at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
         at org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(ServletConfigInterceptor.java:164)
         at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
         at com.opensymphony.xwork2.interceptor.AliasInterceptor.intercept(AliasInterceptor.java:190)
         at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
         at com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:187)
         at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
         at org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:52)
         at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:485)
         at org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:395)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Edited by: 938276 on Jul 25, 2012 7:55 AM

    No you haven't, because
    Caused by: java.lang.NoClassDefFoundError: org.example.www.Sample_PortType a relevant class can still not be found and Java really is not going to lie to you; this class is not on your application's classpath so it is either missing or put in the wrong place. Note that missing classes can be caused by you forgetting to properly redeploying your application - its usually something silly like that. Figure out what you did wrong and correct your mistake.
    The fact that you have to mention that you "setup the classpath" is questionable; in web applications you don't touch the classpath at all. So what exactly did you do?

  • Where can i find the already deployed applications in weblogic 10

    hi,
    i like to find where is the application in the bea directory after installing using the weblogic 10.3 console?
    Previously in weblogic 8, the file can be found in c:/bea/userprojects/domains/<domain_name>/applications/<my_web_application> after i deployed using the weblogic console
    The file structure has been change for weblogic 10. Where can i find the files?
    Thanks
    Edited by: user8271033 on 28/09/2010 19:31

    It depends in which modeu have deployed your applications:
    If you will deploy your Application using nostage=”true” in the Above ANT script then It will be deployed on the Server in no Stage mode ...means the Actual Location of the Application will be used by the Server.
    If you will deploy your Application using stage=”true” in the Above ANT script then It will be deployed on the Server in Stage mode ...means the the application will be staged inside the "<DOMAIN_HOME>\servers\<SERVER_NAME>\stage" directory.
    please refer to Re: Maintaining Absolute paths inside EAR file

  • Exported ant script -- NoClassDefFound?

    I've exported ant script from workshop (wls9.2 eclipse) and I was able to build the app.war (web services) ok.
    However I saw message like this:
    "assembly: Imput fileset contained no files, nothing to do."
    And when I deployed the war to server and tried to access the webservices, it gave me NoClassDefFound error.
    Also I noticed that the ".staging" directory has empty "lib" dir under it.
    Does anyone know how to fix it?
    Here is the generated build.xml and workspace.xml.
    ========================= workspace.xml==============
    <?xml version="1.0" encoding="UTF-8"?>
    <node name="metadata">
    <node name="projects">
    <node name="billingservice">
    <attribute name="location" value="C:/home/rlee/projects/telepacific/billingservice"/>
    </node>
    </node>
    <node name="library-modules">
    <node name="library-module">
    <attribute name="location" value="%wl.home%/common/deployable-libraries/wls-commonslogging-bridge.war"/>
    </node>
    <node name="library-module">
    <attribute name="location" value="%wl.home%/common/deployable-libraries/weblogic-controls-1.0.war"/>
    </node>
    <node name="library-module">
    <attribute name="location" value="%wl.home%/common/deployable-libraries/beehive-controls-1.0.war"/>
    </node>
    </node>
    <node name="server-runtimes">
    <node name="BEA WebLogic v9.2">
    <attribute name="location" value="%wl.home%"/>
    </node>
    </node>
    <node name="vm-locations">
    <attribute name="defaultVM" value="C:/bea/wls922/jdk150_10"/>
    <node name="org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/BEA WebLogic v9.2 JRE">
    <attribute name="location" value="c:/bea/wls922/jrockit90_150_10"/>
    </node>
    </node>
    <node name="classpath-vars">
    <node name="SDKS_HOME">
    <attribute name="value" value="c:/home/rlee/projects/mpower/sdks"/>
    </node>
    <node name="WEBLOGIC_HOME">
    <attribute name="value" value="%wl.home%"/>
    </node>
    </node>
    </node>
    ======================= end of workspace.xml==============
    ==================== exported build.xml ====================
    <project default="build">
    <description>
    Project build script. All public targets require the "workspace" property to be
    set at invocation. It can either point at the Eclipse workspace directory that
    this project belongs to or an exported workspace.xml file. The wl.home property
    may also need to be specified unless WL_HOME environment variable is defined.
    </description>
    <target name="init.env" unless="init.env.executed">
    <property name="init.env.executed" value="true"/>
    <property environment="env"/>
    <condition property="wl.home" value="${env.WL_HOME}">
    <isset property="env.WL_HOME"/>
    </condition>
    <fail unless="wl.home" message="The wl.home property needs to be set!"/>
    </target>
    <target name="init.typedefs" depends="init.env" unless="init.typedefs.executed">
    <property name="init.typedefs.executed" value="true"/>
    <typedef resource="com/bea/wlw/antlib/antlib.xml">
    <classpath>
    <fileset dir="${wl.home}">
    <include name="workshop/lib/wlw-antlib.jar"/>
    <include name="workshop/lib/wlw-util.jar"/>
    <include name="workshop/lib/wlw-libmodules.jar"/>
    <include name="workshop/lib/wlw-splitsrc.jar"/>
    <include name="server/lib/ant/ant-contrib-1.0b1.jar"/>
    </fileset>
    </classpath>
    </typedef>
    </target>
    <target name="init" depends="init.env,init.typedefs" unless="init.executed">
    <property name="init.executed" value="true"/>
    <fail unless="workspace" message="The workspace property needs to be set!"/>
    <dirname property="project.dir" file="${ant.file}"/>
    <property name="echo.metadata" value="false"/>
    <mdimport workspace="${workspace}" pjdir="${project.dir}" echo="${echo.metadata}">
    <option name="skipAnnotationProcessors" value="com.bea.wlw.webservices.core"/>
    </mdimport>
    <property name="archive.name" value="${project.name}.war"/>
    <property name="uri" value="${archive.name}"/>
    <taskdef name="xmlbean"
    classname="org.apache.xmlbeans.impl.tool.XMLBean">
    <classpath>
    <pathelement path="${wl.home}/common/lib/apache_xbean.jar"/>
    <pathelement path="${wl.home}/common/eclipse/plugins/com.bea.eclipse.common.lib.apache_xbean2/jsr173_api.jar"/>
    </classpath>
    </taskdef>
    <property name="generated.module.root" value="${project.dir}/build/weboutput"/>
    <property name="assembly.src" value="${project.dir}/build/assembly/.src"/>
    </target>
    <target name="build" depends="init" description=" compiles the source files; does not package the results">
    <for list="0,1,2,3,4,5,6,7,8,9" param="i">
    <sequential>
    <if>
    <and>
    <isset property="xbean.src.@{i}.dir"/>
    <available file="${xbean.src.@{i}.dir}"/>
    </and>
    <then>
    <fileset id="xbean.src.paths.@{i}"
    dir="${xbean.src.@{i}.dir}"
    includes="${xbean.src.@{i}.include}"
    excludes="${xbean.src.@{i}.exclude}"/>
    </then>
    <else>
    <fileset id="xbean.src.paths.@{i}"
    file="null_file_set"/>
    </else>
    </if>
    </sequential>
    </for>
    <if>
    <isset property="xbean.include-classpath-contributions"/>
    <then>
    <path id="xbean.classpath">
    <path refid="java.classpath"/>
    </path>
    </then>
    <else>
    <path id="xbean.classpath">
    <pathelement location="${wl.home}/common/lib/apache_xbean.jar"/>
    </path>
    </else>
    </if>
    <mkdir dir="${xbean.src.output.dir}"/>
    <mkdir dir="${xbean.bin.output.dir}"/>
    <xmlbean
    javasource="${xbean.java-version}"
    download="${xbean.download-network-urls}"
    typesystemname="${xbean.schema-type-name}"
    noupa="${xbean.unique-particle-attribution}"
    nopvr="${xbean.particle-valid-restriction}"
    noannotations="${xbean.skip-annotations}"
    ignoreDuplicatesInNamespaces="${xbean.namespaces-to-ignore-dups}"
    srcgendir="${xbean.src.output.dir}"
    classgendir="${xbean.bin.output.dir}"
    classpathref="xbean.classpath"
    srconly="true">
    <fileset refid="xbean.src.paths.0"/>
    <fileset refid="xbean.src.paths.1"/>
    <fileset refid="xbean.src.paths.2"/>
    <fileset refid="xbean.src.paths.3"/>
    <fileset refid="xbean.src.paths.4"/>
    <fileset refid="xbean.src.paths.5"/>
    <fileset refid="xbean.src.paths.6"/>
    <fileset refid="xbean.src.paths.7"/>
    <fileset refid="xbean.src.paths.8"/>
    <fileset refid="xbean.src.paths.9"/>
    </xmlbean>
    <if>
    <isreference refid="apt.factory.path"/>
    <then>
    <mkdir dir="${apt.src.output.dir}"/>
    <for-each-java-src-path>
    <if>
    <available file="${.java.src.dir}"/>
    <then>
    <mkdir dir="${.java.src.output}"/>
    <apt
    sourcepath="${java.sourcepath}"
    srcdir="${.java.src.dir}"
    includes="${.java.src.include}"
    excludes="${.java.src.exclude}"
    destdir="${.java.src.output}"
    preprocessdir="${apt.src.output.dir}"
    classpathref="java.classpath"
    factorypathref="apt.factory.path"
    options="${apt.options}"
    compile="false"/>
    </then>
    </if>
    </for-each-java-src-path>
    </then>
    </if>
    <for-each-java-src-path>
    <if>
    <available file="${.java.src.dir}"/>
    <then>
    <mkdir dir="${.java.src.output}"/>
    <javac
    sourcepath="${java.sourcepath}"
    srcdir="${.java.src.dir}"
    includes="${.java.src.include}"
    excludes="${.java.src.exclude}"
    destdir="${.java.src.output}"
    classpathref="java.classpath"
    debug="on"/>
    </then>
    </if>
    </for-each-java-src-path>
    <delete dir="${generated.module.root}"/>
    <mkdir dir="${generated.module.root}"/>
    <resolve-path property="user.web.xml" path="WEB-INF/web.xml"/>
    <resolve-path property="user.weblogic.xml" path="WEB-INF/weblogic.xml"/>
    <copy todir="${generated.module.root}/WEB-INF" file="${user.web.xml}" />
    <copy todir="${generated.module.root}/WEB-INF" file="${user.weblogic.xml}" failonerror="false" />
    </target>
    <target name="clean" depends="init" description=" removes the files and directories generated by the build target">
    <if>
    <available file="${xbean.src.output.dir}"/>
    <then>
    <delete includeEmptyDirs="true">
    <fileset dir="${xbean.src.output.dir}" includes="**/*"/>
    </delete>
    </then>
    </if>
    <if>
    <available file="${xbean.bin.output.dir}"/>
    <then>
    <delete includeEmptyDirs="true">
    <fileset dir="${xbean.bin.output.dir}" includes="**/*"/>
    </delete>
    </then>
    </if>
    <if>
    <available file="${apt.src.output.dir}"/>
    <then>
    <delete includeEmptyDirs="true">
    <fileset dir="${apt.src.output.dir}" includes="**/*"/>
    </delete>
    </then>
    </if>
    <for-each-java-src-path>
    <if>
    <available file="${.java.src.output}"/>
    <then>
    <if>
    <equals arg1="${.java.src.dir}" arg2="${.java.src.output}"/>
    <then>
    <delete includeEmptyDirs="true">
    <fileset dir="${.java.src.output}">
    <or>
    <filename name="**/*.class"/>
    <and>
    <type type="dir"/>
    <depth min="0"/>
    </and>
    </or>
    </fileset>
    </delete>
    </then>
    <else>
    <delete includeEmptyDirs="true">
    <fileset dir="${.java.src.output}" includes="**/*"/>
    </delete>
    </else>
    </if>
    </then>
    </if>
    </for-each-java-src-path>
    <delete dir="${assembly.src}"/>
    <delete dir="${generated.module.root}"/>
    <mkdir dir="${generated.module.root}"/>
    </target>
    <target name="assemble" depends="init" description=" assembles the project for iterative dev deployment; requires that the "ear.root" property is specified">
    <property name="prefix" value=""/>
    <for-each-resource-path>
    <link ear="${ear.root}" source="${.resource.path}" target="${prefix}${uri}/${.resource.prefix}"/>
    </for-each-resource-path>
    <!-- Link in referenced utility projects into the WEB-INF/lib directory. -->
    <for-each-referenced-component>
    <if>
    <and>
    <equals arg1="${.referenced.component.type}" arg2="project"/>
    <equals arg1="${.referenced.component.target.path}" arg2="WEB-INF/lib"/>
    </and>
    <then>
    <antex
    antfile="${.referenced.component.handle}/build.xml"
    dir="${.referenced.component.handle}"
    target="assemble"
    inheritUserProps="false"
    inheritAll="false"
    inheritRefs="false">
    <property name="wl.home" value="${wl.home}"/>
    <property name="patch.home" value="${patch.home}"/>
    <property name="workspace" value="${workspace}"/>
    <property name="init.typedefs.executed" value="true"/>
    <property name="ear.root" value="${ear.root}"/>
    <property name="prefix" value="${uri}/WEB-INF/lib/"/>
    </antex>
    </then>
    </if>
    </for-each-referenced-component>
    <link ear="${ear.root}" source="${xbean.bin.output.dir}" target="${link.target}"/>
    <link ear="${ear.root}" source="${generated.module.root}" target="${uri}"/>
    <antcall target="assembly" inheritAll="true" inheritRefs="true" >
    <param name="ear.root" value="${ear.root}"/>
    </antcall>
    <antcall target="webservice.build" inheritAll="true" inheritRefs="true" />
    </target>
    <target name="stage" depends="init" description=" copies all of project's resources and build artifacts into a form that's ready for archive creation; staging directory can be overridden via the "staging.dir" property">
    <antcall target="assembly" inheritAll="true" inheritRefs="true" >
    <param name="ear.root" value="${ear.staging.dir}"/>
    </antcall>
    <antcall target="webservice.build" inheritAll="true" inheritRefs="true" />
    <property name="staging.dir" value="${project.dir}/.staging"/>
    <delete dir="${staging.dir}" quiet="true"/>
    <mkdir dir="${staging.dir}"/>
    <for-each-resource-path>
    <if>
    <available file="${.resource.path}"/>
    <then>
    <if>
    <isfile path="${.resource.path}"/>
    <then>
    <copy file="${.resource.path}" tofile="${staging.dir}/${.resource.prefix}"/>
    </then>
    <else>
    <copy todir="${staging.dir}/${.resource.prefix}">
    <fileset dir="${.resource.path}" includes="${.resource.include}" excludes="${.resource.exclude}"/>
    </copy>
    </else>
    </if>
    </then>
    </if>
    </for-each-resource-path>
    <!-- Packaged referenced utility projects into the WEB-INF/lib directory. -->
    <property name="webinflib" value="${staging.dir}/WEB-INF/lib"/>
    <mkdir dir="${webinflib}"/>
    <for-each-referenced-component>
    <if>
    <and>
    <equals arg1="${.referenced.component.type}" arg2="project"/>
    <equals arg1="${.referenced.component.target.path}" arg2="WEB-INF/lib"/>
    </and>
    <then>
    <antex
    antfile="${.referenced.component.handle}/build.xml"
    dir="${.referenced.component.handle}"
    target="archive"
    inheritUserProps="false"
    inheritAll="false"
    inheritRefs="false">
    <property name="wl.home" value="${wl.home}"/>
    <property name="patch.home" value="${patch.home}"/>
    <property name="workspace" value="${workspace}"/>
    <property name="init.typedefs.executed" value="true"/>
    <property name="archive.dir" value="${webinflib}"/>
    </antex>
    </then>
    </if>
    </for-each-referenced-component>
    <copy todir="${staging.dir}/${xbean.deploy.prefix}">
    <fileset dir="${xbean.bin.output.dir}"/>
    </copy>
    <if>
    <available file="${generated.module.root}"/>
    <then>
    <copy todir="${staging.dir}" overwrite="true">
    <fileset dir="${generated.module.root}"/>
    </copy>
    </then>
    </if>
    <taskdef name="build-manifests"
    classname="weblogic.ant.taskdefs.build.AnnotationManifestTask"
    onerror="fail" />
    <path id="annotation.manifest.search.path">
    <fileset dir="${staging.dir}">
    <include name="WEB-INF/lib/*.jar"/>
    </fileset>
    <pathelement location="${staging.dir}/WEB-INF/classes"/>
    </path>
    <path id="annotation.manifest.class.path">
    <path refid="annotation.manifest.search.path"/>
    <path refid="java.classpath"/>
    </path>
    <build-manifests moduleDir="${staging.dir}"
    searchClasspathRef="annotation.manifest.search.path"
    classpathRef="annotation.manifest.class.path"
    verbose="true"
    version=""
    stagingDir="${java.io.tmpdir}/.manifest"/>
    </target>
    <target name="archive" depends="stage" description=" creates an archive containing all projects's resources and build artifacts; archive name and location can be overridden via the "archive.path" property">
    <property name="archive.dir" value="${project.dir}"/>
    <mkdir dir="${archive.dir}"/>
    <zip destfile="${archive.dir}/${archive.name}" encoding="UTF8" whenempty="create">
    <fileset dir="${staging.dir}"/>
    </zip>
    </target>
    <target name="stage.to.ear" depends="init">
    <property name="prefix" value=""/>
    <antcallex target="archive" inheritUserProps="false" inheritAll="false" inheritRefs="false">
    <param name="wl.home" value="${wl.home}"/>
    <param name="patch.home" value="${patch.home}"/>
    <param name="workspace" value="${workspace}"/>
    <param name="init.typedefs.executed" value="true"/>
    <param name="archive.dir" value="${ear.staging.dir}${prefix}"/>
    <param name="ear.staging.dir" value="${ear.staging.dir}"/>
    </antcallex>
    </target>
    <target name="generated.root.init" depends="init">
    <property name="generated.module.root" value="${project.dir}/build/weboutput"/>
    </target>
    <target name="assembly" depends="init,generated.root.init">
    <taskdef name="assemble"
    classname="com.bea.control.assembly.AssembleTask"
    classpathref="java.classpath"
    onerror="report" />
    <property name="assembly.src.output" value="${java.src.0.output}"/>
    <mkdir dir="${assembly.src}"/>
    <path id="assembly.classpath">
    <path refid="java.classpath" />
    <pathelement location="${assembly.src.output}" />
    <pathelement path="${java.outpath}" />
    <pathelement path="${java.sourcepath}"/>
    </path>
    <assemble
    moduleDir="${generated.module.root}"
    moduleName="${project.name}"
    srcOutputDir="${assembly.src}"
    appRootDir="${ear.root}">
    <assemblyContext factory="org.apache.beehive.controls.runtime.assembly.WebAppAssemblyContext$Factory" />
    <assemblyContext factory="org.apache.beehive.controls.runtime.assembly.AppAssemblyContext$Factory" />
    <classpath refid="assembly.classpath" />
    <fileset dir="${project.dir}">
    <include name="**/*.controls.properties" />
    </fileset>
    </assemble>
    <apt
    srcdir="${assembly.src}"
    preprocessdir="${apt.src.output.dir}"
    factorypathref="apt.factory.path"
    options="${apt.options}"
    compile="false">
    <classpath refid="assembly.classpath" />
    </apt>
    <javac
    srcdir="${assembly.src}"
    destdir="${assembly.src.output}"
    debug="on">
    <classpath refid="assembly.classpath" />
    </javac>
    </target>
    <target name="webservice.build" depends="init,generated.root.init">
    <path id="jwsc.srcpath">
    <path path="${java.sourcepath}" />
    <pathelement path="build/assembly/.src" />
    </path>
    <taskdef name="jwsc" classname="weblogic.wsee.tools.anttasks.JwscTask" />
    <property name="jwsc.module.root" value="${project.dir}/build/weboutput"/>
    <property name="jwsc.contextpath" value="billingservice"/>
    <property name="jwsc.srcpath.prop" refid="jwsc.srcpath"/>
    <path id="jwsc.classpath">
    <path refid="java.classpath" />
    <pathelement path="${java.outpath}" />
    </path>
    <jwsc
    destdir="${project.dir}/build"
    classpathref="jwsc.classpath"
    >
    <module name="weboutput" explode="true" contextPath="${jwsc.contextpath}">
    <jwsFileSet srcdir="${jwsc.srcpath.prop}">
    <include name="**/*.java"/>
    </jwsFileSet>
    <descriptor file="${jwsc.module.root}/WEB-INF/web.xml" />
    <descriptor file="${jwsc.module.root}/WEB-INF/weblogic.xml" />
    </module>
    </jwsc>
    </target>
    </project>
    ==================== end of exported build.xml =========
    Thanks!
    Edited by renqili at 08/09/2007 10:52 AM

    It looks a bug to me. The exported ant script does not take care the jar files setup in the classpath in workshop/eclipes and copy them to the WEB-INFO/lib directory.

  • Calling EJB in JServer is horribly slow ..

    Hi!
    Beeing somewhat dissatisfied with the stabiblity of OAS I tried porting my application to Apache+JServ+Oracle 8.1.6.
    (Apache 1.3.12, JServ 1.1.2, BD JDK 1.2.2, 8i 8.1.6.1 all on Linux since I didn't want to wreck my OAS environment)
    I found out that I would have to rewrite parts of my EJB:s since 8i makes all beans stateful and forces use of EJB transaction handling if one wants to do any SQL querys. I do a stateless, transactionless design (other that the database manipulations that is) to avoid to much meddling by the container.
    I did a quick but not completely solid fix for it an managed to get everything working in the the new environment only to find that it was horribly slow.
    Calling an EJB method from a servlet takes about two seconds and calling an EJB method from another EJB takes about four seconds.
    all that time spent calling down into the EJB, logging just prior to a call and as the first thing in the method show this quite clearly.
    Something similar is going on when deploying beans to 8i, A small beans takes several minutes to deploy.
    This is on a PIII600 with 256MB of RAM and no apparent swapping going on. No errors of any kind in any logs except for the occasional "soft session limit exceeded" if the Jserver log.
    Anyone got an explanation ? Is it faster on Solaris or ????
    /Ulf

    Leslie,
    If both the applications containing the Client/JSPs and EJBs are deployed in the same OC4J container in different applications you donot have to use RMIInitialContextFactory and you can just use the default Context e.g. as follows as if both EJBs and servlets are in the same application.
    Context ctx = new InitialContext();
    You have to make the EJB application as parent for your appliaction containing web-tier i.e. JSPs as follows in the server.xml
    <application name=EJBApps path=ejb1.ear />
    <application name=WebtierApps path=web1.ear parent=EJBApps />
    regards
    Debu Panda
    Oracle
    Hi All,
    I write a jsp to call a EJB in a different Application deployed in OC4J 9.0.3.
    the source code is:
    <%
    Hashtable env = new Hashtable();
    env.put(Context.INITIAL_CONTEXT_FACTORY, "com.evermind.server.rmi.RMIInitialContextFactory");
    env.put(Context.SECURITY_PRINCIPAL, "admin");
    env.put(Context.SECURITY_CREDENTIALS, "manager");
    env.put(Context.PROVIDER_URL, "ormi://mycomputer/employee");
    Context ctx = new InitialContext(env);
    Object obj = ctx.lookup("HelloWorld");
    HelloWorldHome home =(HelloWorldHome)
    javax.rmi.PortableRemoteObject.narrow(obj,HelloWorldHome.class);
    HelloWorld hello = home.create();
    out.println(hello.hello());
    %>
    And the error message:
    java.lang.ClassCastException
         at com.sun.corba.se.internal.javax.rmi.PortableRemoteObject.narrow(Unknown Source)
         at javax.rmi.PortableRemoteObject.narrow(Unknown Source)
         at try.jspService(_try.java:67)
         [SRC:/try.jsp:15]
         at com.orionserver[Oracle9iAS (9.0.3.0.0) Containers for J2EE].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    But this code, I can run successfully in a Client java class.
    And if I put the jsp and the EJB in a same application, it is ok also.
    What's the problem?
    Please help me!

  • A strang problem about Resin database connection pool

    I am a beginner&#65292;hope somebody can help me.
    my web site occured a strange problem after I used the Resin database connection pool instead of
    connecting directly
    the error message as follows:java.lang.IllegalArgumentException: Request cannot be null
    at javax.servlet.ServletRequestWrapper.<init>(ServletRequestWrapper.java:100)
    at javax.servlet.http.HttpServletRequestWrapper.<init>(HttpServletRequestWrapper.java:92)
    at com.caucho.server.connection.RequestAdapter.<init>(RequestAdapter.java:96)
    at com.caucho.server.webapp.DispatchRequest.<init>(DispatchRequest.java:97)
    at com.caucho.server.webapp.IncludeDispatchRequest.<init>(IncludeDispatchRequest.java:77)
    at com.caucho.server.webapp.IncludeDispatchRequest.createDispatch(IncludeDispatchRequest.java:87)
    at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:389)
    at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:345)
    at com.caucho.jsp.PageContextImpl.include(PageContextImpl.java:807)
    at _jsp._intro__jsp._jspService(/intro.jsp:60)
    at com.caucho.jsp.JavaPage.service(JavaPage.java:75)
    at com.caucho.jsp.Page.pageservice(Page.java:571)
    at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:155)
    at com.caucho.server.cache.CacheFilterChain.doFilter(CacheFilterChain.java:211)
    at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:177)
    at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:221)
    at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:263)
    at com.caucho.server.port.TcpConnection.run(TcpConnection.java:331)
    at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:464)
    at com.caucho.util.ThreadPool.run(ThreadPool.java:408)
    at java.lang.Thread.run(Thread.java:595)

    <!--
    - Resin 3.0 configuration file.
    -->
    <resin xmlns="http://caucho.com/ns/resin"
    xmlns:resin="http://caucho.com/ns/resin/core">
    <!--
    - Logging configuration for the JDK logging API.
    -->
    <log name='' level='info' path='stdout:' timestamp='[%H:%M:%S.%s] '/>
    <log name='com.caucho.java' level='config' path='stdout:'
    timestamp='[%H:%M:%S.%s] '/>
    <log name='com.caucho.loader' level='config' path='stdout:'
    timestamp='[%H:%M:%S.%s] '/>
    <!--
    - For production sites, change dependency-check-interval to something
    - like 600s, so it only checks for updates every 10 minutes.
    -->
    <dependency-check-interval>2s</dependency-check-interval>
    <!--
    - You can change the compiler to "javac" or jikes.
    - The default is "internal" only because it's the most
    - likely to be available.
    -->
    <javac compiler="internal" args=""/>
    <!-- Security providers.
    - <security-provider>
    - com.sun.net.ssl.internal.ssl.Provider
    - </security-provider>
    -->
    <!--
    - If starting bin/resin as root on Unix, specify the user name
    - and group name for the web server user.
    - <user-name>resin</user-name>
    - <group-name>resin</group-name>
    -->
    <!--
    - Configures threads shared among all HTTP and SRUN ports.
    -->
    <thread-pool>
    <!-- Maximum number of threads. -->
    <thread-max>128</thread-max>
    <!-- Minimum number of spare connection threads. -->
    <spare-thread-min>25</spare-thread-min>
    </thread-pool>
    <!--
    - Configures the minimum free memory allowed before Resin
    - will force a restart.
    -->
    <min-free-memory>1M</min-free-memory>
    <server>
    <!-- adds all .jar files under the resin/lib directory -->
    <class-loader>
    <tree-loader path="$resin-home/lib"/>
    </class-loader>
    <!-- Configures the keepalive -->
    <keepalive-max>500</keepalive-max>
    <keepalive-timeout>120s</keepalive-timeout>
    <!-- The http port -->
    <http server-id="" host="*" port="8080"/>
    <!--
    - SSL port configuration:
    - <http port="8443">
    - <openssl>
    - <certificate-file>keys/gryffindor.crt</certificate-file>
    - <certificate-key-file>keys/gryffindor.key</certificate-key-file>
    - <password>test123</password>
    - </openssl>
    - </http>
    -->
    <!--
    - The local cluster, used for load balancing and distributed
    - backup.
    -->
    <cluster>
    <srun server-id="" host="127.0.0.1" port="6802" index="1"/>
    </cluster>
    <!--
    - Enables/disables exceptions when the browser closes a connection.
    -->
    <ignore-client-disconnect>true</ignore-client-disconnect>
    <!--
    - Enables the cache
    -->
    <cache path="cache" memory-size="10M"/>
    <!--
    - Enables periodic checking of the server status.
    - With JDK 1.5, this will ask the JDK to check for deadlocks.
    - All servers can add <url>s to be checked.
    -->
    <ping>
    <!-- <url>http://localhost:8080/test-ping.jsp</url> -->
    </ping>
    <!--
    - Defaults applied to each web-app.
    -->
    <web-app-default>
    <!--
    - Sets timeout values for cacheable pages, e.g. static pages.
    -->
    <cache-mapping url-pattern="/" expires="5s"/>
    <cache-mapping url-pattern="*.gif" expires="60s"/>
    <cache-mapping url-pattern="*.jpg" expires="60s"/>
    <!--
    - Servlet to use for directory display.
    -->
    <servlet servlet-name="directory"
    servlet-class="com.caucho.servlets.DirectoryServlet"/>
    </web-app-default>
    <!--DataSource jndi configuration-->
    <database>
    <jndi-name>jdbc/artunion</jndi-name>
    <driver type="org.gjt.mm.mysql.Driver">
    <url>jdbc:mysql://localhost:3306/union</url>
    <user>as</user>
    <password>as</password>
    </driver>
    <prepared-statement-cache-size>8</prepared-statement-cache-size>
    <max-connections>20</max-connections>
    <max-idle-time>30s</max-idle-time>
    </database>
    <!--
    - Default host configuration applied to all virtual hosts.
    -->
    <host-default>
    <class-loader>
    <compiling-loader path='webapps/WEB-INF/classes'/>
    <library-loader path='webapps/WEB-INF/lib'/>
    </class-loader>
    <!--
    - With another web server, like Apache, this can be commented out
    - because the web server will log this information.
    -->
    <access-log path='logs/access.log'
    format='%h %l %u %t "%r" %s %b "%{Referer}i" "%{User-Agent}i"'
    rollover-period='1W'/>
    <!-- creates the webapps directory for .war expansion -->
    <web-app-deploy path='webapps'/>
    <!-- creates the deploy directory for .ear expansion -->
    <ear-deploy path='deploy'>
    <ear-default>
    <!-- Configure this for the ejb server
    - <ejb-server>
    - <config-directory>WEB-INF</config-directory>
    - <data-source>jdbc/test</data-source>
    - </ejb-server>
    -->
    </ear-default>
    </ear-deploy>
    <!-- creates the deploy directory for .rar expansion -->
    <resource-deploy path='deploy'/>
    <!-- creates a second deploy directory for .war expansion -->
    <web-app-deploy path='deploy'/>
    </host-default>
    <!-- includes the web-app-default for default web-app behavior -->
    <resin:import path="${resinHome}/conf/app-default.xml"/>
    <!-- configures the default host, matching any host name -->
    <host id=''>
    <document-directory>D:/artunion</document-directory>
    <!-- configures the root web-app -->
    <web-app id='/'>
    <!-- adds xsl to the search path -->
    <class-loader>
    <simple-loader path="$host-root/xsl"/>
    </class-loader>
    <servlet-mapping url-pattern="/servlet/*" servlet-name="invoker"/>
    </web-app>
    </host>
    </server>
    </resin>
    Thank you!

  • How to Deploy sca files in CE

    I have downloaded an sca file for 7.1 sp3 but how do you deploy it, the SDM has been removed from this version and I am struggling to find documentation on how to deploy sca files.

    Hi ,
    i do this way
    1. login os  ( host of CE installed system)
    2. cmd
    3. telnet
    4. o localhost 50008  note: "00" is the instance
    5. user -> administer user
    6. password>****
    7. deploy d:\<path><SCName.ear on_deploy_error=stop     
    ex:  deploy d:\Temp\new\XYZABC.sca on_deploy_error=stop
    Regards
    Shridhar Gowda
    p.s:  pls close the therad if it solved.

  • Lookup (Bean 2 Bean)

    Hi
    Programs: J-Developer902, Oracle9i AS.
    The Problem : I have one Workspace with 2 projects (Project1 and Probject1). I have one Bean on each project.
    I'm trying to do a lookup from Bean1 (on Project1) to Bean2 (on Project2) but it doesn't work!!!
    I deployed the first Bean (on Project1) and gott
    ejb1.deploy ejb1.jar and ejb1.ear
    I deployed the second Bean (on Project2) and gott
    ejb2.deploy ejb2.jar and ejb2.ear
    I build up an .EAR file and encluded both (ejb1.jar and ejb2.jar). I have my .EAR outside both projects,
    and deployed it on Oracle9i AS too.
    How should my lookup look like? (Remember I have 2 beans in 2 DIFFERENT Projects (One on each) but they are both in the same J2EE application (.EAR) OBS!! I have my EAR file outside both projects (on project3) )
    Shall I use the "com.evermind.server.rmi.RMIInitialContextFactory" Factory or the "com.evermind.server.ApplicationClientInitialContextFactory" with (application-client.xml)
    Here is how my lookup looks right now.
    _________________ Client ________________(My client finds the first bean without any problem)
    Hashtable env = new Hashtable();
    env.put(Context.INITIAL_CONTEXT_FACTORY, "com.evermind.server.rmi.RMIInitialContextFactory");
    env.put(Context.SECURITY_PRINCIPAL, "admin");
    env.put(Context.SECURITY_CREDENTIALS, "admin");
    env.put(Context.PROVIDER_URL, "ormi://IS002/ejb1");
    Context ctx = new InitialContext(env);
    MyFirstEJBHome myFirstEJBHome = (MyFirstEJBHome)ctx.lookup("MyFirstEJB");
    MyFirstEJB myFirstEJB;
    // Use one of the create() methods below to create a new instance
    myFirstEJB = myFirstEJBHome.create( );
    As for the lookup from Bean1 to Bean2 I tried 2 ways( with and without PortableRemoteObject.narrow), but I got an error on each way:
    ___________________ BEAN 1 (Way 1 with PortableRemoteObject.narrow)_____________________
    Hashtable env = new Hashtable();
    env.put(Context.INITIAL_CONTEXT_FACTORY, "com.evermind.server.ApplicationClientInitialContextFactory");
    env.put(Context.SECURITY_PRINCIPAL, "admin");
    env.put(Context.SECURITY_CREDENTIALS, "admin");
    env.put(Context.PROVIDER_URL, "ormi://IS002/ejb2");
    Context ctx = new InitialContext(env);
    Object homeObject= ctx.lookup("java:comp/env/MySecondEJBBean");
    MySecondEJBHome mySecondEJBHome = (MySecondEJBHome) PortableRemoteObject.narrow(homeObject, MySecondEJBHome.class);
    MySecondEJB mySecondEJB;
    // Use one of the create() methods below to create a new instance
    mySecondEJB = mySecondEJBHome.create( );
    ______ ERROR ________
    java.lang.ClassCastException
    at com.sun.corba.se.internal.javax.rmi.PortableRemoteObject.narrow(Unknown Source)
    at javax.rmi.PortableRemoteObject.narrow(Unknown Source)
    at mypackage1.MyFirstEJBBean.callSecond(MyFirstEJBBean.java:49)
    at MyFirstEJB_StatelessSessionBeanWrapper2.callSecond(MyFirstEJB_StatelessSessionBeanWrapper2.java:79)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:118)
    at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:64)
    _________________ BEAN 1 (Way 2 without PortableRemoteObject.narrow) ________________
    Hashtable env = new Hashtable();
    env.put(Context.INITIAL_CONTEXT_FACTORY, "com.evermind.server.ApplicationClientInitialContextFactory");
    env.put(Context.SECURITY_PRINCIPAL, "admin");
    env.put(Context.SECURITY_CREDENTIALS, "admin");
    env.put(Context.PROVIDER_URL, "ormi://IS002/ejb2");
    Context ctx = new InitialContext(env);
    MySecondEJBHome mySecondEJBHome = (MySecondEJBHome)ctx.lookup("java:comp/env/MySecondEJBBean");
    MySecondEJB mySecondEJB;
    // Use one of the create() methods below to create a new instance
    mySecondEJB = mySecondEJBHome.create( );
    _______ ERROR _________
    java.lang.ClassCastException: MySecondEJBHome_StatelessSessionHomeWrapper9
    at mypackage1.MyFirstEJBBean.callSecond(MyFirstEJBBean.java:48)
    at MyFirstEJB_StatelessSessionBeanWrapper2.callSecond(MyFirstEJB_StatelessSessionBeanWrapper2.java:79)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:118)
    at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:64)
    What am I doing wrong ???? I'll be very grateful and thankful if you can help me. How should my lookup code look like?
    /Azam
    Integration Strategies & Solutions

    You have to make ejb1.ear as parent of ejb2.ear in the server.xml as follows:
    <application name=ejb1 path=a.ear />
    <application name=ejb2 path=b.ear parent=ejb1 />
    You have to use default Initialcontext (donot populate en. properties) to lookup your EJB as if both are in the same application.
    regards
    Debu

Maybe you are looking for

  • How do I stop Firefox from opening unwanted sites or (inescapable) dialogs

    My Firefox, as soon as I open a web page opens either (1) an overlying dialog typically flashing saying I am the 1000000th person or my computer is slow or buy this or (2) another unwanted site in another tab typically trying to sell something. Cases

  • Query Save As Problem

    i am in a situation, need your help.... When I try to save as an existing query, I see only only favorites and roles on save query as window. but i want to save in the same infoarea. the infoareas list is not displayed at all. is there a way i can ge

  • When loaded webpage shifted to right. scroll bar not showing

    When I open a website the page is shifted to the right and partly off screen so I cannot scroll up or down in the document.

  • QT Conversion Export with DVCProHD 720p60 creates black bands. Help.

    Help. A recent QT movie export, using the DVCProHD 720p60 settings, when opened in QT has thick black bands across the image. 3 on the left, 3 on the right and one right in the middle. When I export using QT Conversion in DVCProHD 720p60 the exported

  • Can't seem to keep logged in to accept calls on iP...

    Hi, Had Skype for a while and worked well at first but now I am always showing as logged out, so people tell me. I'm leaving the app running in the background and never close it. Every time I go in to check I'm showing as online. Any help greatly app