Problems with deploy in Oracle AS 10g

Hi people,
We developed a system that we need to install on my client’s Oracle Application Server 10g, but I haven't the OAS here in my company and I can't test it on my client. In my application, I access the data source by two ways: one way by the Hibernate, editing the application’s "hibernate.cfg.xml" file and the other way access by JDBC directly.
In hibernate.cfg.xml, I edit the property of "hibernate.connection.datasource" by this way (my application name's is "GCS"):
<property name="hibernate.connection.datasource">java/gcs</property>
By JDBC, I get the connection by this way:
protected Connection getConnection() throws DAOException {
Context initContext;
try {
initContext = new InitialContext();
DataSource ds = (DataSource)initContext.lookup
("java/gcs");
return ds.getConnection();
} catch (Throwable e) {
throw new DAOException(e);
In Oracle AS, I created a data source with the name and the JNDI location "java/gcs" and in the "Data Source Class" field I wrote "com.evermind.sql.DriverManagerDataSource".
With this configuration the OAS did the deploy successfully. So I started the application and the system started to process the mapping of the Hibernate classes' (I could see this by the log).
The problem is when I access the system deployed, appeared a window in my browser like those directory permission window that ask by username and password. This is very strange. Apparently, I have no access to the directory of my application... I try to put the username and password of the Windows, of the database user, of the OAS administrator... but nothing happens.
Somebody knows what is this window? Why it appears? Where I configure this in the OAS?
Thank's
Rodison Ferreira
[email protected]
skype: rodison
msn: [email protected]

Hi,
Here's the Oracle Forms 10g Deployment Guide
http://download-east.oracle.com/docs/cd/B14099_11/web.1012/b14032/toc.htm
HTH,
Jim

Similar Messages

  • Problems with deploy on OracleAS/OC4J 10.1.3.2

    Hi all,
    I was successful to deploy 2 EJB-JARs and one EAR/WAR into oc4j 10.3.2.0 stand-alone, and all this piece communicate via EJBs.
    I copied the EJB-JARs into j2ee/home/applications directory and modified the j2ee/home/config/application.xml to add <ejb-module ...> for those two ejb-jars.
    I started OC4J and then deployed my EAR/WAR through Enterprise manager (EM).
    It works fine!
    But, if I go to a OracleAS 10.1.3.1 (patched to OC4J 10.1.3.2.0), the same procedure is not successful and when I try to load the oc4j service (opmnctl startall), som error occurs (not clear what the error is) and the service does not start and a StackOverflow exception seems to occur (message on screeen).
    Seems to be a bug.
    I think the same procedure I did for oc4j stand-alone should work for OracleAS/oc4j.
    Does enyone know anything about this issue?

    LOG
    Caused by: Exception [TOPLINK-30007] (Oracle TopLink Essentials - 2006.8 (Build 060829)): oracle.toplink.essentials.exceptions.PersistenceUnitLoadingException
    Exception Description: An exception was thrown while loading class: xyz.sample.bean.AcessorioLaudoVistoriaPrevia to check whether it implements @Entity, @Embeddable, or @MappedSuperclass.
    Internal Exception: oracle.classloader.util.AnnotatedClassNotFoundException:
              Missing class: xyz.sample.bean.AcessorioLaudoVistoriaPrevia
            Dependent class: oracle.toplink.essentials.ejb.cmp3.persistence.PersistenceUnitProcessor
    Loader: default.root:0.0.0
                Code-Source: /oracle/product/10.1.3.2/OracleAS/toplink/jlib/toplink-essentials.jar
              Configuration: <library> in /oracle/product/10.1.3.2/OracleAS/j2ee/home/config/application.xml
    This load was initiated at poc_model_transacional.root:0.0.1 using the loadClass() method.
    (Failure analysis caught java.lang.IllegalStateException: ClassLoader "poc_model_transacional.root:0.0.1" (from <application> in /oracle/product/10.1.3.2/OracleAS/j2ee/home/applications/poc_model_transacional/): This loader has been closed and should not be in use.)
            at oracle.toplink.essentials.exceptions.PersistenceUnitLoadingException.exceptionLoadingClassWhileLookingForAnnotations(PersistenceUnitLoadingException.java:135)
            at oracle.toplink.essentials.ejb.cmp3.persistence.PersistenceUnitProcessor.isClassPersistent(PersistenceUnitProcessor.java:728)
            at oracle.toplink.essentials.ejb.cmp3.persistence.PersistenceUnitProcessor.buildPersistentClassSet(PersistenceUnitProcessor.java:468)
            at oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerSetupImpl.buildEntityList(EntityManagerSetupImpl.java:155)
            at oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerSetupImpl.predeploy(EntityManagerSetupImpl.java:478)
            at oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider.createContainerEntityManagerFactory(EntityManagerFactoryProvider.java:152)
            at com.evermind.server.ejb.persistence.PersistenceUnitManagerImpl.createContainerEntityManagerFactory(PersistenceUnitManagerImpl.java:192)
            ... 15 more
    Caused by: oracle.classloader.util.AnnotatedClassNotFoundException:
              Missing class: xyz.sample.bean.AcessorioLaudoVistoriaPrevia
            Dependent class: oracle.toplink.essentials.ejb.cmp3.persistence.PersistenceUnitProcessor
    Loader: default.root:0.0.0
                Code-Source: /oracle/product/10.1.3.2/OracleAS/toplink/jlib/toplink-essentials.jar
              Configuration: <library> in /oracle/product/10.1.3.2/OracleAS/j2ee/home/config/application.xml
    This load was initiated at poc_model_transacional.root:0.0.1 using the loadClass() method.
    (Failure analysis caught java.lang.IllegalStateException: ClassLoader "poc_model_transacional.root:0.0.1" (from <application> in /oracle/product/10.1.3.2/OracleAS/j2ee/home/applications/poc_model_transacional/): This loader has been closed and should not be in use.)
            at oracle.classloader.PolicyClassLoader.handleClassNotFound(PolicyClassLoader.java:2078)
            at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1679)
            at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1635)
            at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1620)
            at oracle.toplink.essentials.ejb.cmp3.persistence.PersistenceUnitProcessor.isClassPersistent(PersistenceUnitProcessor.java:725)
            ... 20 more
    07/08/30 18:14:10 SEVERE: ProgressObjectImpl.reportError java.lang.InstantiationException: Application: poc_model_transacional is in failed state as initialization failedoracle.oc4j.admin.jmx.shared.exceptions.InternalException: java.lang.InstantiationException: Application: poc_model_transacional is in failed state as initialization failed
            at oracle.oc4j.admin.jmx.shared.deploy.NotificationUserData.<init>(NotificationUserData.java:107)
            at oracle.oc4j.admin.internal.Notifier.reportError(Notifier.java:429)
            at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:123)
            at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
            at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
            at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
            at java.lang.Thread.run(Thread.java:788)
    Caused by: oracle.oc4j.admin.internal.DeployerException: java.lang.InstantiationException: Application: poc_model_transacional is in failed state as initialization failed
            at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.java:515)
            at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:196)
            at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
            ... 4 more
    Caused by: java.lang.InstantiationException: Application: poc_model_transacional is in failed state as initialization failed
            at com.evermind.server.Application.setConfig(Application.java:497)
            at com.evermind.server.Application.setConfig(Application.java:340)
            at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1879)
            at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.java:512)
            ... 6 more
    Caused by: java.lang.InstantiationException: Error initializing ejb-modules: [poc_model_transacional:poc_model_transacional] - Exception creating EntityManagerFactory using PersistenceProvider class oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider for persistence unit PoC_Model_Transacional.
            at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:1064)
            at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:217)
            at com.evermind.server.Application.setConfig(Application.java:439)
            ... 9 more
    Caused by: com.evermind.server.ejb.exception.DeploymentException: [poc_model_transacional:poc_model_transacional] - Exception creating EntityManagerFactory using PersistenceProvider class oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider for persistence unit PoC_Model_Transacional.
            at com.evermind.server.ejb.exception.DeploymentException.exceptionCreatingEntityManagerFactory(DeploymentException.java:130)
            at com.evermind.server.ejb.persistence.PersistenceUnitManagerImpl.createContainerEntityManagerFactory(PersistenceUnitManagerImpl.java:197)
            at com.evermind.server.ejb.persistence.PersistenceUnitManagerImpl.initializePersistenceUnit(PersistenceUnitManagerImpl.java:159)
            at com.evermind.server.ejb.persistence.PersistenceUnitManagerImpl.initialize(PersistenceUnitManagerImpl.java:86)
            at com.evermind.server.ejb.EJBPackageDeployment.initializePersistenceUnitManager(EJBPackageDeployment.java:1022)
            at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:845)
            ... 11 more
    Caused by: Exception [TOPLINK-30007] (Oracle TopLink Essentials - 2006.8 (Build 060829)): oracle.toplink.essentials.exceptions.PersistenceUnitLoadingException
    Exception Description: An exception was thrown while loading class: xyz.ssv.transacional.bean.AcessorioLaudoVistoriaPrevia to check whether it implements @Entity, @Embeddable, or @MappedSuperclass.
    Internal Exception: oracle.classloader.util.AnnotatedClassNotFoundException:
              Missing class: xyz.sample.bean.AcessorioLaudoVistoriaPrevia
            Dependent class: oracle.toplink.essentials.ejb.cmp3.persistence.PersistenceUnitProcessor
    Loader: default.root:0.0.0
                Code-Source: /oracle/product/10.1.3.2/OracleAS/toplink/jlib/toplink-essentials.jar
              Configuration: <library> in /oracle/product/10.1.3.2/OracleAS/j2ee/home/config/application.xml
    This load was initiated at poc_model_transacional.root:0.0.1 using the loadClass() method.
    (Failure analysis caught java.lang.IllegalStateException: ClassLoader "poc_model_transacional.root:0.0.1" (from <application> in /oracle/product/10.1.3.2/OracleAS/j2ee/home/applications/poc_model_transacional/): This loader has been closed and should not be in use.)
            at oracle.toplink.essentials.exceptions.PersistenceUnitLoadingException.exceptionLoadingClassWhileLookingForAnnotations(PersistenceUnitLoadingException.java:135)
            at oracle.toplink.essentials.ejb.cmp3.persistence.PersistenceUnitProcessor.isClassPersistent(PersistenceUnitProcessor.java:728)
            at oracle.toplink.essentials.ejb.cmp3.persistence.PersistenceUnitProcessor.buildPersistentClassSet(PersistenceUnitProcessor.java:468)
            at oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerSetupImpl.buildEntityList(EntityManagerSetupImpl.java:155)
            at oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerSetupImpl.predeploy(EntityManagerSetupImpl.java:478)
            at oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider.createContainerEntityManagerFactory(EntityManagerFactoryProvider.java:152)
            at com.evermind.server.ejb.persistence.PersistenceUnitManagerImpl.createContainerEntityManagerFactory(PersistenceUnitManagerImpl.java:192)
            ... 15 more
    Caused by: oracle.classloader.util.AnnotatedClassNotFoundException:
              Missing class: xyz.sample.bean.AcessorioLaudoVistoriaPrevia
            Dependent class: oracle.toplink.essentials.ejb.cmp3.persistence.PersistenceUnitProcessor
    Loader: default.root:0.0.0
                Code-Source: /oracle/product/10.1.3.2/OracleAS/toplink/jlib/toplink-essentials.jar
              Configuration: <library> in /oracle/product/10.1.3.2/OracleAS/j2ee/home/config/application.xml
    This load was initiated at poc_model_transacional.root:0.0.1 using the loadClass() method.
    (Failure analysis caught java.lang.IllegalStateException: ClassLoader "poc_model_transacional.root:0.0.1" (from <application> in /oracle/product/10.1.3.2/OracleAS/j2ee/home/applications/poc_model_transacional/): This loader has been closed and should not be in use.)
            at oracle.classloader.PolicyClassLoader.handleClassNotFound(PolicyClassLoader.java:2078)
            at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1679)
            at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1635)
            at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1620)
            at oracle.toplink.essentials.ejb.cmp3.persistence.PersistenceUnitProcessor.isClassPersistent(PersistenceUnitProcessor.java:725)
            ... 20 more
    <Line 1, Column 1>: XML-20108: (Fatal Error) Start of root element expected.
    [TopLink Config]: 2007.08.30 06:15:23.918--ServerSession(1925345986)--The alias name for the entity class [c ass xyz.sample.model.AcessorioLaudoVistoriaPrevia] is being defaulted to  AcessorioLaudoVistoriaPrevia.
    [TopLink Config]: 2007.08.30 06:15:24.085--ServerSession(1925345986)--The alias name for the entity class [c ass xyz.sample.model.AcessorioVistoriaPrevia] is being defaulted to: Ace sorioVistoriaPrevia.
    [TopLink Config]: 2007.08.30 06:15:35.879--ServerSession(1925345986)--property toplink.server.platform.class name is deprecated, property toplink.target-server should be used instead.Message was edited by:
    danieldestro

  • Problem with PJC (Print Dialog) - Forms 10g

    I have a problem with my PJC for Forms 10g r2. When I try to connect and run my PJC (raise Print dialog and put printer name in some text item) I get following message:
    oracle.forms.net.ConnectionException: Forms session <2> aborted: unable to communicate with runtime process.
         at oracle.forms.net.ConnectionException.createConnectionException(Unknown Source)
         at oracle.forms.net.HTTPNStream.getResponse(Unknown Source)
         at oracle.forms.net.HTTPNStream.doFlush(Unknown Source)
         at oracle.forms.net.HTTPNStream.flush(Unknown Source)
         at java.io.DataOutputStream.flush(Unknown Source)
         at oracle.forms.net.StreamMessageWriter.run(Unknown Source)
    When I started application, on Java console I saw this message, so I think the server configuration is fine (I change everything I need in Default.env and FormsWeb.cfg files):
    Loading http://devsrv/forms/java/jESPrintDialog.jar from JAR cache
    What can I change with server configuration or deploying my project to this PJC can work normaly?
    Thanks....

    Hi and thanks!
    I resolve one part of my problem. Tt was about diferent compiler (in JDeveloper 10.1.3 compiler is 1.5 and in my oc4j server JRE is earlier version, so it can`t work normaly).
    I comiled PJC in 1.4 version of compiler and now I can start and run my PJC.
    But, there is another problem:
    this is my part of java code (note: everything work fine except one line when I want to get printer name from select printer dialog):
    try {
    boolean b;
    PrinterJob job = PrinterJob.getPrinterJob();
    b = job.printDialog();
    try {
    return job.getPrintService().getName();
    catch (Exception e) {
    System.out.println("Error: "+e.getMessage());
    return "My error:";
    } catch (Exception e) {
    System.out.println("ERROR: " + e.getMessage());
    return "Problem with PJC [esoft]";
    So, when pjc want to get back printer name
    return job.getPrintService().getName();
    i get following error (on Java console):
    java.lang.NoSuchMethodError
         at happypjc.PDialog.getProperty(PDialog.java:50)
         at oracle.forms.handler.UICommon.onGet(Unknown Source)
         at oracle.forms.engine.Runform.onGetHandler(Unknown Source)
         at oracle.forms.engine.Runform.processMessage(Unknown Source)
         at oracle.forms.engine.Runform.processSet(Unknown Source)
         at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
         at oracle.forms.engine.Runform.onMessage(Unknown Source)
         at oracle.forms.engine.Runform.processEventEnd(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    Can you give me some hint about it. Everything is OK now, except this (very important) peace of code!
    best regards
    mret

  • Problems with deployment in 6.1 on  tru64

              Hi,
              We are having problems with deployment of web applications in 6.1. We are running
              cluster ( 2 managed servers ) .The problem is that every time we restart the admin
              and managed servers, none of our application gets loaded and deployed. In the
              console, application looks ok i.e. targtes are listed and application is deployed
              but actually the application is not loaded and does not work. If I go and deploy/redploy
              the app , it works fine but again after every restart of the servers, application
              does not get loaded.
              Any idea. Your help is greatly appreciated.
              Thanks,
              Manoj
              

              Kumar,
              I do not see applicaitons being loaded and deployed at the time of server startup.
              In config.xml everything looks ok.
              Manoj
              Kumar Allamraju <[email protected]> wrote:
              ><!doctype html public "-//w3c//dtd html 4.0 transitional//en">
              ><html>
              >Whenever an application is deployed you should see the
              ><br>following message in the server console or in the weblogic.log
              ><p><Mar 19, 2002 11:49:52 AM PST> <Info> <J2EE> <Deployed
              >:
              >certificate>
              ><p>Do you see such  messages or not?
              ><p>Manoj wrote:
              ><blockquote TYPE=CITE>Hi,
              ><br>We are having problems with deployment of web applications in 6.1.
              >We are running
              ><br>cluster ( 2 managed servers ) .The problem is that every time we
              >restart
              >the admin
              ><br>and managed servers, none of our application gets loaded and deployed.
              >In the
              ><br>console, application looks ok i.e. targtes are listed and application
              >is deployed
              ><br>but actually the application is not loaded and does not work. If
              >I
              >go and deploy/redploy
              ><br>the app , it works fine but again after every restart of the servers,
              >application
              ><br>does not get loaded.
              ><br>Any idea. Your help is greatly appreciated.
              ><br>Thanks,
              ><br>Manoj</blockquote>
              ></html>
              >
              

  • Problem with implicitly created Oracle pipes

    Hi, I am having a problem with implicitly created Oracle pipes. I am not sure if this is the correct forum for this topic, but I could not see one which suited better..
    I am using Oracle pipes as a commiunication mechanism between processes (some are written in PL/SQL and other in PRO*C).
    The general problem I have is that if a timeout occurs during the communication process, I end up with 1 or perhaps 2 implicitly created pipes.
    The biggest problem for me is that I am unable to determine if a create is implicitly created (via dbms_pipe.send_message or receive_message). This causes problems, since these implicitly created pipes are left behind and not deleted. I'll show you the basic flow of the processes and you shall see my problem.
    server: create request pipe "req_pipe"
    server: listen for request on requests pipe.
    client: create two pipes for comms with server.
    client: send request and the names of the newly created pipes to the server.
    server: read request and pipename from request pipe (from this point all comms between the client and server are now done over the 2 pipes the client created).
    server: send ack message to client to ensure they are still there (since requests can be queued in the request pipe and clients could have timed out before the request is received)
    client: send "i'm still here" ack back to the server.
    server: process request and send result back to client.
    client: send ack back to server to let server know we have received the response.
    server: send ack back to client to show that work is now committed.
    OK thats the general event flow. I use the rule, that pipes created by a process are removed by a process. So the client always removes the pipes it created in all situations. But since this can happen at any point we can get in the situation:
    client: timeout occurs, delete pipes.
    server: send message to client (creates an implicit pipe) and therefor works (no errors raised)
    server: do a read for response from previous message. (implicitly creates pipe) (will fail).
    Now we have two implicitly created pipes! These pipes will exist until the database instance is shutdown, and in a poorly performing environment, we could get thousands of these pipes lying around... not a good situation.
    How can I either stop pipes being implicilty created, or how do I detect if a pipe was implicitly created.
    I have tried a couple of things, like using v$db_pipes to check if a pipe exists before doing send/reveive calls but this is FAR to slow to do a select on that view.
    We have also looked at keeping a record of pipes created by the client then have some process (perhaps the server) clean up these pipes after some time frame. This is a workable solution but is not favourable since it adds extra overhead having to check these pipes often, and created an extra level of complexity which is not required..
    Any suggestions will be greatly appreciated.
    Feel free to email me with any suggestions on my email provided below, or just post a reply to this formum..
    Many thanks,
    Karl Bridger
    [email protected]

    I solved the problem by changing the SOAP massage format from Document/Wrapped to Document/Literal

  • Problems with Download of Oracle IFS /IFS Devkit for NT

    I am having problems with download of Oracle IFS and Oracle IFS Devkit for NT.
    When I ran the ifsdevkit.bat file the last four files did not get copied over. Subsequently when I ran the upload_ifsdevkit batch file as indicated in document I got error message saying
    'System cannot find the path specified'.
    When I opened the batch file it is looking for BIN directory under the C:\OraHome1\ifs directory but none exists. I wonder if this is the cause of problem. This would mean that the ifs1081.zip file has a bug in that it did not create the BIN directory and files under C:\OraHome1\ifs
    Would appreciate if somebody can help. Thanks
    null

    Is C:\OraHome1 your ORACLE_HOME directory? (Usually, it's C:\Oracle\Ora81)
    Also, have you installed iFS (successfully) in that ORACLE_HOME? If so, you are guaranteed to have an %ORACLE_HOME%\ifs\bin directory.
    Finally, did you enter the correct directory as the parameter to the DEVKIT script?

  • Problem with deploying : SDM could not start the J2EE cluster on the host .

    Hello, All
    I have following problem with deploying the aplication I get  this messenger:
    16/09/2008 07:59:44 PM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR:
    [001]Deployment aborted
    Settings
    SDM host : 192.168.0.14
    SDM port : 50018
    URL to deploy : file:/C:/DOCUME1/PENITU1/LOCALS~1/Temp/temp47114ZChangeRequestDatabase.ear
    Result
    => deployment aborted : file:/C:/DOCUME1/PENITU1/LOCALS~1/Temp/temp47114ZChangeRequestDatabase.ear
    Aborted: development component 'ZChangeRequestDatabase'/'local'/'LOKAL'/'0.2008.05.03.04.24.17'/'0':
    SDM could not start the J2EE cluster on the host Jupiter! The online deployment is terminated. There is no cluster control instance running on host Jupiter which is described in SecureStorage . The instances, returned by MessageServer [MS host: Jupiter; MS port: 3901], are :|Name:JM_T1221612526745_0_penitus15 |Host:PENITUS15 |State:5|HostAddress:192.168.0.205||Name:JM_T1221612357814_0_Jupiter |Host:pfs |State:5|HostAddress:192.168.0.14||Name:JC_Jupiter_JTP_00 |Host:pfs |State:5|HostAddress:192.168.0.14|Please check if there is an appropriate running cluster instances.
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).STARTUP_CLUSTER)
    Deployment exception : The deployment of at least one item aborted
    I dont'n know  How do I  solver this error?
    - I reviewed the virtual memory and I increase the virtual memory
    - I restarted the server and  the system
    - I reviwed the parameter in the config tool --> cluster --> security storage it is OK
    Any suggestion for solver this  problem
    Thanks
    Regards
    DS

    I found this messenger in   Additional log information., Please si 
    17/09/2008 03:04:51 PM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] INFO:
    [004]Additional log information about the deployment
    <!LOGHEADER[START]/>
    <!HELP[Manual modification of the header may cause parsing problem!]/>
    <!LOGGINGVERSION[1.5.3.7185 - 630]/>
    <!NAME[C:\usr\sap\JTP\JC00\SDM\program\log\sdmcl20080917200328.log]/>
    <!PATTERN[sdmcl20080917200328.log]/>
    <!FORMATTER[com.sap.tc.logging.TraceFormatter(%24d %s: %m)]/>
    <!ENCODING[Cp1252]/>
    <!LOGHEADER[END]/>
    Sep 17, 2008 1:04:40 PM  Info: -
    Starting deployment -
    Sep 17, 2008 1:04:40 PM  Info: Error handling strategy: OnErrorStop
    Sep 17, 2008 1:04:40 PM  Info: Prerequisite error handling strategy: OnPrerequisiteErrorStop
    Sep 17, 2008 1:04:40 PM  Info: Update strategy: UpdateAllVersions
    Sep 17, 2008 1:04:40 PM  Info: Starting deployment prerequisites:
    Sep 17, 2008 1:04:40 PM  Info: Loading selected archives...
    Sep 17, 2008 1:04:40 PM  Info: Loading archive 'C:\usr\sap\JTP\JC00\SDM\program\temp\temp62604ZIssueDatabase.ear'
    Sep 17, 2008 1:04:41 PM  Info: Selected archives successfully loaded.
    Sep 17, 2008 1:04:41 PM  Info: Actions per selected component:
    Sep 17, 2008 1:04:41 PM  Info: Initial deployment: Selected development component 'ZIssueDatabase'/'local'/'LOKAL'/'0.2008.04.17.10.53.03'/'0' will be deployed.
    Sep 17, 2008 1:04:41 PM  Info: Ending deployment prerequisites. All items are correct.
    Sep 17, 2008 1:04:43 PM  Error: Unable to compare host[Jupiter] and host[PENITUS15] Throwable: java.net.UnknownHostException Throwable message: PENITUS15: PENITUS15
    Sep 17, 2008 1:04:45 PM  Error: Unable to compare host[Jupiter] and host[pfs] Throwable: java.net.UnknownHostException Throwable message: pfs: pfs
    Sep 17, 2008 1:04:45 PM  Error: Unable to compare host[Jupiter] and host[pfs] Throwable: java.net.UnknownHostException Throwable message: pfs
    Sep 17, 2008 1:04:45 PM  Info: Saved current Engine state.
    Sep 17, 2008 1:04:45 PM  Info: Starting: Initial deployment: Selected development component 'ZIssueDatabase'/'local'/'LOKAL'/'0.2008.04.17.10.53.03'/'0' will be deployed.
    Sep 17, 2008 1:04:45 PM  Info: SDA to be deployed: C:\usr\sap\JTP\JC00\SDM\root\origin\local\ZIssueDatabase\LOKAL\0\0.2008.04.17.10.53.03\temp62604ZIssueDatabase.ear
    Sep 17, 2008 1:04:45 PM  Info: Software type of SDA: J2EE
    Sep 17, 2008 1:04:45 PM  Info: ***** Begin of SAP J2EE Engine Deployment (J2EE Application) *****
    Sep 17, 2008 1:04:45 PM  Error: Unable to compare host[Jupiter] and host[PENITUS15] Throwable: java.net.UnknownHostException Throwable message: PENITUS15
    Sep 17, 2008 1:04:45 PM  Error: Unable to compare host[Jupiter] and host[pfs] Throwable: java.net.UnknownHostException Throwable message: pfs
    Sep 17, 2008 1:04:45 PM  Error: Unable to compare host[Jupiter] and host[pfs] Throwable: java.net.UnknownHostException Throwable message: pfs
    Sep 17, 2008 1:04:45 PM  Info: Starting cluster instance processes.
    Sep 17, 2008 1:04:45 PM  Error: Unable to compare host[Jupiter] and host[PENITUS15] Throwable: java.net.UnknownHostException Throwable message: PENITUS15
    Sep 17, 2008 1:04:45 PM  Error: Unable to compare host[Jupiter] and host[pfs] Throwable: java.net.UnknownHostException Throwable message: pfs
    Sep 17, 2008 1:04:45 PM  Error: Unable to compare host[Jupiter] and host[pfs] Throwable: java.net.UnknownHostException Throwable message: pfs
    Sep 17, 2008 1:04:45 PM  Error: An error occured while starting a cluster instance.
    Sep 17, 2008 1:04:45 PM  Error: There is no clutser control instance running on host Jupiter which is described in SecureStorage .
    The instances, returned by MessageServer [MS host: Jupiter; MS port: 3901], are :
    Name:JM_T1221672404781_2_penitus15
    Host:PENITUS15
    State:5
    HostAddress:192.168.0.215
    Name:JM_T1221679486171_0_Jupiter
    Host:pfs
    State:5
    HostAddress:192.168.0.14
    Name:JC_Jupiter_JTP_00
    Host:pfs
    State:5
    HostAddress:192.168.0.14
    Please check if there is an appropriate running cluster instances.
    Sep 17, 2008 1:04:45 PM  Info: ***** End of SAP J2EE Engine Deployment (J2EE Application) *****
    Sep 17, 2008 1:04:45 PM  Error: Aborted: development component 'ZIssueDatabase'/'local'/'LOKAL'/'0.2008.04.17.10.53.03'/'0':
    SDM could not start the J2EE cluster on the host Jupiter! The online deployment is terminated.
    There is no clutser control instance running on host Jupiter which is described in SecureStorage .
    The instances, returned by MessageServer [MS host: Jupiter; MS port: 3901], are :
    Name:JM_T1221672404781_2_penitus15
    Host:PENITUS15
    State:5
    HostAddress:192.168.0.215
    Name:JM_T1221679486171_0_Jupiter
    Host:pfs
    State:5
    HostAddress:192.168.0.14
    Name:JC_Jupiter_JTP_00
    Host:pfs
    State:5
    HostAddress:192.168.0.14
    Please check if there is an appropriate running cluster instances.
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).STARTUP_CLUSTER)
    Sep 17, 2008 1:04:45 PM  Info: Starting to save the repository
    Sep 17, 2008 1:04:46 PM  Info: Finished saving the repository
    Sep 17, 2008 1:04:47 PM  Info: J2EE Engine is in same state (online/offline) as it has been before this deployment process.
    Sep 17, 2008 1:04:47 PM  Error: -
    At least one of the Deployments failed -
    Any help will be well received about this problema
    Thk
    Regards
    DS

  • Problem with javascript/PHP/ oracle 10g smart quotes

    I have a problem with my php form that passes the text field to a javascript object. When I copy text from MS Word that includes smart quotes, the form inputs that into the database as ? (upside down) marks. The charset of the DB is WE8MSWIN1252. How do I store these smart quotes as regular quotes? And also if I can do any conversions on the front end (js or php). I tried doing some conversion but to no avail. Any help would be appreciated thank you. “double”

    Decide if you want your HTML pages in Windows code page 1252 or Unicode UTF-8. Then, make sure the pages are properly tagged as either "text/html;charset=windows-1252" or "text/html;charset=utf-8". Use HTTP header Content-type or the corresponding <META HTTP-EQUIV=...> tag. Then, set NLS_LANG environment variable for your PHP engine to either AMERICAN_AMERICA.WE8MSWIN1252 or to AMERICAN_AMERICA.AL32UTF8, depending on which encoding you selected for your HTML.
    -- Sergiusz

  • Problem migrating ear from Oracle AS 10g to 11g.

    Hi
    I need to deploy an ear file in Oracle AS 11g. The ear has war in it.
    The ear file has uix pages and the supporting files (EOs and VOs).
    Using Oracle AS 10g:
    Here, i used to create a OC4J container and deploy the ear in this container.
    Using Oracle AS 11g:
    As there is no OC4J container support here, I have to deploy the ear in the
    weblogic server. I am facing problems doing so.
    In weblogic console,
    1) I have created a server and got it running.
    2) Went to 'Deployments' page and clicked on 'Install'.
    3) Entered the path for the ear file and pressed 'Next'
    I am getting the following error:
    X - Error Unable to access the selected application.
    X - Message icon - Error Exception in AppMerge flows' progression
    X - Message icon - Error Exception in AppMerge flows' progression
    X - Message icon - Error Bean already exists: "weblogic.j2ee.descriptor.ParamValueBeanImpl@bdc14d68(/[uix] /InitParams[oracle.cabo.ui.UIExtensions])"
    X - Message icon - Error Bean already exists: "weblogic.j2ee.descriptor.ParamValueBeanImpl@bdc14d68(/[uix]/InitParams[oracle.cabo.ui.UIExtensions])"
    Can someone tell me if how this can be done or point me to an appropriate tutorial.
    It will be of great help.
    Thanks
    Kamal.

    Hi
    I could resolve the previous issue.
    But now i am facing the following error while trying to 'run' the application.
    Jan 9, 2010 4:35:55 PM oracle.mds.internal.lcm.logging.MDSLCMLogger info
    INFO: Application ID : OSNUIxProjec
    Jan 9, 2010 4:35:55 PM oracle.mds.internal.lcm.logging.MDSLCMLogger info
    INFO: "Metadata Services: Metadata archive (MAR) not found."
    Jan 9, 2010 4:35:55 PM JpsApplicationLifecycleListener Migrate Application Credential Store
    WARNING: Overwriting credentials is allowed in application credential store migration with Weblogic server running in Development Mode and system property 'jps.app.credential.overwrite.allowed' set to true
    Jan 9, 2010 4:36:22 PM oracle.mds.internal.lcm.logging.MDSLCMLogger info
    INFO: Application ID : wsm-pm
    Jan 9, 2010 4:36:22 PM oracle.mds.internal.lcm.logging.MDSLCMLogger info
    INFO: "Metadata Services: Metadata archive (MAR) not found."
    [2010-01-09 16:36:34] [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [ERROR] [LogWriter] getInstance() failed
    [2010-01-09 16:36:34] [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [ERROR] [LogWriter] null
    [2010-01-09 16:36:34] [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [ERROR] [LogWriter] getInstance() failed
    Any idea why this is happening?
    Thanks
    Kamal

  • Problem with deploying SPLService (CC&B2.2.0) on OAS

    Hi,
    I have a problem with installation CC&B 2.2.0.
    I have this error during the deploying it on Oracle Application Server:
    09/01/28 08:23:22 Start process
    09/01/28 08:23:30 Oracle Containers for J2EE 10g (10.1.3.1.0) initialized
    - 08:25:46,009 [DeployerRunnable Thread for SPLService] INFO (service.impl.ServiceBeanContext) Initializing Service Bean
    - 08:25:46,025 [DeployerRunnable Thread for SPLService] INFO (shared.environ.ApplicationProperties) loaded properties from resource spl.properties: {spl.runtime.service.extraInstallationServices=CILTINCP, spl.runtime.cobol.remote.jvmcommand=C:/PFiles/Java/jdk1.5.0_09/bin/java.exe, spl.tools.loaded.applications=base,ccb,cm, spl.runtime.cobol.remote.jvmcount=2, spl.runtime.socket.file.dir=C:/spl/ccb/runtime, spl.runtime.cobol.sql.fetchSize=50, spl.runtime.cobol.cobrcall=false, spl.runtime.cobol.encoding=UTF8, spl.runtime.cobol.sql.disableQueryCache=false, com.splwg.grid.online.enabled=true, spl.runtime.utf8Database=true, spl.runtime.cobol.remote.jvmoptions=-Xmx512m -server -Dfile.encoding=ISO8859_1 -cp C:/spl/ccb/splapp/standalone/config;C:/spl/ccb/splapp/standalone/lib/activation_api-1.1.jar;C:/spl/ccb/splapp/standalone/lib/commons-beanutils-core-1.7.0.jar;C:/spl/ccb/splapp/standalone/lib/commons-codec-1.3.jar;C:/spl/ccb/splapp/standalone/lib/commons-collections-2.1.1.jar;C:/spl/ccb/splapp/standalone/lib/commons-fileupload-1.2.jar;C:/spl/ccb/splapp/standalone/lib/commons-httpclient-2.0.2.jar;C:/spl/ccb/splapp/standalone/lib/commons-io-1.3.2.jar;C:/spl/ccb/splapp/standalone/lib/commons-lang-2.2.jar;C:/spl/ccb/splapp/standalone/lib/commons-logging-1.0.4.jar;C:/spl/ccb/splapp/standalone/lib/concurrent-1.3.4.jar;C:/spl/ccb/splapp/standalone/lib/dom4j-1.6.1.jar;C:/spl/ccb/splapp/standalone/lib/hibernate-3.2.5.ga.jar;C:/spl/ccb/splapp/standalone/lib/icu4j-3.6.1.jar;C:/spl/ccb/splapp/standalone/lib/jaxen-1.1.1.jar;C:/spl/ccb/splapp/standalone/lib/jcip-annotations.jar;C:/spl/ccb/splapp/standalone/lib/jta.jar;C:/spl/ccb/splapp/standalone/lib/jtds-1.2.jar;C:/spl/ccb/splapp/standalone/lib/log4j-1.2.15.jar;C:/spl/ccb/splapp/standalone/lib/mail_api-1.4.jar;C:/spl/ccb/splapp/standalone/lib/mfcobol.jar;C:/spl/ccb/splapp/standalone/lib/ojdbc5-11.1.0.6.0.jar;C:/spl/ccb/splapp/standalone/lib/orai18n-collation.jar;C:/spl/ccb/splapp/standalone/lib/orai18n-mapping.jar;C:/spl/ccb/splapp/standalone/lib/orai18n-utility.jar;C:/spl/ccb/splapp/standalone/lib/orai18n.jar;C:/spl/ccb/splapp/standalone/lib/serializer-2.7.0.jar;C:/spl/ccb/splapp/standalone/lib/spl-base-2.2.0.jar;C:/spl/ccb/splapp/standalone/lib/spl-ccb-2.2.0.jar;C:/spl/ccb/splapp/standalone/lib/spl-servicebeaninterface-2.2.0.jar;C:/spl/ccb/splapp/standalone/lib/spl-serviceclient-2.2.0.jar;C:/spl/ccb/splapp/standalone/lib/spl-shared-2.2.0.jar;C:/spl/ccb/splapp/standalone/lib/spl-web-2.2.0.jar;C:/spl/ccb/splapp/standalone/lib/spl-xai-2.2.0.jar;C:/spl/ccb/splapp/standalone/lib/xalan-2.7.0.jar;C:/spl/ccb/splapp/standalone/lib/xmlparserv2.jar;C:/spl/ccb/splapp/standalone/lib/xquery.jar;C:/spl/ccb/splapp/standalone/lib/xstream-1.2.1.jar;C:/spl/ccb/splapp/standalone/lib/yjp-controller-api-redist.jar, spl.runtime.environ.init.dir=C:/spl/ccb/etc, com.splwg.grid.distThreadPool.threads.DEFAULT=5, spl.runtime.cobol.sql.cache.maxTotalEntries=1000, spl.runtime.oracle.statementCacheSize=300, spl.runtime.cobol.remote.rmiStartPort=6503, spl.runtime.cobol.sql.cursoredCache.maxRows=10, spl.runtime.cobol.remote.jvm=true, com.splwg.batch.scheduler.daemon=true, spl.runtime.sql.highValue=}
    - 08:25:46,025 [DeployerRunnable Thread for SPLService] INFO (shared.context.ApplicationMode) Application set to production mode
    - 08:25:46,041 [DeployerRunnable Thread for SPLService] INFO (support.context.ContextFactory) Creating default context
    - 08:25:47,697 [DeployerRunnable Thread for SPLService] INFO (support.context.ContextFactory) Loading lookups for runtime discovery of implemented lookups in application
    - 08:25:48,228 [DeployerRunnable Thread for SPLService] INFO (support.context.ContextFactory) Done loading lookups for discovery, time 526,639 ms
    - 08:25:51,259 [DeployerRunnable Thread for SPLService] INFO (shared.context.ContextLoader) Discovering lookups for base
    - 08:25:51,525 [DeployerRunnable Thread for SPLService] INFO (shared.context.ContextLoader) Done discovering base lookups (generated=203, manual=23), time 263,781 ms
    - 08:25:54,869 [DeployerRunnable Thread for SPLService] INFO (shared.context.ContextLoader) Discovering lookups for ccb
    - 08:25:55,134 [DeployerRunnable Thread for SPLService] INFO (shared.context.ContextLoader) Done discovering ccb lookups (generated=439, manual=81), time 257,230 ms
    - 08:25:55,197 [DeployerRunnable Thread for SPLService] WARN (shared.environ.ContextManagedObjectSet) Could not load resource com/splwg/cm/domain/contextManagedObjects.xml on classpath. This may be harmless but could mean a problem with the classpath. Please verify that the classpath for application cm is correctly configured.
    - 08:26:07,415 [DeployerRunnable Thread for SPLService] INFO (support.context.ContextFactory) Registering lookups
    - 08:26:07,900 [DeployerRunnable Thread for SPLService] INFO (support.context.ContextFactory) 613 lookups registered, time 483,437 ms
    - 08:26:07,900 [DeployerRunnable Thread for SPLService] INFO (support.context.ComponentContainerLookupHelper) Initializing constants on 642 lookup interface classes
    - 08:26:08,759 [DeployerRunnable Thread for SPLService] INFO (support.context.ComponentContainerLookupHelper) Done initializing lookup constants, time 862,978 ms
    - 08:26:08,759 [DeployerRunnable Thread for SPLService] INFO (support.context.ContextFactory) Registering Entities
    - 08:26:11,384 [DeployerRunnable Thread for SPLService] INFO (support.context.ContextFactory) 857 entities registered, time 2 621,264 ms
    - 08:26:11,384 [DeployerRunnable Thread for SPLService] INFO (support.context.ContextFactory) Registering Code Description queries
    - 08:26:11,384 [DeployerRunnable Thread for SPLService] INFO (support.context.ContextFactory) 50 code/description queries registered, time 0,085 ms
    - 08:26:11,384 [DeployerRunnable Thread for SPLService] INFO (support.context.ContextFactory) Registering algorithm spots
    - 08:26:11,384 [DeployerRunnable Thread for SPLService] INFO (support.context.ContextFactory) 183 algorithm spots registered, time 0,382 ms
    - 08:26:11,384 [DeployerRunnable Thread for SPLService] INFO (support.context.ContextFactory) Registering algorithm components
    - 08:26:11,384 [DeployerRunnable Thread for SPLService] INFO (support.context.ContextFactory) 68 algorithm components registered, time 0,087 ms
    - 08:26:11,384 [DeployerRunnable Thread for SPLService] INFO (support.context.ContextFactory) Registering batch jobs
    - 08:26:11,384 [DeployerRunnable Thread for SPLService] INFO (support.context.ContextFactory) 21 batch jobs registered, time 0,052 ms
    - 08:26:11,384 [DeployerRunnable Thread for SPLService] INFO (support.context.ContextFactory) Registering Components
    - 08:26:11,384 [DeployerRunnable Thread for SPLService] INFO (support.context.ContextFactory) 489 components registered, time 4,287 ms
    - 08:26:11,384 [DeployerRunnable Thread for SPLService] INFO (support.context.ContextFactory) Registering Change Handlers
    - 08:26:11,384 [DeployerRunnable Thread for SPLService] INFO (support.context.ContextFactory) 237 handlers registered, time 0,913 ms
    - 08:26:11,384 [DeployerRunnable Thread for SPLService] INFO (support.context.ContextFactory) Registering Services
    - 08:26:11,399 [DeployerRunnable Thread for SPLService] INFO (support.context.ContextFactory) 460 services registered, time 13,970 ms
    - 08:26:11,399 [DeployerRunnable Thread for SPLService] INFO (support.context.ContextFactory) Registering cobol programs
    - 08:26:11,696 [DeployerRunnable Thread for SPLService] INFO (support.context.ContextFactory) 351 cobol copybooks registered, time 293,026 ms
    - 08:26:11,696 [DeployerRunnable Thread for SPLService] INFO (support.context.ContextFactory) Registering cobol programs
    - 08:26:11,696 [DeployerRunnable Thread for SPLService] INFO (support.context.ContextFactory) 105 cobol programs registered, time 0,094 ms
    - 08:26:11,696 [DeployerRunnable Thread for SPLService] INFO (support.context.ApplicationContext) Building hibernate configuration
    - 08:26:11,696 [DeployerRunnable Thread for SPLService] INFO (support.context.ApplicationContext) Adding 857 hibernate mappings
    - 08:26:13,603 [DeployerRunnable Thread for SPLService] INFO (support.context.ApplicationContext) Added 100 mappings
    - 08:26:14,321 [DeployerRunnable Thread for SPLService] INFO (support.context.ApplicationContext) Added 200 mappings
    - 08:26:15,056 [DeployerRunnable Thread for SPLService] INFO (support.context.ApplicationContext) Added 300 mappings
    - 08:26:15,759 [DeployerRunnable Thread for SPLService] INFO (support.context.ApplicationContext) Added 400 mappings
    - 08:26:16,462 [DeployerRunnable Thread for SPLService] INFO (support.context.ApplicationContext) Added 500 mappings
    - 08:26:17,118 [DeployerRunnable Thread for SPLService] INFO (support.context.ApplicationContext) Added 600 mappings
    - 08:26:17,759 [DeployerRunnable Thread for SPLService] INFO (support.context.ApplicationContext) Added 700 mappings
    - 08:26:18,415 [DeployerRunnable Thread for SPLService] INFO (support.context.ApplicationContext) Added 800 mappings
    - 08:26:18,790 [DeployerRunnable Thread for SPLService] INFO (support.context.ApplicationContext) Added 857 mappings
    - 08:26:18,790 [DeployerRunnable Thread for SPLService] INFO (support.context.ApplicationContext) Done building hibernate configuration, time 7 095,676 ms
    - 08:26:18,790 [DeployerRunnable Thread for SPLService] INFO (support.context.ApplicationContext) Building hibernate session factory
    - 08:26:20,165 [DeployerRunnable Thread for SPLService] INFO (hibernate.connection.ConnectionProviderFactory) Initializing connection provider: org.hibernate.connection.C3P0ConnectionProvider
    - 08:26:20,165 [DeployerRunnable Thread for SPLService] INFO (hibernate.connection.C3P0ConnectionProvider) C3P0 using driver: oracle.jdbc.driver.OracleDriver at URL: jdbc:oracle:thin:@localhost:1521:ccb
    - 08:26:20,165 [DeployerRunnable Thread for SPLService] INFO (hibernate.connection.C3P0ConnectionProvider) Connection properties: {user=cisuser, password=****}
    - 08:26:20,165 [DeployerRunnable Thread for SPLService] INFO (hibernate.connection.C3P0ConnectionProvider) autocommit mode: false
    - 08:26:20,181 [DeployerRunnable Thread for SPLService] INFO (v2.log.MLog) MLog clients using log4j logging.
    - 08:26:20,259 [DeployerRunnable Thread for SPLService] INFO (v2.c3p0.C3P0Registry) jdk1.5 management interfaces unavailable... JMX support disabled.
    java.lang.SecurityException: Unauthorized access from application: SPLService to MBean: java.lang:type=ClassLoading
         at oracle.oc4j.admin.jmx.shared.UserMBeanServer.checkRegisterAccess(UserMBeanServer.java:873)
         at oracle.oc4j.admin.jmx.shared.UserMBeanServer.registerMBean(UserMBeanServer.java:400)
         at oracle.oc4j.admin.jmx.server.state.LocalizationFilterMBeanServer.registerMBean(LocalizationFilterMBeanServer.java:348)
         at sun.management.ManagementFactory$1.run(ManagementFactory.java:240)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.management.ManagementFactory.addMBean(ManagementFactory.java:235)
         at sun.management.ManagementFactory.addMBean(ManagementFactory.java:223)
         at sun.management.ManagementFactory.createPlatformMBeanServer(ManagementFactory.java:266)
         at java.lang.management.ManagementFactory.getPlatformMBeanServer(ManagementFactory.java:512)
         at com.mchange.v2.c3p0.management.ActiveManagementCoordinator.<init>(ActiveManagementCoordinator.java:42)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
         at java.lang.Class.newInstance0(Class.java:350)
         at java.lang.Class.newInstance(Class.java:303)
         at com.mchange.v2.c3p0.C3P0Registry.<clinit>(C3P0Registry.java:134)
         at com.mchange.v2.c3p0.impl.DriverManagerDataSourceBase.<init>(DriverManagerDataSourceBase.java:206)
         at com.mchange.v2.c3p0.DriverManagerDataSource.<init>(DriverManagerDataSource.java:60)
         at com.mchange.v2.c3p0.DriverManagerDataSource.<init>(DriverManagerDataSource.java:56)
         at com.mchange.v2.c3p0.DataSources.unpooledDataSource(DataSources.java:152)
         at org.hibernate.connection.C3P0ConnectionProvider.configure(C3P0ConnectionProvider.java:154)
         at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124)
         at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:56)
         at org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:414)
         at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:62)
         at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2009)
         at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1292)
         at com.splwg.base.support.context.ApplicationContext.buildSessionFactory(ApplicationContext.java:152)
         at com.splwg.base.support.context.ContextFactory.buildContext(ContextFactory.java:114)
         at com.splwg.base.support.context.ContextFactory.buildContext(ContextFactory.java:88)
         at com.splwg.base.support.context.ContextFactory.createDefaultContext(ContextFactory.java:497)
         at com.splwg.ejb.service.impl.ServiceBeanContext.initializeApplicationContext(ServiceBeanContext.java:79)
         at com.splwg.ejb.service.impl.ServiceBeanContext.initialize(ServiceBeanContext.java:27)
         at com.splwg.ejb.service.impl.ServiceBean.<clinit>(ServiceBean.java:43)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:242)
         at com.evermind.server.ejb.deployment.BeanDescriptor.initialize(BeanDescriptor.java:288)
         at com.evermind.server.ejb.deployment.ExposableBeanDescriptor.initialize(ExposableBeanDescriptor.java:173)
         at com.evermind.server.ejb.deployment.SessionBeanDescriptor.initialize(SessionBeanDescriptor.java:225)
         at com.evermind.server.ejb.deployment.EJBPackage.initialize(EJBPackage.java:999)
         at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:852)
         at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:217)
         at com.evermind.server.Application.setConfig(Application.java:413)
         at com.evermind.server.Application.setConfig(Application.java:314)
         at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1853)
         at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.java:512)
         at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:196)
         at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
         at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
         at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
         at java.lang.Thread.run(Thread.java:595)
    Can anyone help me to resolve this?
    Thanks - Michael

    Yes, SYSUSER is defined and it is a member of cisusers group.
    on another forum I found a solution for "Unauthorized access exc...". I added "-Doc4j.jmx.security.proxy.off=true" to "Start-parameters: Java Options". Now I don't have this error, but I have another:
    - 09:17:53,725 [DeployerRunnable Thread for SPLService] INFO (cobol.host.CobolHostStartup) Using provided java command for remote cobol execution: C:/PFiles/Java/jdk1.5.0_09/bin/java.exe
    - 09:17:53,725 [DeployerRunnable Thread for SPLService] INFO (cobol.host.CobolHostStartup) Using provided java command options for remote cobol execution: -Xmx512m -server -Dfile.encoding=ISO8859_1 -cp C:/spl/ccb/splapp/standalone/config;C:/spl/ccb/splapp/standalone/lib/activation_api-1.1.jar;C:/spl/ccb/splapp/standalone/lib/commons-beanutils-core-1.7.0.jar;C:/spl/ccb/splapp/standalone/lib/commons-codec-1.3.jar;C:/spl/ccb/splapp/standalone/lib/commons-collections-2.1.1.jar;C:/spl/ccb/splapp/standalone/lib/commons-fileupload-1.2.jar;C:/spl/ccb/splapp/standalone/lib/commons-httpclient-2.0.2.jar;C:/spl/ccb/splapp/standalone/lib/commons-io-1.3.2.jar;C:/spl/ccb/splapp/standalone/lib/commons-lang-2.2.jar;C:/spl/ccb/splapp/standalone/lib/commons-logging-1.0.4.jar;C:/spl/ccb/splapp/standalone/lib/concurrent-1.3.4.jar;C:/spl/ccb/splapp/standalone/lib/dom4j-1.6.1.jar;C:/spl/ccb/splapp/standalone/lib/hibernate-3.2.5.ga.jar;C:/spl/ccb/splapp/standalone/lib/icu4j-3.6.1.jar;C:/spl/ccb/splapp/standalone/lib/jaxen-1.1.1.jar;C:/spl/ccb/splapp/standalone/lib/jcip-annotations.jar;C:/spl/ccb/splapp/standalone/lib/jta.jar;C:/spl/ccb/splapp/standalone/lib/jtds-1.2.jar;C:/spl/ccb/splapp/standalone/lib/log4j-1.2.15.jar;C:/spl/ccb/splapp/standalone/lib/mail_api-1.4.jar;C:/spl/ccb/splapp/standalone/lib/mfcobol.jar;C:/spl/ccb/splapp/standalone/lib/ojdbc5-11.1.0.6.0.jar;C:/spl/ccb/splapp/standalone/lib/orai18n-collation.jar;C:/spl/ccb/splapp/standalone/lib/orai18n-mapping.jar;C:/spl/ccb/splapp/standalone/lib/orai18n-utility.jar;C:/spl/ccb/splapp/standalone/lib/orai18n.jar;C:/spl/ccb/splapp/standalone/lib/serializer-2.7.0.jar;C:/spl/ccb/splapp/standalone/lib/spl-base-2.2.0.jar;C:/spl/ccb/splapp/standalone/lib/spl-ccb-2.2.0.jar;C:/spl/ccb/splapp/standalone/lib/spl-servicebeaninterface-2.2.0.jar;C:/spl/ccb/splapp/standalone/lib/spl-serviceclient-2.2.0.jar;C:/spl/ccb/splapp/standalone/lib/spl-shared-2.2.0.jar;C:/spl/ccb/splapp/standalone/lib/spl-web-2.2.0.jar;C:/spl/ccb/splapp/standalone/lib/spl-xai-2.2.0.jar;C:/spl/ccb/splapp/standalone/lib/xalan-2.7.0.jar;C:/spl/ccb/splapp/standalone/lib/xmlparserv2.jar;C:/spl/ccb/splapp/standalone/lib/xquery.jar;C:/spl/ccb/splapp/standalone/lib/xstream-1.2.1.jar;C:/spl/ccb/splapp/standalone/lib/yjp-controller-api-redist.jar
    - 09:17:53,725 [DeployerRunnable Thread for SPLService] INFO (cobol.host.CobolHostStartup) Using starting port number 6503 for remote cobol execution.
    - 09:17:53,740 [DeployerRunnable Thread for SPLService] INFO (cobol.host.SocketStrategy) Socket strategy set to com.splwg.base.support.cobol.host.sockets.WindowsPipeSocketStrategy
    - 09:17:53,756 [DeployerRunnable Thread for SPLService] DEBUG (host.sockets.WindowsPipeSocket) Creating client socket for named pipe remoteJvmPipe6504
    - 09:17:53,787 [JVM Socket Listener] DEBUG (support.context.ThreadlocalStorage) Added entry to ThreadlocalStorage global map, current size: 3
    - 09:17:53,787 [JVM Socket Listener] DEBUG (host.sockets.WindowsPipeSocket) Creating server socket for named pipe remoteJvmPipe6504
    - 09:17:53,787 [DeployerRunnable Thread for SPLService] INFO (cobol.host.CobolHostStartup) Using active JVM count of 2 for remote cobol execution.
    - 09:17:53,803 [DeployerRunnable Thread for SPLService] DEBUG (host.sockets.WindowsPipeSocket) Creating client socket for named pipe remoteJvmPipe6506
    - 09:17:53,803 [DeployerRunnable Thread for SPLService] DEBUG (cobol.host.RemoteJVMFactoryImpl) Command line used to launch child JVM: C:/PFiles/Java/jdk1.5.0_09/bin/java.exe -Xmx512m -server -Dfile.encoding=ISO8859_1 -cp C:/spl/ccb/splapp/standalone/config;C:/spl/ccb/splapp/standalone/lib/activation_api-1.1.jar;C:/spl/ccb/splapp/standalone/lib/commons-beanutils-core-1.7.0.jar;C:/spl/ccb/splapp/standalone/lib/commons-codec-1.3.jar;C:/spl/ccb/splapp/standalone/lib/commons-collections-2.1.1.jar;C:/spl/ccb/splapp/standalone/lib/commons-fileupload-1.2.jar;C:/spl/ccb/splapp/standalone/lib/commons-httpclient-2.0.2.jar;C:/spl/ccb/splapp/standalone/lib/commons-io-1.3.2.jar;C:/spl/ccb/splapp/standalone/lib/commons-lang-2.2.jar;C:/spl/ccb/splapp/standalone/lib/commons-logging-1.0.4.jar;C:/spl/ccb/splapp/standalone/lib/concurrent-1.3.4.jar;C:/spl/ccb/splapp/standalone/lib/dom4j-1.6.1.jar;C:/spl/ccb/splapp/standalone/lib/hibernate-3.2.5.ga.jar;C:/spl/ccb/splapp/standalone/lib/icu4j-3.6.1.jar;C:/spl/ccb/splapp/standalone/lib/jaxen-1.1.1.jar;C:/spl/ccb/splapp/standalone/lib/jcip-annotations.jar;C:/spl/ccb/splapp/standalone/lib/jta.jar;C:/spl/ccb/splapp/standalone/lib/jtds-1.2.jar;C:/spl/ccb/splapp/standalone/lib/log4j-1.2.15.jar;C:/spl/ccb/splapp/standalone/lib/mail_api-1.4.jar;C:/spl/ccb/splapp/standalone/lib/mfcobol.jar;C:/spl/ccb/splapp/standalone/lib/ojdbc5-11.1.0.6.0.jar;C:/spl/ccb/splapp/standalone/lib/orai18n-collation.jar;C:/spl/ccb/splapp/standalone/lib/orai18n-mapping.jar;C:/spl/ccb/splapp/standalone/lib/orai18n-utility.jar;C:/spl/ccb/splapp/standalone/lib/orai18n.jar;C:/spl/ccb/splapp/standalone/lib/serializer-2.7.0.jar;C:/spl/ccb/splapp/standalone/lib/spl-base-2.2.0.jar;C:/spl/ccb/splapp/standalone/lib/spl-ccb-2.2.0.jar;C:/spl/ccb/splapp/standalone/lib/spl-servicebeaninterface-2.2.0.jar;C:/spl/ccb/splapp/standalone/lib/spl-serviceclient-2.2.0.jar;C:/spl/ccb/splapp/standalone/lib/spl-shared-2.2.0.jar;C:/spl/ccb/splapp/standalone/lib/spl-web-2.2.0.jar;C:/spl/ccb/splapp/standalone/lib/spl-xai-2.2.0.jar;C:/spl/ccb/splapp/standalone/lib/xalan-2.7.0.jar;C:/spl/ccb/splapp/standalone/lib/xmlparserv2.jar;C:/spl/ccb/splapp/standalone/lib/xquery.jar;C:/spl/ccb/splapp/standalone/lib/xstream-1.2.1.jar;C:/spl/ccb/splapp/standalone/lib/yjp-controller-api-redist.jar com.splwg.base.support.cobol.host.RemoteJVM 1 6505 6506 2
    - 09:17:53,834 [DeployerRunnable Thread for SPLService] DEBUG (cobol.host.RemoteRequestTimer) Request made:RegisterServerExecuterCommand for connection 5040264954652086151
    - 09:17:53,834 [DeployerRunnable Thread for SPLService] DEBUG (cobol.host.RemoteRunnerImpl) Invoking command: RegisterServerExecuterCommand
    - 09:17:53,850 [DeployerRunnable Thread for SPLService] DEBUG (cobol.host.SocketStrategy) Attempting to create socket on port 6506
    - 09:17:53,850 [DeployerRunnable Thread for SPLService] DEBUG (host.sockets.WindowsPipeSocket) Creating client socket for named pipe remoteJvmPipe6506
    - 09:17:53,850 [DeployerRunnable Thread for SPLService] WARN (cobol.host.SocketStrategy) Unable to create socket on port 6506
    java.net.ConnectException: Error: Could not open pipe
    caused by system error: cannot find the file specified.
         at com.splwg.base.support.cobol.host.sockets.WindowsPipeSocket.connectToPipe(Native Method)
         at com.splwg.base.support.cobol.host.sockets.WindowsPipeSocket.<init>(WindowsPipeSocket.java:64)
         at com.splwg.base.support.cobol.host.sockets.WindowsPipeSocket.createSocket(WindowsPipeSocket.java:100)
         at com.splwg.base.support.cobol.host.sockets.WindowsPipeSocket.connect(WindowsPipeSocket.java:96)
         at com.splwg.base.support.cobol.host.sockets.WindowsPipeSocketStrategy.openSocket(WindowsPipeSocketStrategy.java:32)
         at com.splwg.base.support.cobol.host.SocketStrategy.unsafeOpen(SocketStrategy.java:119)
         at com.splwg.base.support.cobol.host.SocketStrategy.open(SocketStrategy.java:104)
         at com.splwg.base.support.cobol.host.OptimizedRemoteExecuterStub.createNewHolder(OptimizedRemoteExecuterStub.java:162)
         at com.splwg.base.support.cobol.host.OptimizedRemoteExecuterStub.getStreamHolder(OptimizedRemoteExecuterStub.java:125)
         at com.splwg.base.support.cobol.host.OptimizedRemoteExecuterStub.invoke(OptimizedRemoteExecuterStub.java:46)
         at com.splwg.base.support.cobol.host.RemoteRunnerImpl.invoke(RemoteRunnerImpl.java:89)
         at com.splwg.base.support.cobol.host.RemoteJVMConnectionImpl.createRemoteRunner(RemoteJVMConnectionImpl.java:148)
         at com.splwg.base.support.cobol.host.RemoteJVMConnectionImpl.<init>(RemoteJVMConnectionImpl.java:67)
         at com.splwg.base.support.cobol.host.RemoteJVMFactoryImpl.addConnection(RemoteJVMFactoryImpl.java:92)
         at com.splwg.base.support.cobol.host.RotatingCommandRunnerProvider.addNewConnection(RotatingCommandRunnerProvider.java:135)
         at com.splwg.base.support.cobol.host.RotatingCommandRunnerProvider.addNecessaryConnections(RotatingCommandRunnerProvider.java:121)
         at com.splwg.base.support.cobol.host.RotatingCommandRunnerProvider.access$800(RotatingCommandRunnerProvider.java:30)
         at com.splwg.base.support.cobol.host.RotatingCommandRunnerProvider$ConnectionMonitor.performPollingActions(RotatingCommandRunnerProvider.java:257)
         at com.splwg.base.support.cobol.host.RotatingCommandRunnerProvider$ConnectionMonitor.performRunLoop(RotatingCommandRunnerProvider.java:239)
         at com.splwg.base.support.cobol.host.RotatingCommandRunnerProvider$ConnectionMonitor.run(RotatingCommandRunnerProvider.java:230)
         at java.lang.Thread.run(Thread.java:595)
    other processes don't use port 6506, java.exe opens this port few secounds after starting genoasdeploy.cmd
    Edited by: user4630304 on 2009-02-03 02:29

  • Problems with Deploying the Tutorial

    Hi,
    i've tried to develop a small web service on the Oracle Application Server. Therefor i've tested the Tutorial Developing, Deploying and Managing Web Services Using JDeveloper and Oracle Application Server (http://www.oracle.com/technology/obe/obe1013jdev/ws/wsandascontrol.htm).
    But i've several problems with this tutorial...
    In the tutorial is mentioned to use J2EE 1.4 JAX RPC, but with this one i cant deploy on my Application Server - only local embedded works. On the Application Server i get the message:
    #### DCM command did not complete successfully (-8)
    #### HTTP return code was -8
    Exit status of DCM servlet client: -8
    Elapsed time for deployment: 22 seconds
    #### Deployment incomplete. #### 28-Sep-2006 16:29:04
    After searching the forum i found the reason for this...
    Unable to deploy web-service from JDeveloper to Oracle AS
    Okay so i tried to develop the same example under J2EE 1.3... Now i can deploy the example on the Application Server but it doesn't work either! When i call the webservice i recieve the error:
    500 Internal Server Error
    java.lang.UnsupportedClassVersionError: getdates2/IGetDates2 (Unsupported major.minor version 49.0)
         at java.lang.ClassLoader.defineClass0(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.OC4JSecureClassLoader.defineClassEntry(OC4JSecureClassLoader.java:172)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].naming.ContextClassLoader.defineClass(ContextClassLoader.java:1179)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].naming.ContextClassLoader.defineClass(ContextClassLoader.java:1065)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].naming.ContextClassLoader.findClass(ContextClassLoader.java:404)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].naming.ContextClassLoader.loadClass(ContextClassLoader.java:143)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:282)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
         at oracle.j2ee.ws.JavaRpcWebService.init(JavaRpcWebService.java:76)
         at javax.servlet.GenericServlet.init(GenericServlet.java:258)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpApplication.loadServlet(HttpApplication.java:2354)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpApplication.findServlet(HttpApplication.java:4795)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2821)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:680)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    Okay so i tested it in embedded mode but it doesn't work here too... i get the error:
    500 Internal Server Error
    Servlet error: No Serializer found to serialize a 'java.util.Calendar' using encoding style 'http://schemas.xmlsoap.org/soap/encoding/'.
    Damn! I dont know what to do ;)
    Any suggestions?
    thx
    Matthias
    btw:
    Setup is:
    JDeveloper 10.1.3.1
    AppServer 10.1.2.0.2
    Content DB 10.2.0.0.0

    Another Problem occurred...
    As i mentioned deploying direct to the AppServer from JDeveloper works well (for the J2EE 1.3) but only that it doest work on the Application Server. So I tried to deploy a ear/war file and check them manuell into the Application Server. But doesn't work either...
    I get the following error:
    Deployment nicht erfolgreich: Verschachtelte Exception
    Lösung:
    Basis-Exception:
    java.rmi.RemoteException
    deploy failed!: ; nested exception is:
    oracle.oc4j.admin.internal.DeployerException: Unknown assembly root-tag attribute: xmlns:xsi. deploy failed!: ; nested exception is:
    oracle.oc4j.admin.internal.DeployerException: Unknown assembly root-tag attribute: xmlns:xsi
    Any ideas for solving this problem?

  • Problem with query for Oracle

    Hello Experts,
    I'm tryng to develop my first application for EP (v7 SP12) with NWDS (without NWDI).
    This application has to read and write data in the EP DB (oracle v10).
    I'm using:
    <u>a Dictionary Project</u> (define the DB Tables)
    <u>a Java Project</u> (define class as DAO, DBManager etc)
    <u>a Library Project</u>
    <u>an EJB Project</u>
    <u>an EAR Project</u>
    With these projects I can deploy a <u>webService</u> in my EP server.
    BUT I have some problem with a query that I'm tryng to sent to my DB through a DAO Class called by my WebService.
    The query is simple and correct but it does not work...
    This is the error message returned (the query id in bold)
    (column names: GIORNO, NOMEDITTA, NOMEAREA, NOMESETTORE)
    <i>HTTP/1.1 500 Internal Server Error
    Connection: close
    Server: SAP J2EE Engine/7.00
    Content-Type: text/xml; charset=UTF-8
    Date: Fri, 21 Sep 2007 14:29:57 GMT
    Set-Cookie: <value is hidden>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode>SOAP-ENV:Client</faultcode><faultstring>java.sql.SQLException: com.sap.sql.log.OpenSQLException: The SQL statement <b>"SELECT NOMESETTORE, MIN(? - "GIORNO") AS GIORNI FROM SRS_DATEINFORTUNI WHERE NOMEDITTA = ? AND NOMEAREA= ? GROUP BY NOMESETTORE ORDER BY NOMESETTORE"</b> <u>contains the syntax error[s]: - 1:25 - the arithmetic expression >>? - "GIORNO"<< contains a host variable (parameter marker)</u></faultstring><detail><ns1:getGiorniSettori_com.akhela.giorniSenzaInfortuni.ejb.exception.GiorniSenzaInfortuniException xmlns:ns1='urn:GiorniSenzaInfortuniWSWsd/GiorniSenzaInfortuniWSVi'></ns1:getGiorniSettori_com.akhela.giorniSenzaInfortuni.ejb.exception.GiorniSenzaInfortuniException></detail></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope></i>
    The variable '?' is the today date, the difference <b>"(?-GIORNO)"</b> is an int..
    Moreover in my DAO class the query is <b>"SELECT NOMESETTORE, MIN(? - GIORNO) AS GIORNI FROM SRS_DATEINFORTUNI WHERE NOMEDITTA = ? AND NOMEAREA= ? GROUP BY NOMESETTORE ORDER BY NOMESETTORE</b>", instead in the error message is reported <b>MIN(? - "GIORNO")</b>...
    We have tryed also with alternative query, for example we used <b>"MIN(SYSDATA - GIORNO)"</b> but <b>SYSDATA</b> was interpreted as column name and  not found....
    Any help???
    Best Regards

    Hi, I found something about the Host Variable (http://help.sap.com/saphelp_nw70/helpdata/en/ed/dbf8b7823b084f80a6eb7ad43bdbb9/content.htm), there explain that if you want to use an host variable you have to put ':' as prefix..
    My problem is that <u>I need to extract the minimum of the subtraction between two dates:</u>
    Query <b>MIN(? - GIORNO)</b> --> <i>Error: the arithmetic expression >>? - "GIORNO"<< contains a host variable (parameter marker)</i>
    So I tried to use the ':' as indicated in the manual..
    <b>MIN:(? - GIORNO)</b> --> - <i>SQL syntax error: the token ":" was not expected here
                   - expecting LPAREN, found ':'</i>
    <b>MIN(:(? - GIORNO))</b> --> <i>- 1:25 - Open SQL syntax error: :PARAMETER not allowed
                   - 1:26 - SQL syntax error: the token "(" was not expected here
                   - 1:26 - expecting ID, found '('</i>
    Then I tried to avoid the MIN() function and I tried to do just the subtraction:
    <b>? - GIORNO</b> --><i> - 1:21 - the arithmetic expression >>? - "GIORNO"<< contains a host variable (parameter marker)</i>
    <b>:(? - GIORNO)</b> --> <i>- 1:21 - Open SQL syntax error: :PARAMETER not allowed
                - 1:22 - SQL syntax error: the token "(" was not expected here
                - 1:22 - expecting ID, found '('</i>
    <b>'2007-09-24' - GIORNO</b> --> <i>- 1:34 - SQL syntax error: first argument of operator "-" must be a number, date/time or interval
                     - 1:43 - SQL syntax error: arguments of operator "-" do not have correct types
                     - 1:43 - SQL syntax error: derived columns in SELECT list with AS must be values</i>
    <b>GIORNO - GIORNO</b> --> <i>- 1:21 - the group by list and the select list are inconsistent: the column >>"GIORNO"<< is neither grouped nor aggregated
                  - 1:30 - the group by list and the select list are inconsistent: the column >>"GIORNO"<< is neither grouped nor aggregated</i>
    Why these parts of query are not accepted???
    I don't understand why... I hope you can help me.
    Best Regards
    Alessandro

  • Problem connect form6i and Oracle Database 10g

    I can't connect form6i to Oracle Database 10g
    When complete user/password@database fatal error produce:
    "Oracle Forms Designer has encountered a problem and needs to close. We are sorry for the inconvenience"
    Error Detail:
    AppName: ifbld60.exe     AppVer: 6.0.8.27     ModName: ora805.dll
    ModVer: 0.0.0.0     Offset: 000b4f04
    Product Install:
    - Forms Version: Forms [32 bits] Versión 6.0.8.27.0
    - Oracle Database: 10.2.0
    - Win XP professional with SP2.
    Any idea what might cause Forms to shutdown ubnormally?
    Thanks

    If your database is using the AL32UTF8 character set, Forms 6i cannot connect.
    Read this thread:
    connecting form 6i  to oracle database 10G express edition

  • Doubt with Windows and Oracle Forms 10G and 11g

    Hi
    I have some doubts in installing Oracle Client on Windows.
    a)Can we install Oracle Forms 10g and Reports 10g client on Windows 7?
    b)Can we install Oracle Forms 11g and Reports 11g client on Windows XP?
    c)If we have an Oracle Forms 11g and Reports 11g, can it connect to a 10g Server?
    d)If we have an Oracle Forms 10g and Reports 10g Client, can it connect to an 11g Server?
    Please, Can any one help me in this????

    a)yes it can be installed on win7, may have some issues on 64bit systems but they're solvable
    b)11g had some problems with windows 2000, but didn't see mention of any problems on XP
    c)if you mean a database server then yes - i managed to connect 11g to an 8i database, so v10 should not be a problem. If you mean a forms/reports server..well newer forms/reports builder might not want to run old forms/reports and vice versa, but I don't see the point of operating on the same files from different versions. You can still load old form/report source files with a newer builder and recompile them to run on the new server.
    d) the "client" is effectively your web browser with a java plugin, unless I misunderstood your question. What version was a form/report compiled with should not be an issue.

  • Create an EAR in JDeveloper to deploy on Oracle AS 10g

    I have a J2EE project with EJBs and JSPs. I am using JDEVELOPER as my IDE. I need to deploy my application on ORACLE 10G APP SERVER.
    I need to create an EAR file consisting of my EJBs and JSPs to deploy the appln.
    When i go into Deployment Profiles in JDeveloper and try to create an EAR file, it does create the EAR file but the contents of the file are only 2-3 xml files, there is nothing else in it.
    I am wondering how on earth do i need to create my EAR package so that i can deploy on Oracle APP Server.
    This is actually very urgent... so i would really really appreciate and thank you if someone could help me out....
    Thank you very much in advance

    See thread Re: Create EAR in JDeveloper to deploy on Oracle AS 10g

Maybe you are looking for

  • Data type size does not match values returned

    I've tried searching but couldn't find what I was looking for, sorry if this has been answered or is a duplicate. I am using the (Java) method below to get the column definitions of a table. I am doing this through an ODBC connection (using Oracle OD

  • In ABAP How to locate an Input file  from a Directory during run time

    I'm loading data from a flat file(text file) into SAP thru BDC programs. All my input files are present in Application server.How to locate an Input file in a directory during run time to process BDC programs programmatically. Are there any in-built

  • Generate CSR using API method??

    Hi all , I have this piece of code below using JDK 1.3 and BouncyCastel Provider //some other import ... i am using bouncyCastle Provider import javax.crypto.Cipher; import org.bouncycastle.jce.PKCS10CertificationRequest; import org.bouncycastle.asn1

  • How to fill empty business area in posted documents?

    Hi SAP Team, My Client need to fill the field "business area" for documents already posted. However, today all posted documents, have a rule + validation or substitution for this field.- fill business area to be filled in. For year 2013, my client wa

  • NForce 7xx playing video problems : anyone ?

    just found this information on a very good and serious french site I use to visit everyday (a must visit everyday to found out news drivers, bios, firmwares, etc...) : it seems that nVidia is investigating a video corruption problem (glitches, freeze