Server exit

I want to create a program that you can use the send as many times you like:
That it don't exit after it's first message.
Server code:
import java.io.*;
import java.net.*;
import java.awt.*;
public class echo3 {
    public static void main(String args[]) throws AWTException,IOException {
                    Robot robot = new Robot();
        int x = 0;
                    int w = 0;
        ServerSocket echoServer = null;
        String line;
        DataInputStream is;
        PrintStream os;
        Socket clientSocket = null;
        try {
           echoServer = new ServerSocket(9999);
        catch (IOException e) {
           System.out.println(e);
try {
           clientSocket = echoServer.accept();
           is = new DataInputStream(clientSocket.getInputStream());
           os = new PrintStream(clientSocket.getOutputStream());
           while (true) {
             line = is.readLine();
             os.println(line);
catch (IOException e) {
           System.out.println(e);
}Client code:
import java.io.*;
import java.net.*;
public class smtpClient {
    public static void main(String[] args) {
        int x = 1;
        Socket smtpSocket = null; 
        DataOutputStream os = null;
        DataInputStream is = null;
        try {
            smtpSocket = new Socket("127.0.0.1", 9999);
            os = new DataOutputStream(smtpSocket.getOutputStream());
            is = new DataInputStream(smtpSocket.getInputStream());
        } catch (UnknownHostException e) {
            System.err.println("Don't know about host: hostname");
        } catch (IOException e) {
            System.err.println("Couldn't get I/O for the connection to: hostname");
if (smtpSocket != null && os != null && is != null) {
            try {
                         os.writeBytes("ENTER\n");
                String responseLine;
                responseLine = is.readLine();
                    System.out.println("Server: " + responseLine);
os.close();
                is.close();
smtpSocket.close();
            } catch (UnknownHostException e) {
                System.err.println("Trying to connect to unknown host: " + e);
            } catch (IOException e) {
                System.err.println("IOException:  " + e);
}

Ok, what problem are you having?
And -
Why does your Server code use the Robot class?
And (more to your point)
How do you expect to not "exit after it's[sic] first message" without any sort of loop?
Lee

Similar Messages

  • [SOLVED] moc: "FATAL_ERROR: No valid sound driver! Server exited!"

    mocp
    Running the server...
    Trying JACK...
    Trying ALSA...
    ALSA lib pcm_hw.c:1741:(_snd_pcm_hw_open) Unknown field mmap_emulation
    ALSA lib pcm_dmix.c:1022:(snd_pcm_dmix_open) unable to open slave
    Trying OSS...
    FATAL_ERROR: No valid sound driver!
    FATAL_ERROR: Server exited!
    so some time ago i messed up the sound badly and now i'm clueless on what to do. i have alsa, oss and pulseaudio (re-re-re-re-re)installed (i know i shouldn't). i'm a total noob when it comes to the audio department so i can't really add way too much to it.
    audacious drops the following when i try to play something:
    ALSA error: snd_pcm_open failed: Invalid argument.
    there is audio, however (some games/web) if i pulseaudio --start.
    pls ask for outputs to give you the necessary info
    Last edited by wootsgoinon (2014-02-11 23:37:15)

    did you have working audio before you did something that messed it up?
    alsa is pretty much all you need for working audio. You could run pulseaudio on top of it if you want, but usually it doesn't benefit you in any way unless you have some specific issues with alsa, like audio only playing from one application at the time.
    You can safely remove everything OSS related, unless you actually want to configure your system to use OSS for some reason.
    If you want to revert to default your alsa configuration you could just remove your ~/.asoundrc and /etc/asound.conf if you have modified those files. If you want to use pulseaudio, reinstall pulseaudio-alsa to revert /etc/asound.conf configuration so that your alsa-only applications work with pulse.

  • RMI server exits after 10 minutes

    Hi
    I have a strange problem: The rmi server exits after about 15 minutes when using my own socket factories. The reason seems to be, that only daemon threads are left in the servers VM.
    If I add code like:
    while(true) {
    try {
    Thread.sleep(10000000);
    } catch(Exception e){}
    to the main method, the server continues to run as desired, the main thread is not a daemon thread.
    I checked the accept method of my factory, it runs in a daemon thread.
    Is there any configuration property to specify that the server should run forever?
    BTW: the server does not exit when using no own socket factories.

    No, I don't export manually. However, isn't that the job of the naming service?
    Calling export causes an "Object already exported" exception.
    Here is the complete working main code that starts the server (removing the endless loop will cause the server VM to terminate after about 15 minutes of inactivity):
    public static void main(String args[]) throws Exception
    TClientSocketFactory client = new TClientSocketFactory();
    TServerSocketFactory server = new TServerSocketFactory();
    client.setServiceName("authtest");
    server.setServiceName("authtest");
    AuthImpl obj = new AuthImpl(client, server);
    Naming.rebind(
    "//" + InetAddress.getLocalHost().getHostName() + "/AuthServer",
    obj
    while(true) {
    try {
    Thread.sleep(10000000);
    } catch(Exception e){}
    Cheers...Urs

  • Server exiting: ApplicationServer entered state FAILED_IN_CONFIG

    HI
    i have this message when i Run my ADF Application
    can any one help me PLZ
    thanks

    Hello,
    same here,
    when run ejb using Oracle JDeveloper 11g Technology Preview 4,
    get
    SEVERE: Server exiting: ApplicationServer entered state FAILED_IN_CONFIG
    Process exited with exit code 1.
    Any ideas why, pls? :-)
    P.S.
    complete error:
    Jul 16, 2008 3:53:30 PM oracle.j2ee.xml.XMLMessages warningException
    WARNING: Exception Encountered
    Jul 16, 2008 3:53:31 PM oracle.oc4j.util.SystemLog log
    SEVERE: Server start failed processing configuration
    java.security.AccessControlException: access denied ( CredentialAccessPermission credstoressp.credstore.default.systemuser read)
         at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
         at java.security.AccessController.checkPermission(AccessController.java:427)
         at oracle.security.jps.util.JpsAuth$AuthorizationMechanism$3.checkPermission(JpsAuth.java:256)
         at oracle.security.jps.util.JpsAuth$Diagnostic.checkPermission(JpsAuth.java:180)
         at oracle.security.jps.util.JpsAuth$AuthorizationMechanism$6.checkPermission(JpsAuth.java:280)
         at oracle.security.jps.util.JpsAuth.checkPermission(JpsAuth.java:315)
         at oracle.security.jps.util.JpsAuth.checkPermission(JpsAuth.java:338)
         at oracle.security.jps.internal.credstore.util.CsfUtil.checkPermission(CsfUtil.java:527)
         at oracle.security.jps.internal.credstore.ssp.SspCredentialStore.getCredential(SspCredentialStore.java:420)
         at oracle.security.jps.fmw.util.JpsFmwUtil.makeJpsSystemUser(JpsFmwUtil.java:221)
         at oracle.security.jps.fmw.JpsUserManager.initSystemUser(JpsUserManager.java:270)
         at oracle.security.jps.fmw.JpsUserManager.init(JpsUserManager.java:238)
         at oracle.security.jps.fmw.JpsUserManager.<init>(JpsUserManager.java:250)
         at oracle.security.jps.fmw.JpsUserManagerFactory$JpsUserManagerFactoryI.create(JpsUserManagerFactory.java:257)
         at com.evermind.server.deployment.UserManagerConfig$JAZN.construct(UserManagerConfig.java:635)
         at com.evermind.server.deployment.UserManagerConfig.delegatee(UserManagerConfig.java:253)
         at com.evermind.security.IndirectUserManager.getAdminUser(IndirectUserManager.java:126)
         at com.evermind.security.IndirectUserManager.getAdminUser(IndirectUserManager.java:126)
         at com.evermind.server.XMLApplicationServerConfig.setPassword(XMLApplicationServerConfig.java:3170)
         at com.evermind.server.XMLApplicationServerConfig.<init>(XMLApplicationServerConfig.java:246)
         at com.evermind.server.ApplicationServer.createConfig(ApplicationServer.java:661)
         at oracle.oc4j.server.ServerFactory$Worker.prepareConfig(ApplicationServerFactory.java:225)
         at oracle.oc4j.server.ServerFactory$Worker.start(ApplicationServerFactory.java:244)
         at oracle.oc4j.server.ServerFactory$Worker.run(ApplicationServerFactory.java:259)
         at java.lang.Thread.run(Thread.java:595)
    Jul 16, 2008 3:53:31 PM oracle.oc4j.util.SystemLog logNoStack
    SEVERE: Server exiting: ApplicationServer entered state FAILED_IN_CONFIG
    Process exited with exit code 1.
    Message was edited by:
    Inna O.

  • Server exiting: ApplicationServer entered state FAILED_IN_START

    Hi,
    I am trying to run the sampleHelloApp , getting the following error when i try to run ...
    When i tried to configure ...it showed me Build Successful.......
    ---------------------------------------Error ------------------------------------
    [Starting DefaultServer using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    C:\product\Jdev11G\jdk\bin\javaw.exe -client -classpath C:\product\Jdev11G\j2ee\home\oc4j.jar;C:\product\Jdev11G\jdev\lib\jdev-oc4j-embedded.jar -Xmn64m -Xmx192m -Doracle.home=C:\product\Jdev11G -Doracle.component.type=o.j2ee -Doracle.instance=C:\jdevinstance\system11.1.1.0.22.47.96 -Djava.net.preferIPv4Stack=true -Djava.protocol.handler.pkgs=oracle.mds.net.protocol|oracle.fabric.common.classloaderurl.handler -Doc4j.userThreads=true -Doracle.component.name=embedded-oc4j -XX:MaxPermSize=256m -Doracle.sysman.emRep.repositoryMode=repository_less -Doracle.oc4j.instancename=oc4j_em -Doracle.notification.filewatching.interval=10000 -DLOCATOR_PORT=23891 -Dhttp.proxyHost=www-proxy.us.oracle.com -Dhttp.proxyPort=80 -Dhttp.nonProxyHosts=localhost|127.0.0.1|indl250bb -Dhttps.proxyHost=www-proxy.us.oracle.com -Dhttps.proxyPort=80 -Dhttps.nonProxyHosts=localhost|127.0.0.1|indl250bb -Xverify:none -Ddisable.checkForUpdate=true -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false -Djava.security.policy=C:\jdevinstance\system11.1.1.0.22.47.96\o.j2ee\embedded-oc4j\config\java2.policy oracle.oc4j.loader.boot.BootStrap -config C:\jdevinstance\system11.1.1.0.22.47.96\o.j2ee\embedded-oc4j\config\server.xml
    [waiting for the server to complete its initialization...]
    Mar 18, 2008 3:11:27 PM oracle.j2ee.xml.XMLMessages warningException
    WARNING: Exception Encountered
    Mar 18, 2008 3:11:28 PM oracle.security.jps.fmw.util.JpsFmwUtil findSystemUser
    WARNING: findSystemUser: System user is not available from Credential Store.
    08/03/18 15:11:40 WARNING: ApplicationServer.enableOC4JDocumentChangeNotifier Alternate DocumentChangeNotifier in use!
    08/03/18 15:11:40 JMS server will listen on port 9227.
    08/03/18 15:11:44 oracle.j2ee.jms.oc4j.JMSServer startup complete
    Mar 18, 2008 3:11:45 PM oracle.security.jps.fmw.util.JpsFmwUtil findSystemUser
    WARNING: findSystemUser: System user is not available from Credential Store.
    Mar 18, 2008 3:11:47 PM oracle.security.jps.fmw.util.JpsFmwUtil findSystemUser
    WARNING: findSystemUser: System user is not available from Credential Store.
    Mar 18, 2008 3:11:48 PM oracle.j2ee.util.AnnotatedLogger logWithThrowable
    WARNING: J2EE JCA-02013
    Mar 18, 2008 3:11:48 PM oracle.j2ee.util.AnnotatedLogger logWithThrowable
    WARNING: J2EE JCA-02013
    Mar 18, 2008 3:11:48 PM oracle.j2ee.util.AnnotatedLogger logWithThrowable
    WARNING: J2EE JCA-02013
    Mar 18, 2008 3:12:11 PM oracle.security.jps.fmw.util.JpsFmwUtil findSystemUser
    WARNING: findSystemUser: System user is not available from Credential Store.
    Mar 18, 2008 3:12:11 PM oracle.security.jps.fmw.util.JpsFmwUtil findSystemUser
    WARNING: findSystemUser: System user is not available from Credential Store.
    Mar 18, 2008 3:12:11 PM oracle.security.jps.fmw.util.JpsFmwUtil findSystemUser
    WARNING: findSystemUser: System user is not available from Credential Store.
    Mar 18, 2008 3:12:11 PM oracle.j2ee.util.AnnotatedLogger logWithThrowable
    WARNING: J2EE JNDI-00002
    Mar 18, 2008 3:12:11 PM oracle.j2ee.util.AnnotatedLogger log
    WARNING: No javax.jms.ConnectionFactory found at null
    Mar 18, 2008 3:12:11 PM oracle.security.jps.fmw.util.JpsFmwUtil findSystemUser
    WARNING: findSystemUser: System user is not available from Credential Store.
    Mar 18, 2008 3:12:12 PM oracle.security.jps.fmw.util.JpsFmwUtil findSystemUser
    WARNING: findSystemUser: System user is not available from Credential Store.
    Mar 18, 2008 3:12:12 PM oracle.security.jps.fmw.util.JpsFmwUtil findSystemUser
    WARNING: findSystemUser: System user is not available from Credential Store.
    08/03/18 15:12:14 WARNING: ExecutorService.inform Unknown event state3 Ignored
    08/03/18 15:12:14 WARNING: ExecutorService.inform Unknown event state4 Ignored
    Mar 18, 2008 3:12:15 PM oracle.security.jps.fmw.util.JpsFmwUtil findSystemUser
    WARNING: findSystemUser: System user is not available from Credential Store.
    Mar 18, 2008 3:12:16 PM oracle.security.jps.fmw.util.JpsFmwUtil findSystemUser
    WARNING: findSystemUser: System user is not available from Credential Store.
    08/03/18 15:12:25 Error initializing the Oracle JMS Resource provider for Topics: Listener refused the connection with the following error:
    ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
    The Connection descriptor used by the client was:
    localhost:1521:XE
    Mar 18, 2008 3:12:25 PM oracle.j2ee.util.AnnotatedLogger logWithThrowable
    WARNING: J2EE JNDI-00009
    08/03/18 15:12:27 WARNING: ExecutorService.inform Unknown event state4 Ignored
    08/03/18 15:12:29 DiagnosticService java logger init
    08/03/18 15:12:29 log level = INFO
    08/03/18 15:12:29 filter = null
    Mar 18, 2008 3:12:29 PM oracle.tip.b2b.system.DiagnosticService checkLoggable
    WARNING: WARNING
    Mar 18, 2008 3:12:29 PM oracle.tip.b2b.system.DiagnosticService checkLoggable
    SEVERE: SEVERE
    08/03/18 15:12:29 DiagnosticService finish
    08/03/18 15:12:29 DiagnosticService : s_baseDirectoryName = C:\jdevinstance\system11.1.1.0.22.47.96\o.j2ee\embedded-oc4j\log\b2b
    08/03/18 15:12:29 ApplicationServerFactory<clean-only> ENV in ThreadMDBBean():
    08/03/18 15:12:29 ApplicationServerFactory<clean-only> ENV in EventListener():
    08/03/18 15:12:29 WARNING: ExecutorService.inform Unknown event state4 Ignored
    08/03/18 15:12:31 WARNING: ExecutorService.inform Unknown event state4 Ignored
    08/03/18 15:12:33 Error initializing the Oracle JMS Resource provider for Topics: Listener refused the connection with the following error:
    ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
    The Connection descriptor used by the client was:
    localhost:1521:XE
    Mar 18, 2008 3:12:33 PM com.evermind.server.ejb.logging.EJBMessages logException
    SEVERE: [soa-infra] An error occured deploying EJB module: java.lang.InstantiationException: No javax.jms.Destination found at the specified destination-location (java:comp/resource/b2b/Topics/b2bWorkerQueue) for MessageDrivenBean eventListenerMdb
    java.lang.InstantiationException: No javax.jms.Destination found at the specified destination-location (java:comp/resource/b2b/Topics/b2bWorkerQueue) for MessageDrivenBean eventListenerMdb
         at com.evermind.server.ejb.MessageDrivenHome.lookupJMSDestination(MessageDrivenHome.java:315)
         at com.evermind.server.ejb.MessageDrivenHome.lookupJMSResources(MessageDrivenHome.java:293)
         at com.evermind.server.ejb.MessageDrivenHome.initialize(MessageDrivenHome.java:229)
         at com.evermind.server.ejb.MessageDrivenHome.start(MessageDrivenHome.java:134)
         at com.evermind.server.ejb.EJBPackageDeployment.startMessageDrivenHomes(EJBPackageDeployment.java:1086)
         at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:490)
         at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:271)
         at com.evermind.server.Application.setConfig(Application.java:551)
         at com.evermind.server.Application.setConfig(Application.java:448)
         at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:2114)
         at com.evermind.server.ApplicationServer.initializeDeployedApplications(ApplicationServer.java:1854)
         at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1226)
         at oracle.oc4j.server.ServerFactory$Worker.start(ApplicationServerFactory.java:225)
         at oracle.oc4j.server.ServerFactory$Worker.run(ApplicationServerFactory.java:235)
         at java.lang.Thread.run(Thread.java:595)
    08/03/18 15:12:33 WARNING: Application.setConfig Application: soa-infra is in failed state as initialization failed.
    java.lang.InstantiationException: Error initializing ejb-modules: No javax.jms.Destination found at the specified destination-location (java:comp/resource/b2b/Topics/b2bWorkerQueue) for MessageDrivenBean eventListenerMdb
         at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:497)
         at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:271)
         at com.evermind.server.Application.setConfig(Application.java:551)
         at com.evermind.server.Application.setConfig(Application.java:448)
         at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:2114)
         at com.evermind.server.ApplicationServer.initializeDeployedApplications(ApplicationServer.java:1854)
         at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1226)
         at oracle.oc4j.server.ServerFactory$Worker.start(ApplicationServerFactory.java:225)
         at oracle.oc4j.server.ServerFactory$Worker.run(ApplicationServerFactory.java:235)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.InstantiationException: No javax.jms.Destination found at the specified destination-location (java:comp/resource/b2b/Topics/b2bWorkerQueue) for MessageDrivenBean eventListenerMdb
         at com.evermind.server.ejb.MessageDrivenHome.lookupJMSDestination(MessageDrivenHome.java:315)
         at com.evermind.server.ejb.MessageDrivenHome.lookupJMSResources(MessageDrivenHome.java:293)
         at com.evermind.server.ejb.MessageDrivenHome.initialize(MessageDrivenHome.java:229)
         at com.evermind.server.ejb.MessageDrivenHome.start(MessageDrivenHome.java:134)
         at com.evermind.server.ejb.EJBPackageDeployment.startMessageDrivenHomes(EJBPackageDeployment.java:1086)
         at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:490)
         ... 9 more
    08/03/18 15:12:33 WARNING: ExecutorService.inform Unknown event state3 Ignored
    08/03/18 15:12:33 WARNING: ExecutorService.inform Unknown event state4 Ignored
    08/03/18 15:12:34 ThreadMDBBean.java ApplicationServerFactory<clean-only> ejbRemove()
    08/03/18 15:12:35 EventListener.java ApplicationServerFactory<clean-only> ejbRemove()
    Mar 18, 2008 3:12:35 PM com.evermind.server.ServerMessages severe
    SEVERE: Exception initializing deployed application: soa-infra. Application: soa-infra is in failed state as initialization failed
    java.lang.InstantiationException: Application: soa-infra is in failed state as initialization failed
         at com.evermind.server.Application.setConfig(Application.java:645)
         at com.evermind.server.Application.setConfig(Application.java:448)
         at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:2114)
         at com.evermind.server.ApplicationServer.initializeDeployedApplications(ApplicationServer.java:1854)
         at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1226)
         at oracle.oc4j.server.ServerFactory$Worker.start(ApplicationServerFactory.java:225)
         at oracle.oc4j.server.ServerFactory$Worker.run(ApplicationServerFactory.java:235)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.InstantiationException: Error initializing ejb-modules: No javax.jms.Destination found at the specified destination-location (java:comp/resource/b2b/Topics/b2bWorkerQueue) for MessageDrivenBean eventListenerMdb
         at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:497)
         at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:271)
         at com.evermind.server.Application.setConfig(Application.java:551)
         ... 7 more
    Caused by: java.lang.InstantiationException: No javax.jms.Destination found at the specified destination-location (java:comp/resource/b2b/Topics/b2bWorkerQueue) for MessageDrivenBean eventListenerMdb
         at com.evermind.server.ejb.MessageDrivenHome.lookupJMSDestination(MessageDrivenHome.java:315)
         at com.evermind.server.ejb.MessageDrivenHome.lookupJMSResources(MessageDrivenHome.java:293)
         at com.evermind.server.ejb.MessageDrivenHome.initialize(MessageDrivenHome.java:229)
         at com.evermind.server.ejb.MessageDrivenHome.start(MessageDrivenHome.java:134)
         at com.evermind.server.ejb.EJBPackageDeployment.startMessageDrivenHomes(EJBPackageDeployment.java:1086)
         at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:490)
         ... 9 more
    Mar 18, 2008 3:12:35 PM oracle.security.jps.fmw.util.JpsFmwUtil findSystemUser
    WARNING: findSystemUser: System user is not available from Credential Store.
    08/03/18 15:12:35 WARNING: ExecutorService.inform Unknown event state3 Ignored
    08/03/18 15:12:35 WARNING: ExecutorService.inform Unknown event state4 Ignored
    Mar 18, 2008 3:12:36 PM oracle.security.jps.fmw.util.JpsFmwUtil findSystemUser
    WARNING: findSystemUser: System user is not available from Credential Store.
    08/03/18 15:12:36 WARNING: Application.setConfig Application: worklist is in failed state as initialization failed.
    com.evermind.server.ApplicationStateStopped$ApplicationStoppedException: Application: application null is in stopped state. Method "getWrappersClassLoader()"cannot be accessed
         at com.evermind.server.ApplicationStateStopped.getWrappersClassLoader(ApplicationStateStopped.java:72)
         at com.evermind.server.Application.getWrappersClassLoader(Application.java:884)
         at com.evermind.server.ejb.EJBContainer.getWrappersClassLoader(EJBContainer.java:363)
         at com.evermind.server.ejb.MessageDrivenHome.getClassLoader(MessageDrivenHome.java:718)
         at com.evermind.server.ThreadState.getClassLoader(ThreadState.java:937)
         at com.evermind.server.ApplicationServerThread.getContextClassLoader(ApplicationServerThread.java:173)
         at javax.xml.parsers.SecuritySupport$1.run(SecuritySupport.java:31)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.xml.parsers.SecuritySupport.getContextClassLoader(SecuritySupport.java:26)
         at javax.xml.parsers.FactoryFinder.find(FactoryFinder.java:133)
         at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:98)
         at com.evermind.xml.JavaxXMLUtils.getFactory(JavaxXMLUtils.java:59)
         at com.evermind.xml.JavaxXMLUtils.getJavaxDocument(JavaxXMLUtils.java:27)
         at com.evermind.xml.XMLUtils.getDocument(XMLUtils.java:251)
         at com.evermind.xml.XMLConfig.init(XMLConfig.java:177)
         at com.evermind.server.J2EEComponent.init(J2EEComponent.java:152)
         at com.evermind.server.http.XMLHttpApplicationConfigContext.getConfiguration(XMLHttpApplicationConfigContext.java:126)
         at com.evermind.server.Application.getHttpApplicationConfig(Application.java:804)
         at com.evermind.server.Application.initHttp(Application.java:1633)
         at com.evermind.server.Application.setConfig(Application.java:566)
         at com.evermind.server.Application.setConfig(Application.java:448)
         at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:2114)
         at com.evermind.server.ApplicationServer.initializeDeployedApplications(ApplicationServer.java:1854)
         at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1226)
         at oracle.oc4j.server.ServerFactory$Worker.start(ApplicationServerFactory.java:225)
         at oracle.oc4j.server.ServerFactory$Worker.run(ApplicationServerFactory.java:235)
         at java.lang.Thread.run(Thread.java:595)
    Mar 18, 2008 3:12:36 PM com.evermind.server.ServerMessages severe
    SEVERE: Exception initializing deployed application: worklist. Application: worklist is in failed state as initialization failed
    java.lang.InstantiationException: Application: worklist is in failed state as initialization failed
         at com.evermind.server.Application.setConfig(Application.java:645)
         at com.evermind.server.Application.setConfig(Application.java:448)
         at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:2114)
         at com.evermind.server.ApplicationServer.initializeDeployedApplications(ApplicationServer.java:1854)
         at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1226)
         at oracle.oc4j.server.ServerFactory$Worker.start(ApplicationServerFactory.java:225)
         at oracle.oc4j.server.ServerFactory$Worker.run(ApplicationServerFactory.java:235)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: com.evermind.server.ApplicationStateStopped$ApplicationStoppedException: Application: application null is in stopped state. Method "getWrappersClassLoader()"cannot be accessed
         at com.evermind.server.ApplicationStateStopped.getWrappersClassLoader(ApplicationStateStopped.java:72)
         at com.evermind.server.Application.getWrappersClassLoader(Application.java:884)
         at com.evermind.server.ejb.EJBContainer.getWrappersClassLoader(EJBContainer.java:363)
         at com.evermind.server.ejb.MessageDrivenHome.getClassLoader(MessageDrivenHome.java:718)
         at com.evermind.server.ThreadState.getClassLoader(ThreadState.java:937)
         at com.evermind.server.ApplicationServerThread.getContextClassLoader(ApplicationServerThread.java:173)
         at javax.xml.parsers.SecuritySupport$1.run(SecuritySupport.java:31)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.xml.parsers.SecuritySupport.getContextClassLoader(SecuritySupport.java:26)
         at javax.xml.parsers.FactoryFinder.find(FactoryFinder.java:133)
         at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:98)
         at com.evermind.xml.JavaxXMLUtils.getFactory(JavaxXMLUtils.java:59)
         at com.evermind.xml.JavaxXMLUtils.getJavaxDocument(JavaxXMLUtils.java:27)
         at com.evermind.xml.XMLUtils.getDocument(XMLUtils.java:251)
         at com.evermind.xml.XMLConfig.init(XMLConfig.java:177)
         at com.evermind.server.J2EEComponent.init(J2EEComponent.java:152)
         at com.evermind.server.http.XMLHttpApplicationConfigContext.getConfiguration(XMLHttpApplicationConfigContext.java:126)
         at com.evermind.server.Application.getHttpApplicationConfig(Application.java:804)
         at com.evermind.server.Application.initHttp(Application.java:1633)
         at com.evermind.server.Application.setConfig(Application.java:566)
         ... 7 more
    Mar 18, 2008 3:12:36 PM oracle.security.jps.fmw.util.JpsFmwUtil findSystemUser
    WARNING: findSystemUser: System user is not available from Credential Store.
    08/03/18 15:12:37 WARNING: Application.setConfig Application: soa-console is in failed state as initialization failed.
    com.evermind.server.ApplicationStateStopped$ApplicationStoppedException: Application: application null is in stopped state. Method "getWrappersClassLoader()"cannot be accessed
         at com.evermind.server.ApplicationStateStopped.getWrappersClassLoader(ApplicationStateStopped.java:72)
         at com.evermind.server.Application.getWrappersClassLoader(Application.java:884)
         at com.evermind.server.ejb.EJBContainer.getWrappersClassLoader(EJBContainer.java:363)
         at com.evermind.server.ejb.MessageDrivenHome.getClassLoader(MessageDrivenHome.java:718)
         at com.evermind.server.ThreadState.getClassLoader(ThreadState.java:937)
         at com.evermind.server.ApplicationServerThread.getContextClassLoader(ApplicationServerThread.java:173)
         at javax.xml.parsers.SecuritySupport$1.run(SecuritySupport.java:31)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.xml.parsers.SecuritySupport.getContextClassLoader(SecuritySupport.java:26)
         at javax.xml.parsers.FactoryFinder.find(FactoryFinder.java:133)
         at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:98)
         at com.evermind.xml.JavaxXMLUtils.getFactory(JavaxXMLUtils.java:59)
         at com.evermind.xml.JavaxXMLUtils.getJavaxDocument(JavaxXMLUtils.java:27)
         at com.evermind.xml.XMLUtils.getDocument(XMLUtils.java:251)
         at com.evermind.xml.XMLConfig.init(XMLConfig.java:177)
         at com.evermind.server.J2EEComponent.init(J2EEComponent.java:152)
         at com.evermind.server.http.XMLHttpApplicationConfigContext.getConfiguration(XMLHttpApplicationConfigContext.java:126)
         at com.evermind.server.Application.getHttpApplicationConfig(Application.java:804)
         at com.evermind.server.Application.initHttp(Application.java:1633)
         at com.evermind.server.Application.setConfig(Application.java:566)
         at com.evermind.server.Application.setConfig(Application.java:448)
         at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:2114)
         at com.evermind.server.ApplicationServer.initializeDeployedApplications(ApplicationServer.java:1854)
         at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1226)
         at oracle.oc4j.server.ServerFactory$Worker.start(ApplicationServerFactory.java:225)
         at oracle.oc4j.server.ServerFactory$Worker.run(ApplicationServerFactory.java:235)
         at java.lang.Thread.run(Thread.java:595)
    Mar 18, 2008 3:12:37 PM com.evermind.server.ServerMessages severe
    SEVERE: Exception initializing deployed application: soa-console. Application: soa-console is in failed state as initialization failed
    java.lang.InstantiationException: Application: soa-console is in failed state as initialization failed
         at com.evermind.server.Application.setConfig(Application.java:645)
         at com.evermind.server.Application.setConfig(Application.java:448)
         at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:2114)
         at com.evermind.server.ApplicationServer.initializeDeployedApplications(ApplicationServer.java:1854)
         at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1226)
         at oracle.oc4j.server.ServerFactory$Worker.start(ApplicationServerFactory.java:225)
         at oracle.oc4j.server.ServerFactory$Worker.run(ApplicationServerFactory.java:235)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: com.evermind.server.ApplicationStateStopped$ApplicationStoppedException: Application: application null is in stopped state. Method "getWrappersClassLoader()"cannot be accessed
         at com.evermind.server.ApplicationStateStopped.getWrappersClassLoader(ApplicationStateStopped.java:72)
         at com.evermind.server.Application.getWrappersClassLoader(Application.java:884)
         at com.evermind.server.ejb.EJBContainer.getWrappersClassLoader(EJBContainer.java:363)
         at com.evermind.server.ejb.MessageDrivenHome.getClassLoader(MessageDrivenHome.java:718)
         at com.evermind.server.ThreadState.getClassLoader(ThreadState.java:937)
         at com.evermind.server.ApplicationServerThread.getContextClassLoader(ApplicationServerThread.java:173)
         at javax.xml.parsers.SecuritySupport$1.run(SecuritySupport.java:31)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.xml.parsers.SecuritySupport.getContextClassLoader(SecuritySupport.java:26)
         at javax.xml.parsers.FactoryFinder.find(FactoryFinder.java:133)
         at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:98)
         at com.evermind.xml.JavaxXMLUtils.getFactory(JavaxXMLUtils.java:59)
         at com.evermind.xml.JavaxXMLUtils.getJavaxDocument(JavaxXMLUtils.java:27)
         at com.evermind.xml.XMLUtils.getDocument(XMLUtils.java:251)
         at com.evermind.xml.XMLConfig.init(XMLConfig.java:177)
         at com.evermind.server.J2EEComponent.init(J2EEComponent.java:152)
         at com.evermind.server.http.XMLHttpApplicationConfigContext.getConfiguration(XMLHttpApplicationConfigContext.java:126)
         at com.evermind.server.Application.getHttpApplicationConfig(Application.java:804)
         at com.evermind.server.Application.initHttp(Application.java:1633)
         at com.evermind.server.Application.setConfig(Application.java:566)
         ... 7 more
    Mar 18, 2008 3:12:37 PM oracle.oc4j.util.SystemLog log
    SEVERE: Server start failed (com.evermind.server.ApplicationServer@b9e55c)
    com.evermind.server.ApplicationStateStopped$ApplicationStoppedException: Application: soa-console is in failed state. Method "getWrappersClassLoader()"cannot be accessed
         at com.evermind.server.ApplicationStateStopped.getWrappersClassLoader(ApplicationStateStopped.java:72)
         at com.evermind.server.Application.getWrappersClassLoader(Application.java:884)
         at com.evermind.server.ejb.EJBContainer.getWrappersClassLoader(EJBContainer.java:363)
         at com.evermind.server.ejb.MessageDrivenHome.getClassLoader(MessageDrivenHome.java:718)
         at com.evermind.server.ThreadState.getClassLoader(ThreadState.java:937)
         at com.evermind.server.ApplicationServerThread.getContextClassLoader(ApplicationServerThread.java:173)
         at java.lang.Thread.init(Thread.java:329)
         at java.lang.Thread.<init>(Thread.java:429)
         at oracle.oc4j.transaction.TransactionManagerImpl.launchRecoveryThread(TransactionManagerImpl.java:1656)
         at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1230)
         at oracle.oc4j.server.ServerFactory$Worker.start(ApplicationServerFactory.java:225)
         at oracle.oc4j.server.ServerFactory$Worker.run(ApplicationServerFactory.java:235)
         at java.lang.Thread.run(Thread.java:595)
    Mar 18, 2008 3:12:37 PM oracle.oc4j.util.SystemLog logNoStack
    SEVERE: Server exiting: ApplicationServer entered state FAILED_IN_START
    Process exited.

    The System user error is ok. But I can see problems with the SOA Console and infrastructure. The Build Successful is only one indication of the configuration success. You also have to look for the SOA infrastructure success message.
    Please review the install instructions. You need to re-configure.
    http://www.oracle.com/technology/products/ias/bpel/techpreview/index.html
    Heidi.

  • Findforward() results in infinite loop and server exits

    I have a dataform which has struts html text field and 3 poplist bound
    to database fields. I do a submit on the event onChange in the first poplist and it
    will call a custom method in app module, which will setup the VO for populating the second poplist, based on
    the data from the first list. In the action class, I override the findforward() to go to
    DataAction to execute this custom method. On sucess from DataAction a forward is set to the first page
    which display the second poplist. When i run the action from struts-config.xml,
    the oc4j server goes on to loop and exits with message "Process exited with exit code 128".
    Any ideas why this is happing ?.

    One or several of the events handled by the page are still present because you keep forwarding between actions.
    The onChange event is still hanging around when it is forwarded to the next action and this action may act on it in an unpredictable way.
    There is currently code in the ADF framework to insure that an event is not executed by more than one action but in your case you may have your own events. Make sure to act on possible event being forwarded around.
    Charles.

  • J2EE Server exiting on startup

    Hi all,
    Having problems when starting the portal J2EE server. It was working a few days ago but I believe somebody has tried to attach it to an SAP instance (in the portal UM config screen).
    When starting it now exists with error code -1113
    [Thr 5544] Wed May 11 15:24:05 2005
    [Thr 5544] JHVM_RegisterNatives: registering methods in com.sap.mw.rfc.driver.CpicDriver
    [Thr 5544] JHVM_RegisterNatives: registering methods in com.sap.mw.jco.util.SAPConverters
    [Thr 5544] JHVM_RegisterNatives: registering methods in com.sap.mw.jco.util.SAPCharToNUCByteConverter
    [Thr 5544] JHVM_RegisterNatives: registering methods in com.sap.mw.rfc.engine.Compress
    [Thr 1036] Wed May 11 15:24:08 2005
    [Thr 1036] JLaunchIExitJava: exit hook is called (rc=-11113)
    [Thr 1036] JLaunchCloseProgram: good bye (exitcode=-11113)
    Any ideas? (checked the Xms / Xmx size is at 512mb), or does anyone know how I can manually remove the R/3 entry from the portal config?
    Thanks!
    -Ben

    hi
    go to H:\usr\sap\EPT\JC00\j2ee\configtool ->configtool.batch
    open ume ldap set databasesourceconfiguration_datas_only.xml
    than go to gloable dispatcer configuration  ->masanger->clustermanager in this 1st reset default than set ms.port set custom value 3601
    than go to locking manager in the same  set engue profile manager.filename = H\:
    usr
    sap
    EPT
    SYS
    profile
    EPT_JC00_DISASTER and enque host which is ur server name
    same propeties set in gloable server configuration
    it works

  • RMI Server exits early when using SSL

    Hi,
    Maybe someone else has encountered this one.
    My RMI server works fine when I use standard sockets. I create an instance and bind it into the rmiregistry. It then waits indefinitely for connections.
    When I use SSL, I can create the object instance. I can also bind it into the registry. However, it only waits a few seconds and then exits.
    No exception or error is thrown (I have a catch Throwable block on my main method to be sure of this.)
    As my code is adapted from the RMI SSL 'Hello World' examples found on this site) I decided to compile and run those examples. I get the same problem.
    Any ideas?
    This is the relevant part of my code:
    public static void main(String[] args)
        HelloImpl obj = null;     
        try
            // use -clear option to get standard sockets
            if (args.length > 0 && args[0].equals("-clear"))
                obj = new HelloImpl();                   
            else // otherwise default to SSL sockets
                RMIClientSocketFactory csf = new RMISSLClientSocketFactory();
                RMIServerSocketFactory ssf = new RMISSLServerSocketFactory();
                obj = new HelloImpl(csf,ssf);               
            Naming.rebind("HelloServer", obj);
            System.out.println("HelloServer listening for requests\n";
        catch (RemoteException ex)
            ex.printStackTrace();
        catch (MalformedURLException ex)
            ex.printStackTrace();
        catch (Throwable ex)
            ex.printStackTrace();

    Thanks for taking an interest.
    I just use:
    c:\j2sdk1.4.1_02\bin\rmiregistry
    to start the registry.
    I think the problem is with my SSL sockets. I'm guessing the reason a UnicastRemoteObject is normally kept alive (not garbage collected) in the registry is because it has a ServerSocket which is waiting for connections.
    In this case, I don't think the SSLServerSocket is getting created and so my UnicastRemoteObject gets garbage collected.
    However, I'm not sure why exactly.

  • Terminal Server Exits on print

    Hi All,
    Client: Mac OS 10.6.6
    rdesktop: rdesktop-1.6.0.dmg
    Server: Windows 2003 R2, Sp2, 32 bit
    We do not use M$'s RDP for MAC as it does not support port masking.
    I have a customer with a Apple that has the annoying habit of
    exiting his Terminal Service session whenever he tries to print (from
    TS). When he logs back in to terminal services, he pick up right where
    he left off. All except no print out.
    I have done three other Apples with the same set up. No problems.
    Has anyone come across this problem and how did you fix it?
    Many thanks,
    -T

    This is all command line. It looks like this on the apple side:
    /usr/bin/rdesktop -N -a 16 -d FOODOMAIN -u xxxxx -p yyyyyy -g 85% -r printer:'Officejet7500_E910_670D7C'='HP Officejet 7500 E910' -r printer:'HPColor_Laser_2840_143703'='HP Color LaserJet 2840 PCL 6' -r disk:MyShare=/Users/xxxxx/Desktop -r clipboard:CLIPBOARD server[:port]
    Where
    -N: enable numlock syncronization
    -a: connection color depth
    -d: domain
    -u: user name
    -p: password
    -g: desktop geometry (WxH)
    -r: enable specified device redirection (this flag can be repeated)
    The print redirection is done with the "-r" flag. In this instance, two printers are being redirected. And they do show up mapped correctly in the Terminal Server's printer diaglog:
    Syntax: -r printer:'Apples CUPS printer name'='Terminal Services Printer name'
    -r printer:'Officejet7500_E910_670D7C'='HP Officejet 7500 E910'
    -r printer:'HPColor_Laser_2840_143703'='HP Color LaserJet 2840 PCL 6'
    When the users press the print button in Terminal Services, the Terminal Services session vanished. When you log back in, you resume just after the print command. And, no print out.
    -T

  • Exiting a server loop

    hi guys,
    does anyone know the correct way to exit a server loop, at the moment i have ....
    while(!SrvInput.getEndProgStatus()){          
    sk = skt.accept();
    System.out.println("Accepting new client connection");
    serverThread st = new serverThread(sk, conn);
    st.start();
    this just loops around creating a new thread for every client that connects, i have a class SrvInput which reads input from the console so if the user types "quit" the end prog status flag is set to true and the server exits.
    the problem is that for it to exit i need one more person to connect since it blocks on the accept call.
    Does anyone know how i can sort this out
    thanks for any help

    Hi.
    I'm trying to solve the same problem. I solve it, sending myself a Socket conection and then existing the while code like this:
        public void run()
            while (!isFinish())
                try
                    System.out.println("Waiting for connections.");
                    Socket client = serverSocket.accept();
                    if (!isFinish())
                        System.out.println("Accepted a connection from: "+client.getInetAddress());
                        LocationThread connect = new LocationThread(client);
                }catch(Exception e)
                    System.out.println(e.getMessage());
                    e.printStackTrace();
            try
                System.out.println("Server exiting");
                join(); // remove  join(), this a test.....
                serverSocket.close();
                System.out.println("Server has exit");
            }catch(Exception e)
                System.out.println("Error al cerrar el Socket");
        }This code belongs to the server side.
    I do this, in a Button in a GUI interface.
            try{
                location.setFinish(true);
                Socket s = new Socket(InetAddress.getLocalHost(),Integer.parseInt(result));
            }catch(Exception e)
                System.out.println("Error al tratar de terminar el servidor");
            }But I have a problem, I want my server to wait for their childs to finish, How can I do it?.
    a Join() , do the server to hang.
    Any suggestion ?.

  • Sun java DIRECTORY SERVER 6.0 WITH SUN OPENSSO 8

    Hi all,
    I have install the sun java directory server 6.0.
    Now I have install the sun openssl ( I could had installed the sun java access manager but i wanna use the sun opensso 8 for SSO).
    when created the directory i.e. by using command from directory preparation tool, the directory server stop starting.
    It do not start and is asking me the error as follows,
    bash-3.00# /var/opt/SUNWdsee/dsins1/start-slapd
    [20/Feb/2009:14:44:30 +0500] - ERROR<4131> - Bootstrap config - conn=-1 op=-1 msgId=-1 - System error The entry cn=schema in file /var/opt/SUNWdsee/dsins1/config/schema/99user.ldif is invalid (error 20: Type or value exists) - attribute type sunIdentityServerDiscoEntries: Does not match the OID "1.3.6.1.4.1.42.2.27.9.1.821". Another attribute type is already using the name or OID..
    [20/Feb/2009:14:44:30 +0500] - ERROR<4129> - Bootstrap config - conn=-1 op=-1 msgId=-1 - Configuration error Please edit the configuration file to correct the reported problems and then restart the server. Server exiting.
    Server not running!! Failed to start ns-slapd process.
    Note: while preparing the directory (sun java directory preparation tool) I mentioned the schema 2 i.e. ACCESS MANAGER, because sun opensso 8 is the latest version for Sun java access manager ?
    Any help??????????????
    Regards
    Adeel

    Looks like the attribute sunIdentityServerDiscoEntries is defined twice in the schema. Run the following and see where it is defined for the second time.
    # cd /var/opt/SUNWdsee/dsins1/config/schema
    # grep -w sunIdentityServerDiscoEntries *.ldif | grep -iv objectclasses
    Edited by: etst123 on Mar 3, 2009 1:28 PM

  • Problem on running Preconfigured OC4J server in JDeveloper 10.1.3.2

    Hi all,
    I have problem on running preconfigured oc4j server in JDeveloper 10.1.3.2. I get the error message below :
    C:\Jdev10132\jdev\extensions\oracle.adfp.seededoc4j.10.1.3.2.0\srcimage\bin>
    C:\Jdev10132\jdev\extensions\oracle.adfp.seededoc4j.10.1.3.2.0\srcimage\bin\adfp_oc4j.cmd C:\Jdev10132\jdk\jre\.. C:\Jdev10132\ C:\Jdev10132\jdev\extensions\oracle.adfp.seededoc4j.10.1.3.2.0 -start
    wsrp not installed
    installing wsrp......
    C:\Jdev10132\jdev\extensions\oracle.adfp.seededoc4j.10.1.3.2.0\javacache alt path or file already exist
    C:\Jdev10132\jdev\extensions\oracle.adfp.seededoc4j.10.1.3.2.0\javacache\admin
    path or file already exist
    System can not find the specified path
    java.lang.RuntimeException: Instruction unknown: loadınstruction
         at com.sun.org.apache.bcel.internal.util.InstructionFinder.mapName(InstructionFinder.java:138)
         at com.sun.org.apache.bcel.internal.util.InstructionFinder.compilePattern(InstructionFinder.java:170)
         at com.sun.org.apache.bcel.internal.util.InstructionFinder.search(InstructionFinder.java:218)
         at com.sun.org.apache.bcel.internal.util.InstructionFinder.search(InstructionFinder.java:264)
         at com.sun.org.apache.xalan.internal.xsltc.compiler.Mode.peepHoleOptimization(Mode.java:1444)
         at com.sun.org.apache.xalan.internal.xsltc.compiler.Mode.compileApplyTemplates(Mode.java:1058)
         at com.sun.org.apache.xalan.internal.xsltc.compiler.Stylesheet.compileModes(Stylesheet.java:615)
         at com.sun.org.apache.xalan.internal.xsltc.compiler.Stylesheet.translate(Stylesheet.java:730)
         at com.sun.org.apache.xalan.internal.xsltc.compiler.XSLTC.compile(XSLTC.java:335)
         at com.sun.org.apache.xalan.internal.xsltc.compiler.XSLTC.compile(XSLTC.java:410)
         at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:791)
         at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:619)
         at oracle.portlet.server.containerimpl.install.Main.applyTransformation(Main.java:284)
         at oracle.portlet.server.containerimpl.install.Main.install(Main.java:169)
         at oracle.portlet.server.containerimpl.install.Main.main(Main.java:126)
    ERROR: 'Instruction unknown: loadınstruction'
    FATAL ERROR: 'Could not compile stylesheet'
    oracle.portlet.server.containerimpl.install.InstallException: Error parsing stylesheet "resource/config-server.xsl"
         at oracle.portlet.server.containerimpl.install.Main.applyTransformation(Main.java:289)
         at oracle.portlet.server.containerimpl.install.Main.install(Main.java:169)
         at oracle.portlet.server.containerimpl.install.Main.main(Main.java:126)
    Caused by: javax.xml.transform.TransformerConfigurationException: Could not compile stylesheet
         at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:824)
         at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:619)
         at oracle.portlet.server.containerimpl.install.Main.applyTransformation(Main.java:284)
         ... 2 more
    caused by: javax.xml.transform.TransformerConfigurationException: Could not compile stylesheet
         at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:824)
         at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:619)
         at oracle.portlet.server.containerimpl.install.Main.applyTransformation(Main.java:284)
         at oracle.portlet.server.containerimpl.install.Main.install(Main.java:169)
         at oracle.portlet.server.containerimpl.install.Main.main(Main.java:126)
    System can not find the specified path
    Error: Can not find C:\Jdev10132\jdev\extensions\oracle.adfp.seededoc4j.10.1.3.2.0\j2ee\home\config\server.xml.
    Stop OC4J command finished
    Any help is appreciated...
    Thanks in advance
    Aliye

    well I have downloaded the latest version of jdk (1.6) to check with it so it solved some of the problems but still I get an error on running the oc4j server. Error I get is:
    Starting OC4J from C:\Jdev10132\j2ee\home ...
    Executing: C:\Jdev10132\jdk\jre..\bin\java -XX:MaxPermSize=128m -Xmx512m -jar "C:\Jdev10132\j2ee\home\oc4j.jar" -config C:\Jdev10132\jdev\extensions\oracle.adfp.seededoc4j.10.1.3.2.0\srcimage\j2ee\home\config\server.xml
    07/02/19 10:45:10 Error initializing server: IO error reading system
    07/02/19 10:45:10 Fatal error: server exiting
    Stop OC4J command finished.
    I couldnt understand what is the problem now..
    Thanks for your help..
    Aliye

  • Oracle application server 10.1.3 not starting after crash

    Hi, I've been struggling with starting up application server 10.1.3 on Windows XP Professional SP2 following a system crash (power outage). When we restarted the machine we noted that the database wasn't coming up because our redo logs were full. We backed up the database with RMAN (freeing the logs) and the database started without a problem.
    We then tried to log into application server control from the website but were faced with a connection error. It is definitely the correct page as it was bookmarked on the server. I cannot start application server from the command line using opmnctl. Here is the output:
    C:\product\10.1.3\OracleAS_1\opmn\bin>opmnctl status
    Processes in Instance: appserv.MSRSFR
    ------------------------------------------------+---------
    ias-component | process-type | pid | status
    ------------------------------------------------+---------
    OC4J | home | N/A | Down
    ASG | ASG | N/A | Down
    C:\product\10.1.3\OracleAS_1\opmn\bin>echo %time%
    11:32:13.78
    C:\product\10.1.3\OracleAS_1\opmn\bin>opmnctl startall
    opmnctl: starting opmn and all managed processes...
    ==================================================
    opmn id=msrsfr:6200
    0 of 1 processes started.
    ias-instance id=appserv.MSRSFR
    ++++++++++++++++++++++++++++++++++++++++++++++++++
    ias-component/process-type/process-set:
    OC4J/home/default_group/
    Error
    --> Process (index=1,uid=1339952132,pid=2136)
    failed to start a managed process after the maximum retry limit
    Log:
    C:\product\10.1.3\OracleAS_1\opmn\logs\OC4J~home~default_group~1
    C:\product\10.1.3\OracleAS_1\opmn\bin>echo %time%
    11:32:39.12
    C:\product\10.1.3\OracleAS_1\opmn\logs\OC4J~home~default_group~1
    07/12/30 11:32:22 Start process
    07/12/30 11:32:24 Error initializing server: Error instantiating default application at Unable to get ApplicationConfig for default : Could not read connectors file at file:/C:/product/10.1.3/OracleAS_1/j2ee/home/config/oc4j-connectors.xml: ./oc4j-connectors.xml
    07/12/30 11:32:24 Fatal error: server exiting
    07/12/30 11:32:26 Start process
    07/12/30 11:32:28 Error initializing server: Error instantiating default application at Unable to get ApplicationConfig for default : Could not read connectors file at file:/C:/product/10.1.3/OracleAS_1/j2ee/home/config/oc4j-connectors.xml: ./oc4j-connectors.xml
    07/12/30 11:32:28 Fatal error: server exiting
    07/12/30 11:32:30 Start process
    07/12/30 11:32:32 Error initializing server: Error instantiating default application at Unable to get ApplicationConfig for default : Could not read connectors file at file:/C:/product/10.1.3/OracleAS_1/j2ee/home/config/oc4j-connectors.xml: ./oc4j-connectors.xml
    07/12/30 11:32:32 Fatal error: server exiting
    C:/product/10.1.3/OracleAS_1/j2ee/home/config/oc4j-connectors.xml: Notice the /'s versus standard windows \'s. The actual file is empty (contains only blank spaces).
    I'm not sure where to go from here, I've tried stopping the oracle services manually and starting them up in various orders. We have the following services running:
    Oracle-appservProcessManager Started
    OracleDBConsoleTSTONE Started
    OracleJobSchedulerTSTONE Disabled
    OracleOraDb10g_home1iSQL*Plus Started
    OracleOraDb10g_home1TNSListener Started
    OracleServiceTSTONE Started
    I'm sort of at a loss for where to go from here, help would be much appreciated!
    Thanks,
    Reza

    Here you have it.
    <?xml version="1.0" standalone='yes'?>
    <oc4j-connectors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNam
    espaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/oc4j-connectors-10
    _0.xsd" schema-major-version="10" schema-minor-version="0" >
    <connector name="datasources" path="datasources.rar">
    </connector>
    <connector name="OracleASjms" path="OracleASjms.rar">
    <config-property name="lookupMethod" value="resourceProvider"/>
    <config-property name="resourceProviderName" value="oc4jjms"/>
    <adminobject-config location="OracleASjms/Queues">
    <adminobject-class>oracle.j2ee.ra.jms.generic.AdminObjec
    tQueueImpl</adminobject-class>
    <config-property name="resourceProviderName" value="oc4j
    jms"/>
    </adminobject-config>
    <adminobject-config location="OracleASjms/MyQueue1">
    <adminobject-class>oracle.j2ee.ra.jms.generic.AdminObjec
    tQueueImpl</adminobject-class>
    <config-property name="jndiName" value="jms/demoQueue"/>
    <config-property name="resourceProviderName" value="oc4j
    jms"/>
    </adminobject-config>
    <adminobject-config location="OracleASjms/Topics">
    <adminobject-class>oracle.j2ee.ra.jms.generic.AdminObjec
    tTopicImpl</adminobject-class>
    <config-property name="resourceProviderName" value="oc4j
    jms"/>
    </adminobject-config>
    <adminobject-config location="OracleASjms/MyTopic1">
    <adminobject-class>oracle.j2ee.ra.jms.generic.AdminObjec
    tTopicImpl</adminobject-class>
    <config-property name="jndiName" value="jms/demoTopic"/>
    <config-property name="resourceProviderName" value="oc4j
    jms"/>
    </adminobject-config>
    </connector>
    </oc4j-connectors>

  • Process exited with exit code 1.

    Hi all,
    I am trying to run the XML Page .can you please help me how to resolve this type of issue?
    D:\OAF\jdevhome\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\config>
    D:\OAF\jdevbin\jdk\bin\javaw.exe -hotspot -classpath D:\OAF\jdevbin\j2ee\home\oc4j.jar;D:\OAF\jdevbin\jdev\lib\jdev-oc4j-embedded.jar -DFND_JDBC_STMT_CACHE_SIZE=200 -DCACHENODBINIT=true -DRUN_FROM_JDEV=true -mx256m -XX:MaxPermSize=256M -Xverify:none -DcheckForUpdates=adminClientOnly -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config D:\OAF\jdevhome\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\config\server.xml
    [waiting for the server to complete its initialization...]
    15/04/10 09:51:19 Error initializing server: IO Error: The device is not ready
    15/04/10 09:51:19 Fatal error: server exiting
    Process exited with exit code 1.
    Thanks

    Sorry,
    I don't have a 10.1.3 Jdev installed in my machine at the moment.
    May be under Tools --> Preferences ?
    Please some of the suggestions from the below links :
    Solution to the OC4J startup bug: "Error initializing server: IO Error" - JDeveloper and ADF
    Error initializing server: IO Error: The device is not ready
    Cheers
    AJ

  • Solaris 10 x86 - SMC server not starting

    Same problem as here :
    http://groups.yahoo.com/group/solarisx86/message/12180
    No solution yet ...
    SMC server doesn't start at boot, and won't start manually with /etc/init.d/init.wbem start
    starting it manually gives :
    # export VIPER_HOME=/usr/sadm/lib/smc
    # ./smcwbemserver -p 898 start
    Starting Solaris Management Console server version 2.1.0.
    endpoint created: :898
    Solaris Management Console server exiting: internal initialization failed: Initialization failed for service com.sun.management.viper.services.Authorization.
    Any idea?
    I have a basic Solaris 10 setup, with Entire Collection selected.
    My graphic card is not working so I had to install in text mode and access X remotely.

    I believe this is a fault in the crypto file that is mentioned in the Yahoo X86 posting, namely pkcs11_kernel.so. I have a possible workaround for this. Try looking at:
    http://www.webmin.com
    This is a free Web-based management tool that has most but not all of the functionality of the SMC. I tried downloading and installing the Solaris package from their download page, but this didn't work. What I eventually did was remove the package and download and install the generic Unix version, which was webmin-1.160.tar.gz as of when I downloaded it. The only gotchas to watch for are to run the setup.sh script and select Sun Solaris as the O/S, then select Solaris 9 as the version (they don't technically support 10 yet). I have been able to add users and groups and manage the disk without problems.
    Rich Lair

Maybe you are looking for

  • Saving the same image with different croppings for printing various sizes

    I've searched for this to no avail.  I tend to always have a few pictures in rotation that I end up cropping multiple times when I am printing.  Pictures  where today I need to print a 4x6 and tomorrow it's a 5x7 of the same picture, etc.  I am tryin

  • Posting rule in Bank Account Configuration.

    Kindly tell what should be posting rules in case of :- 1. Cheque Issued & Cleared. 2. Received cheque Cleared. 3. Bank transfer outgoing. 4. bank transfer incoming. 5. bank charges 6. Interest expense 7. interest income. 8. service tax receivable com

  • Can i use engineering programs such as atocad .... in macbook poro 13

    can i use engineering programs such as autocad .... in macbook poro 13

  • Board Options keep getting in the way

    When you change from one forum to another, the logical 'path' for the mouse-cursor goes over the 'Board Options' menu, or when going into a post, it goes over the 'Thread Options', both of which apparently function as 'OnMouseOver'. Could this be cha

  • RV042 - limiting HTTP access by IP address?

    I am trying to limit HTTP access to my server on the local network to a specific IP address.  I create an Access Rule in the firewall section, however that doesn't work.  The only way it works is if I add the internal IP address of the server to the