Error binding ORMI port

Hi,
We have installed Oracle 9ias Release 2 Infrastructure and AppServer on RedHat Linux AS 2.1 on the same machine.
When we deploy our application onto the AppServer, it deploys fine, but gives the following error before starting the instance.
Error starting ORMI-Server. Unable to bind socket: Address already in use
java.lang.NullPointerException
at com.evermind.server.rmi.RMIServer.run(RMIServer.java:350)
at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:66)
Oracle9iAS (9.0.2.0.0) Containers for J2EE initialized
The application is available on 7779 instead of 7778.
Is there a clash with the ports? We tried shutting down and restarting the machine and the instance, but still gives the same error.
Can anything be wrong here with ports?
Thanks
Srinath

Try changing the RMI port in the rmi.xml
regards
Debu

Similar Messages

  • Error starting ORMI-Server.  Unable to bind socket: Address already in use:

    hi,
    I run the folowing command "start_oc4j.bat" to start Oc4j.
    It starts successfully.
    Then I start "BPEL PM Server".
    I get the following error,
    "Error starting ORMI-Server. Unable to bind socket: Address already in use: JVM_Bind".
    I understand the above errror because both of them are trying to bind to the same port. And both of them are trying to start ORMI server. Can some one suggest how to get rid of this problem.
    I tried giving different port numbers for them, but that did not work. Let me know, how to over come this problem.
    with regards
    shaila

    You may have another OC4J running on your computer.
    You should change the port number in the file config/rmi.xml.

  • Error starting ORMI-Server. Unable to bind socket...

    One of our BPEL App Servers was moved from a local network to a LAN. I believe it's IP was changed. When we start it with opmnctl startall we get the following error message:
    bq. Error starting ORMI-Server. Unable to bind socket: Cannot assign requested address
    There does not seem to be a resource issue with regard to ports. A netstat -p doesn't show any potential port conflicts. In a WEB search I came across the following suggested check:
    bq. Solution: \\ *A) Check if your IP address or hostname is changed or if there is a conflict of resources in the network*
    Can someone explain what needs to be fixed if the IP Address or hostname of the BPEL App Server has changed? What files need to be corrected to get the install to startup.

    You may have another OC4J running on your computer.
    You should change the port number in the file config/rmi.xml.

  • Error binding ServerSocket to any of the supplied ports

    Hi,
    I am using Oracle coherence 3.7 version and below is the my coherence configuration proxy file:
    <?xml version="1.0"?>
    <cache-config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns="http://xmlns.oracle.com/coherence/coherence-cache-config"
       xsi:schemaLocation="http://xmlns.oracle.com/coherence/coherence-cache-config coherence-cache-config.xsd">
      <caching-scheme-mapping>
      <cache-mapping>
      <cache-name>*</cache-name>
      <scheme-name>distributedCache</scheme-name>
      </cache-mapping>
      </caching-scheme-mapping>
      <caching-schemes>
      <distributed-scheme>
      <scheme-name>distributedCache</scheme-name>
      <service-name system-property="spreading.ssm.coherence.cacheScheme.serviceName">distributedCacheService</service-name>
      <serializer>
      <instance>
      <class-name>com.rbos.ssm.cache.entity.imp.ExtendedPofContext</class-name>
      <init-params>
      <init-param>
      <param-type>string</param-type>
      <param-value>cluster-coherence-pof-config.xml</param-value>
      </init-param>
      </init-params>
      </instance>
      </serializer>
      <partition-listener>
      <class-name>name of class</class-name>
      </partition-listener>
      <backing-map-scheme>
      <local-scheme>
      <unit-calculator>BINARY</unit-calculator>
      </local-scheme>
      </backing-map-scheme>
      <autostart>true</autostart>
      </distributed-scheme>
      <!-- allows extend clients to connect to this member service-name -->
      <proxy-scheme>
      <scheme-name>extendTcpProxy</scheme-name>
      <service-name>extendTcpProxyService</service-name>
      <thread-count>16</thread-count>
      <acceptor-config>
      <tcp-acceptor>
      <local-address>
      <address>localhost</address>
      <port system-property="port"></port>
      </local-address>
      <reuse-address>true</reuse-address>
      </tcp-acceptor>
      <serializer>
      <instance>
      <class-name>class name</class-name>
      <init-params>
      <init-param>
      <param-type>string</param-type>
      <param-value>cluster-coherence-pof-config.xml</param-value>
      </init-param>
      </init-params>
      </instance>
      </serializer>
      </acceptor-config>
      <load-balancer>client</load-balancer>
      <autostart>true</autostart>
      </proxy-scheme>
      <invocation-scheme>
      <scheme-name>invocationService</scheme-name>
      <service-name system-property="serbice name">invocationService</service-name>
      <autostart>true</autostart>
      </invocation-scheme>
      </caching-schemes>
    </cache-config>
    I am facing "Error binding ServerSocket to any of the supplied ports" very frequently in my application which in turn causes High CPU Usage issue. Below is the stacktrace of exception:
    2014-08-10 15:04:05.035/719374.713 Oracle Coherence GE 3.7.1.4 <D4> (thread=Proxy:extendTcpProxyService:TcpAcceptor:TcpProcessor, member=3): TcpProcessor caught an unhandled exception (java.lang.RuntimeException: Error binding ServerSocket to any of the supplied ports: [trulcch2002/11.179.103.181:7501]) while exiting.
    2014-08-10 15:04:05.035/719374.713 Oracle Coherence GE 3.7.1.4 <D4> (thread=Proxy:extendTcpProxyService:TcpAcceptor, member=3): TcpAcceptor caught an unhandled exception (com.tangosol.util.WrapperException: (Wrapped) Error binding ServerSocket to any of the supplied ports: [trulcch2002/11.179.103.181:7501]) while exiting.
    2014-08-10 15:04:05.036/719374.714 Oracle Coherence GE 3.7.1.4 <D5> (thread=Proxy:extendTcpProxyService:TcpAcceptor, member=3): Stopped: TcpAcceptor{Name=Proxy:extendTcpProxyService:TcpAcceptor, State=(SERVICE_STOPPED), ThreadCount=0, Codec=Codec(Format=POF), Serializer=com.rbos.ssm.cache.entity.imp.ExtendedPofContext, PingInterval=0, PingTimeout=30000, RequestTimeout=30000, SocketProvider=SystemSocketProvider, LocalAddress=[trulcch2002/11.179.103.181:7501], SocketOptions{LingerTimeout=0, KeepAliveEnabled=true, TcpDelayEnabled=false}, ListenBacklog=0, BufferPoolIn=BufferPool(BufferSize=2KB, BufferType=DIRECT, Capacity=Unlimited), BufferPoolOut=BufferPool(BufferSize=2KB, BufferType=DIRECT, Capacity=Unlimited)}
    2014-08-10 15:04:05.037/719374.715 Oracle Coherence GE 3.7.1.4 <D4> (thread=Proxy:extendTcpProxyService, member=3): ProxyService caught an unhandled exception (com.tangosol.util.WrapperException: (Wrapped) (Wrapped) Error binding ServerSocket to any of the supplied ports: [trulcch2002/11.179.103.181:7501]) while exiting.
    2014-08-10 15:04:05.037/719374.715 Oracle Coherence GE 3.7.1.4 <Error> (thread=Proxy:extendTcpProxyService, member=3): ClusterService.doServiceLeft: Unknown Service ProxyService{Name=extendTcpProxyService, State=(SERVICE_STOPPED), Id=4, Version=3.7}
    2014-08-10 15:04:05.037/719374.716 Oracle Coherence GE 3.7.1.4 <D5> (thread=Proxy:extendTcpProxyService, member=3): Service extendTcpProxyService left the cluster
    2014-08-10 15:04:05.039/719374.717 Oracle Coherence GE 3.7.1.4 <Error> (thread=main, member=3): Error while starting service "extendTcpProxyService": (Wrapped) (Wrapped) (Wrapped) java.lang.RuntimeException: Error binding ServerSocket to any of the supplied ports: [trulcch2002/11.179.103.181:7501]
      at com.tangosol.coherence.component.util.Daemon.start(Daemon.CDB:52)
      at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.start(Service.CDB:7)
      at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.start(Grid.CDB:6)
      at com.tangosol.coherence.component.util.SafeService.startService(SafeService.CDB:39)
      at com.tangosol.coherence.component.util.SafeService.restartService(SafeService.CDB:28)
      at com.tangosol.coherence.component.util.SafeService.ensureRunningService(SafeService.CDB:39)
      at com.tangosol.coherence.component.util.SafeService.start(SafeService.CDB:14)
      at com.tangosol.net.DefaultConfigurableCacheFactory.ensureServiceInternal(DefaultConfigurableCacheFactory.java:1105)
      at com.tangosol.net.DefaultConfigurableCacheFactory.ensureService(DefaultConfigurableCacheFactory.java:937)
      at com.tangosol.net.DefaultCacheServer.startServices(DefaultCacheServer.java:81)
      at com.tangosol.net.DefaultCacheServer.monitorServices(DefaultCacheServer.java:285)
      at com.tangosol.net.DefaultCacheServer.startAndMonitor(DefaultCacheServer.java:56)
      at com.tangosol.net.DefaultCacheServer.main(DefaultCacheServer.java:197)
    Caused by: (Wrapped) (Wrapped) java.lang.RuntimeException: Error binding ServerSocket to any of the supplied ports: [trulcch2002/11.179.103.181:7501]
      at com.tangosol.coherence.component.util.Daemon.start(Daemon.CDB:52)
      at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.start(Service.CDB:7)
      at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.ProxyService.onServiceStarting(ProxyService.CDB:37)
      at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onServiceState(Grid.CDB:12)
      at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.setServiceState(Service.CDB:8)
      at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.setServiceState(Grid.CDB:21)
      at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onEnter(Grid.CDB:32)
      at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:14)
      at java.lang.Thread.run(Unknown Source)
    Caused by: (Wrapped) java.lang.RuntimeException: Error binding ServerSocket to any of the supplied ports: [trulcch2002/11.179.103.181:7501]
      at com.tangosol.coherence.component.util.Daemon.start(Daemon.CDB:52)
      at com.tangosol.coherence.component.util.daemon.queueProcessor.service.peer.acceptor.TcpAcceptor.onServiceStarting(TcpAcceptor.CDB:7)
      at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.onServiceState(Service.CDB:4)
      at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.setServiceState(Service.CDB:8)
      at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Peer.onEnter(Peer.CDB:11)
      ... 2 more
    Caused by: java.lang.RuntimeException: Error binding ServerSocket to any of the supplied ports: [trulcch2002/11.179.103.181:7501]
      at com.tangosol.coherence.component.util.daemon.queueProcessor.service.peer.acceptor.TcpAcceptor.configureSocket(TcpAcceptor.CDB:39)
      at com.tangosol.coherence.component.util.daemon.queueProcessor.service.peer.acceptor.TcpAcceptor$TcpProcessor.onEnter(TcpAcceptor.CDB:26)
      ... 2 more
    2014-08-10 15:04:05.039/719374.717 Oracle Coherence GE 3.7.1.4 <Error> (thread=main, member=3): Failed to restart services: (Wrapped) (Wrapped) (Wrapped) java.lang.RuntimeException: Error binding ServerSocket to any of the supplied ports: [trulcch2002/11.179.103.181:7501]
    2014-08-10 15:04:10.041/719379.719 Oracle Coherence GE 3.7.1.4 <Info> (thread=main, member=3): Restarting Service: extendTcpProxyService
    2014-08-10 15:04:10.047/719379.725 Oracle Coherence GE 3.7.1.4 <Error> (thread=Proxy:extendTcpProxyService:TcpAcceptor:TcpProcessor, member=3): error binding ServerSocket to 11.179.103.181:7501: java.net.BindException: Address already in use
      at sun.nio.ch.Net.bind(Native Method)
      at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
      at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
      at com.tangosol.coherence.component.util.daemon.queueProcessor.service.peer.acceptor.TcpAcceptor.configureSocket(TcpAcceptor.CDB:25)
      at com.tangosol.coherence.component.util.daemon.queueProcessor.service.peer.acceptor.TcpAcceptor$TcpProcessor.onEnter(TcpAcceptor.CDB:26)
      at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:14)
      at java.lang.Thread.run(Unknown Source)
    Please help me in this issue. Thanks in advance.

    Hi,
    I've looked at the code where the socket is created. Unfortunately, the ServerSocket constructor does not take the options as a parameter, so it is not a configuration option with Coherence. However, we would be able to support SO_REUSEADDR by using the default constructor, setting the desired options, and deferring the bind until that has been done.
    I've assigned this the tracking number COH-2724. If you'd be willing to test a patch for it, send me your email address (my first name dot my last name at oracle dot com) and I will log that information onto the issue.
    Peace,
    Cameron Purdy | Oracle Coherence
    http://coherence.oracle.com/

  • Error starting ORMI-Server. Uable to bind socket

    Hi,
    I get the following error whenever I start my Application Server on Linux machine.
    If I deploy the EJB application onto a OC4J instance, the server is refusing the connection by throwing Connection Refused error.
    Any insight about this issue will be helpful.
    Thanks,
    Mohan
    04/07/08 17:14:42 Error starting ORMI-Server. Unable to bind socket: Address already in use
    04/07/08 17:14:44 Oracle Application Server Containers for J2EE 10g (9.0.4.0.0) initialized
    04/07/08 17:14:44 java.lang.NullPointerException
    04/07/08 17:14:44 at com.evermind.server.rmi.RMIServer.run(RMIServer.java:470)
    04/07/08 17:14:44 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Releasabl
    eResourcePooledExecutor.java:186)
    04/07/08 17:14:44 at java.lang.Thread.run(Thread.java:534)

    Hi Avi,
    of course you are right that the standalone OC4J ist not the same as an OC4J instance within the Oracle Application Server though from my point of view many J2EE-Server related questions or problems regarding the EJB- and or WEB-container could be answered/handled same or equally.
    That's why I'm a little bit irritated by your statement. From a forum user's perspective I'd hate it to follow eg all those Forms and Reports service discussions if I were a Java Developer or Deployer. So I would like to see all posts regarding the OC4J-Container here (no matter if standalone or inside OAS). Nevertheless everybody should clearly indicate the exact product version including the distinction beetween standalone and OAS.
    Just my 0.2 about this. What do others think?
    Avi, if you really want all discussion about OAS including OC4J topics to happen within the "Application Server - General" forum, I'd suggest you add a forum description which makes that clear.
    Well, if one can persuade you to not follow such a strict separation as I argued against, it could be still beneficial to add a meaningful forum description (eg. to remind people of the distinction between standalone OC4J and OAS.
    Thoughts?
    Regards,
    Eric

  • Error: DHCP-3-BIND_SRPORT_ERR: dhcp_support.c:374 Binding service port failed.

    Hi,
    I am getting bellow error messages with new wlan i created. On the same WLC i have three other wlans working OK. This wlan suppose to get authenticated with acs, i tried to disable the authentication but got same error message. With acs authentication, i am able to authenticate OK but cannot get ip address from dhcp server. DHCP server is on wlc, used by other three wlans ok. All wlans are on differnt subnets; vlans created where needed.Any ideas would be appreciated.
    Thanks
    Error from wlc:
    *Sep 10 13:23:53.303: %DHCP-3-BIND_SRPORT_ERR: dhcp_support.c:374 Binding service port failed.
    *Sep 10 13:15:33.111: %DHCP-3-BIND_SRPORT_ERR: dhcp_support.c:374 Binding service port failed.
    *Sep 10 13:07:12.920: %DHCP-3-BIND_SRPORT_ERR: dhcp_support.c:374 Binding service port failed.
    *Sep 10 12:58:52.732: %DHCP-3-BIND_SRPORT_ERR: dhcp_support.c:374 Binding service port failed.
    *Sep 10 12:50:32.535: %DHCP-3-BIND_SRPORT_ERR: dhcp_support.c:374 Binding service port failed.

    %DHCP-3-BIND_SRPORT_ERR: dhcp_support.c:374 Binding service port failed.
    This one perplexed me too, there is no answer on Cisco's website that I could find. I think I have the  solution though....
    Go to Monitor -> Interfaces -> Service-Port and have a look at the configuration.
    I'm willing to bet that DHCP is enabled for the service port (the Ethernet interface on the left side of  the controller that you may or may not use) and the Ethernet is either not connected or it's connected to  a LAN where it can't get a DHCP lease.
    What the controller is try trying to say is something like "%DHCP-3-BIND_SRPORT_ERR: dhcp_support.c:374 Failed to get a DHCP address for the service port"

  • Error starting ORMI server, when run oc4j.cmd -start

    hello oracle guru,
    i just finish installing the Oracle Business Intelligence Publisher Standalone 10.1.3.4 in Window XP Home Edition SP3 platform..
    but when i want to start the BI Publisher, by running the oc4j, i get this errors
    Starting OC4J from E:\OraInstall\OraBIP\oc4j_bi\j2ee\home ...
    2010-10-13 17:33:17.453 ERROR ServerFile[PersistentMap,/E:/OraInstall/OraBIP/oc4j_bi/j2ee/home/persistence/jms.state]:persistence file could not be locked. Resolve the sharing violation by ending the process currently holding the file lock or by using a different persistence directory for one or both processes.
    10/10/13 17:33:17 *** (SEVERE) ServerFile[PersistentMap,/E:/OraInstall/OraBIP/oc4j_bi/j2ee/home/persistence/jms.state]: persistence file could not be locked. Resolve the sharing violation by ending the process currently holding the file lock or by using a different persistence directory for one or both processes.
    2010-10-13 17:33:17.484 ERROR Failed to set the internal configuration of the OC4J JMS Server with: XMLJMSServerConfig[file:/E:/OraInstall/OraBIP/oc4j_bi/j2ee/home/config/jms.xml]
    10/10/13 17:33:17 *** (SEVERE) Failed to set the internal configuration of the OC4J JMS Server with: XMLJMSServerConfig[file:/E:/OraInstall/OraBIP/oc4j_bi/j2ee/home/config/jms.xml]
    2010-10-13 17:33:17.484 ERROR J2EE OJR-00011 Exception starting JMS server: Failed to set the internal configuration of the OC4J JMS Server with:XMLJMSServerConfig[file:/E:/OraInstall/OraBIP/oc4j_bi/j2ee/home/config/jms.xml]
    2010-10-13 17:33:17.593 ERROR J2EE RMI-00002 Error starting ORMI server TOSHIBA port 23,791:Address already in use: JVM_Bind
    2010-10-13 17:33:17.609 ERROR java.net.BindException: Address already in use: JVM_Bind
    at java.net.PlainSocketImpl.socketBind(Native Method)
    at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
    at java.net.ServerSocket.bind(ServerSocket.java:319)
    at java.net.ServerSocket.<init>(ServerSocket.java:185)
    at com.evermind.server.rmi.RMIServer.createServerSocket(RMIServer.java:433)
    at com.evermind.server.rmi.RMIServer.createNonSecureSocket(RMIServer.java:347)
    at com.evermind.server.rmi.RMIServer.setConfig(RMIServer.java:210)
    at com.evermind.server.ApplicationServer.initializeRMI(ApplicationServer.java:2378)
    at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:966)
    at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131)
    at java.lang.Thread.run(Thread.java:595)
    10/10/13 17:33:17 Error starting ORMI server TOSHIBA port 23,791: Address already in use: JVM_Bind
    10/10/13 17:33:17 Shutting down OC4J...
    Can somebody who have been facing this error before this can guide me on how to solve the problem?

    http://kr.forums.oracle.com/forums/thread.jspa?threadID=640696
    Please check this link... it helped me in Solaris environment..it works for me.
    All the best..
    Thanks
    Deependra

  • Error Starting ORMI-Server

    Hi
    I am using 10g Enterprise Edition on Linux Advance Server 3.0 and Enterprise Manager.
    I get the following error when starting up each Container I have created.
    04/01/14 10:25:56 Error starting ORMI-Server. Unable to bind socket: Address already in use
    04/01/14 10:25:59 java.lang.NullPointerException
    04/01/14 10:25:59 at com.evermind.server.rmi.RMIServer.run(RMIServer.java:470)
    04/01/14 10:25:59 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
    04/01/14 10:25:59 at java.lang.Thread.run(Thread.java:534)
    I changed the port number ranges via EM and in "opmn.xml" to limit each container to its own range, but no success.
    Even i set the specific port for each service.
    M. Tahir.

    hi ramesh,
    this is sateesh. I only posted the above request
    before i found the solution. but with different
    trials i got that at last.
    --sateesh(TCS)Hi Sateesh,
    i'm using the Oracle 10g AS (9.0.4) on RedHat Linux 3.0 Advanced Server.
    I've formatted my machine, installed redhat and then 10g AS. There are no other softwares installed on my machine.
    After installation, I've created an Instace of OC4J server using IAS console, started the instance and got a message saying my instance has been started. But when i look at the log file in %ORACLE_HOME%/opmn/logs i got a message saying "Error starting ORMI-Server. Unable to bind socket: Address already in use".
    I've searched this forum for this and did all the kinds of modifications suggested by others and found no success. U said that u've tried other way and found the solution. Could you please help me out with the solution. I've tried stopping the default server instance being created at the time of 10 gAS installation. When i looked at the ports in use for the application server, its listing different ports for JMS, RMI and AJP but the same port for Oracle HTTP Server as 7778.
    P.S.: this is not only for sateesh, but for any one who could help me out with the solution.
    Please help me ASAP as its urgent for me and I've spent last 5 days for this.
    Any kind of help regarding this would be highly appreciated.
    Thanks,
    Balakrishna

  • ICal Server starts but does not bind to port 8008 or 8443

    I am having some trouble getting ICal server to start up and be available. When is start up I get the following log entry
    2008-01-31 20:04:28+0000 [-] Log opened.
    2008-01-31 20:04:28+0000 [-] twistd 2.5.0 (/System/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/Python 2.5.1) starting up
    2008-01-31 20:04:28+0000 [-] reactor class: <class 'twisted.internet.selectreactor.SelectReactor'>
    2008-01-31 20:04:28+0000 [-] 1 processors found, configuring 1 processes.
    2008-01-31 20:04:28+0000 [-] twistedcaldav.logging.AMPLoggingFactory starting on "'/var/run/caldavd.sock'"
    2008-01-31 20:04:35+0000 [-] [caldav-8008]  [-] Log opened.
    2008-01-31 20:04:35+0000 [-] [caldav-8008]  [-] twistd 2.5.0 (/System/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/Python 2.5.1) starting up
    2008-01-31 20:04:35+0000 [-] [caldav-8008]  [-] reactor class: <class 'twisted.internet.selectreactor.SelectReactor'>+
    2008-01-31 20:04:36+0000 [-] [caldav-8008]  [-] Configuring directory service of type: twistedcaldav.directory.appleopendirectory.OpenDirectoryService
    2008-01-31 20:04:36+0000 [-] [caldav-8008]  [-] "Directory service <OpenDirectoryService '/Search': '/Search'> has no GUID; generating service GUID from realm name."
    2008-01-31 20:04:37+0000 [-] [caldav-8008]  [-] Configuring SudoDirectoryService with file: /etc/caldavd/sudoers.plist
    2008-01-31 20:04:37+0000 [-] [caldav-8008]  [-] Setting up document root at: /Library/CalendarServer/Documents
    2008-01-31 20:04:37+0000 [-] [caldav-8008]  [-] Setting up principal collection: <class 'twistedcaldav.directory.principal.DirectoryPrincipalProvisioningResource'>
    2008-01-31 20:04:37+0000 [-] [caldav-8008]  [-] Setting up calendar collection: <class 'twistedcaldav.static.CalendarHomeProvisioningFile'>
    2008-01-31 20:04:37+0000 [-] [caldav-8008]  [-] Setting up root resource: <class 'twistedcaldav.root.RootResource'>
    2008-01-31 20:04:37+0000 [-] [caldav-8008]  [-] Setting up default ACEs on root resource
    2008-01-31 20:04:37+0000 [-] [caldav-8008]  [-] Setting up AdminPrincipals
    2008-01-31 20:04:37+0000 [-] [caldav-8008]  [-] Setting root ACL
    2008-01-31 20:04:37+0000 [-] [caldav-8008]  [-] Configuring authentication for realm: /Search
    2008-01-31 20:04:37+0000 [-] [caldav-8008]  [-] Setting up scheme: kerberos
    2008-01-31 20:04:37+0000 [-] [caldav-8008]  [-] Setting up scheme: digest
    2008-01-31 20:04:37+0000 [-] [caldav-8008]  [-] Initializing database /var/run/caldavd/.db.digestcredentialscache
    2008-01-31 20:04:37+0000 [-] [caldav-8008]  [-] Configuring authentication wrapper
    2008-01-31 20:04:37+0000 [-] [caldav-8008]  [-] Setting up service
    2008-01-31 20:04:37+0000 [-] [caldav-8008]  [-] Configuring log observer: <twistedcaldav.logging.AMPCommonAccessLoggingObserver object at 0x1470ed0>
    2008-01-31 20:04:37+0000 [-] [caldav-8008]  [-] Adding server at :8008
    2008-01-31 20:04:37+0000 [-] [caldav-8008]  [-] Adding SSL server at :8443
    But when I try to connect on either http (port 8008) or https (port 8443) I get:
    +Calendar Home not found for 'http://mydomain.com:8008/principals/_uids_/38535666-DA2F-4803-B26E-AD3C4CECC908/'+
    Looking at netstat on the server it seems that the caldav server is not actually binding the port.
    Any ideas how to fix?

    The log files (and the containing caldavd folder) don't exist.
    Errors in system.log do:
    Mar 4 10:15:27 internal /usr/sbin/ocspd[39025]: starting
    Mar 4 10:15:32 internal com.apple.launchd[1] (org.calendarserver.calendarserver[39026]): open("/var/log/caldavd/error.log", ...): No such file or directory
    Mar 4 10:15:35: --- last message repeated 1 time ---
    Mar 4 10:15:35 internal org.calendarserver.calendarserver[39026]: Removing stale pidfile /var/run/caldavd.pid
    Mar 4 10:15:35 internal org.calendarserver.calendarserver[39026]: 2008-03-04 10:15:35-0500 [-] Log opened.
    Mar 4 10:15:35 internal org.calendarserver.calendarserver[39026]: 2008-03-04 10:15:35-0500 [-] twistd 2.5.0 (/System/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/ Contents/MacOS/Python 2.5.1) starting up
    Mar 4 10:15:35 internal org.calendarserver.calendarserver[39026]: 2008-03-04 10:15:35-0500 [-] reactor class: <class 'twisted.internet.selectreactor.SelectReactor'>
    Mar 4 10:15:35 internal org.calendarserver.calendarserver[39026]: 2008-03-04 10:15:35-0500 [-] 2 processors found, configuring 2 processes.
    Mar 4 10:15:35 internal org.calendarserver.calendarserver[39026]: 2008-03-04 10:15:35-0500 [-] Adding pydirector service with configuration: /tmp/pydirmegbeS
    Mar 4 10:15:35 internal org.calendarserver.calendarserver[39026]: 2008-03-04 10:15:35-0500 [-] twistedcaldav.logging.AMPLoggingFactory starting on "'/var/run/caldavd.sock'"
    Mar 4 10:15:35 internal org.calendarserver.calendarserver[39026]: 2008-03-04 10:15:35-0500 [-] Traceback (most recent call last):
    Mar 4 10:15:35 internal org.calendarserver.calendarserver[39026]: 2008-03-04 10:15:35-0500 [-] File "/usr/share/caldavd/bin/twistd", line 21, in <module>
    Mar 4 10:15:35 internal org.calendarserver.calendarserver[39026]: 2008-03-04 10:15:35-0500 [-] run()
    Mar 4 10:15:35 internal org.calendarserver.calendarserver[39026]: 2008-03-04 10:15:35-0500 [-] File "/usr/share/caldavd/lib/python/twisted/scripts/twistd.py", line 27, in run
    Mar 4 10:15:35 internal org.calendarserver.calendarserver[39026]: 2008-03-04 10:15:35-0500 [-] app.run(runApp, ServerOptions)
    Mar 4 10:15:35 internal org.calendarserver.calendarserver[39026]: 2008-03-04 10:15:35-0500 [-] File "/usr/share/caldavd/lib/python/twisted/application/app.py", line 379, in run
    Mar 4 10:15:35 internal org.calendarserver.calendarserver[39026]: 2008-03-04 10:15:35-0500 [-] runApp(config)
    Mar 4 10:15:35 internal org.calendarserver.calendarserver[39026]: 2008-03-04 10:15:35-0500 [-] File "/usr/share/caldavd/lib/python/twisted/scripts/twistd.py", line 23, in runApp
    Mar 4 10:15:35 internal org.calendarserver.calendarserver[39026]: 2008-03-04 10:15:35-0500 [-] _SomeApplicationRunner(config).run()
    Mar 4 10:15:35 internal org.calendarserver.calendarserver[39026]: 2008-03-04 10:15:35-0500 [-] File "/usr/share/caldavd/lib/python/twisted/application/app.py", line 158, in run
    Mar 4 10:15:35 internal org.calendarserver.calendarserver[39026]: 2008-03-04 10:15:35-0500 [-] self.postApplication()
    Mar 4 10:15:35 internal org.calendarserver.calendarserver[39026]: 2008-03-04 10:15:35-0500 [-] File "/usr/share/caldavd/lib/python/twisted/scripts/twistdunix.py", line 213, in postApplication
    Mar 4 10:15:35 internal org.calendarserver.calendarserver[39026]: 2008-03-04 10:15:35-0500 [-] startApplication(self.config, self.application)
    Mar 4 10:15:35 internal org.calendarserver.calendarserver[39026]: 2008-03-04 10:15:35-0500 [-] File "/usr/share/caldavd/lib/python/twisted/scripts/twistdunix.py", line 174, in startApplication
    Mar 4 10:15:35 internal org.calendarserver.calendarserver[39026]: 2008-03-04 10:15:35-0500 [-] service.IService(application).privilegedStartService()
    Mar 4 10:15:35 internal org.calendarserver.calendarserver[39026]: 2008-03-04 10:15:35-0500 [-] File "/usr/share/caldavd/lib/python/twisted/application/service.py", line 228, in privilegedStartService
    Mar 4 10:15:35 internal org.calendarserver.calendarserver[39026]: 2008-03-04 10:15:35-0500 [-] service.privilegedStartService()
    Mar 4 10:15:35 internal org.calendarserver.calendarserver[39026]: 2008-03-04 10:15:35-0500 [-] File "/usr/share/caldavd/lib/python/twisted/application/service.py", line 228, in privilegedStartService
    Mar 4 10:15:35 internal org.calendarserver.calendarserver[39026]: 2008-03-04 10:15:35-0500 [-] service.privilegedStartService()
    Mar 4 10:15:35 internal org.calendarserver.calendarserver[39026]: 2008-03-04 10:15:35-0500 [-] File "/usr/share/caldavd/lib/python/twisted/application/internet.py", line 68, in privilegedStartService
    Mar 4 10:15:35 internal org.calendarserver.calendarserver[39026]: 2008-03-04 10:15:35-0500 [-] self._port = self._getPort()
    Mar 4 10:15:35 internal org.calendarserver.calendarserver[39026]: 2008-03-04 10:15:35-0500 [-] File "/usr/share/caldavd/lib/python/twisted/application/internet.py", line 86, in _getPort
    Mar 4 10:15:35 internal org.calendarserver.calendarserver[39026]: 2008-03-04 10:15:35-0500 [-] return getattr(reactor, 'listen'+self.method)(*self.args, **self.kwargs)
    Mar 4 10:15:35 internal org.calendarserver.calendarserver[39026]: 2008-03-04 10:15:35-0500 [-] File "/usr/share/caldavd/lib/python/twisted/internet/posixbase.py", line 432, in listenUNIX
    Mar 4 10:15:35 internal org.calendarserver.calendarserver[39026]: 2008-03-04 10:15:35-0500 [-] p.startListening()
    Mar 4 10:15:35 internal org.calendarserver.calendarserver[39026]: 2008-03-04 10:15:35-0500 [-] File "/usr/share/caldavd/lib/python/twisted/internet/unix.py", line 84, in startListening
    Mar 4 10:15:35 internal org.calendarserver.calendarserver[39026]: 2008-03-04 10:15:35-0500 [-] self.factory.doStart()
    Mar 4 10:15:35 internal org.calendarserver.calendarserver[39026]: 2008-03-04 10:15:35-0500 [-] File "/usr/share/caldavd/lib/python/twistedcaldav/logging.py", line 364, in doStart
    Mar 4 10:15:35 internal org.calendarserver.calendarserver[39026]: 2008-03-04 10:15:35-0500 [-] self.observer.start()
    Mar 4 10:15:35 internal org.calendarserver.calendarserver[39026]: 2008-03-04 10:15:35-0500 [-] File "/usr/share/caldavd/lib/python/twistedcaldav/logging.py", line 207, in start
    Mar 4 10:15:35 internal org.calendarserver.calendarserver[39026]: 2008-03-04 10:15:35-0500 [-] self._open()
    Mar 4 10:15:35 internal org.calendarserver.calendarserver[39026]: 2008-03-04 10:15:35-0500 [-] File "/usr/share/caldavd/lib/python/twistedcaldav/logging.py", line 224, in _open
    Mar 4 10:15:35 internal org.calendarserver.calendarserver[39026]: 2008-03-04 10:15:35-0500 [-] self.f = open(self.logpath, 'a', 1)
    Mar 4 10:15:35 internal org.calendarserver.calendarserver[39026]: 2008-03-04 10:15:35-0500 [-] IOError: [Errno 2] No such file or directory: '/var/log/caldavd/access.log'
    Mar 4 10:15:35 internal com.apple.launchd[1] (org.calendarserver.calendarserver[39026]): Exited with exit code: 1
    Mar 4 10:15:35 internal com.apple.launchd[1] (org.calendarserver.calendarserver): Throttling respawn: Will start in 7 seconds
    So, as I suspected, it isn't starting up correctly. Now, what to do about that? Do I just need to create taht caldavd folder and touch the log files?
    Greg

  • Error starting ORMI Server: address already in use

    - Linux RedHat 3 ES installed
    - Forms&Reports 904 installed
    EM:
    BI_Forms repeatly tries to start, but fials:
    "Error starting ORMI Server: address already in use"

    You may have another OC4J running on your computer.
    You should change the port number in the file config/rmi.xml.

  • Jwsc Error - Only HTTP ports are supported for JAX-WS

    Hi
    I am trying to create a Webservice from wsdl. I have been able to generate java files and jar file with wsdlc ant task.
    However when i try jwsc I get follwoing error
    [jwsc] [ERROR] - Only HTTP ports are supported for JAX-WS.
    <----- follwowing task for generating java files --->
    <taskdef name="wsdlc" classname="weblogic.wsee.tools.anttasks.WsdlcTask"/>     
    <target name="generate-from-wsdl">
              <wsdlc
                   srcWsdl="wsdl_files/UserPrefWebService.wsdl"
                   destJwsDir="web/web-inf/lib"
                   destImplDir="src"
                   packageName="com.ws.userpref"
                   type="JAXWS"/>
         </target>
    <----- follwowing task for generating class files ----THIS IS FAILING --->
         <taskdef name="jwsc" classname="weblogic.wsee.tools.anttasks.JwscTask" />      
         <target name="build-service">
              <jwsc srcdir="src" destdir="ear">
                   <jws file="com/ws/userpref/UserPrefWebServiceImpl.java"
                        compiledWsdl="web/web-inf/lib/UserPrefWebService_wsdl.jar"
                        type="JAXWS"/>
              </jwsc>
         </target>
    <----- This is the Error --->
    C:\Development\CFCDemoWorkspace\UserPreferencesServer>ant build-service
    Buildfile: build.xml
    build-service:
    [jwsc] JWS: processing module /com/ws/userpref/UserPrefWebServiceImpl
    [jwsc] Parsing source files
    [jwsc] Parsing source files
    [jwsc] 1 JWS files being processed for module /com/ws/userpref/UserPrefWebS
    erviceImpl
    [jwsc] C:\Development\CFCDemoWorkspace\UserPreferencesServer\src\com\ws\use
    rpref\UserPrefWebServiceImpl.java 18:8
    [jwsc] [ERROR] - Only HTTP ports are supported for JAX-WS.
    [AntUtil.deleteDir] Deleting directory C:\DOCUME~1\138904\LOCALS~1\Temp\_3os716
    BUILD FAILED
    C:\Development\CFCDemoWorkspace\UserPreferencesServer\build.xml:24: weblogic.wse
    e.tools.WsBuildException: JWS Validation failed.
    Total time: 10 seconds
    Does any one has any input on this error?
    Thanks
    Srikant

    Thanks David,
    Below is the wsdl
    <s0:message name="ws_getUserPreference">
    <s0:part element="s1:ws_getUserPreference" name="parameters"/>
    </s0:message>
    <s0:message name="ws_getUserPreferenceResponse">
    <s0:part element="s1:ws_getUserPreferenceResponse" name="parameters"/>
    </s0:message>
    <s0:portType name="UserPrefWebServicePort">
    <s0:operation name="ws_getUserPreference" parameterOrder="parameters">
    <s0:input message="s1:ws_getUserPreference"/>
    <s0:output message="s1:ws_getUserPreferenceResponse"/>
    </s0:operation>
    </s0:portType>
    <s0:binding name="UserPrefWebServiceSoapBinding" type="s1:UserPrefWebServicePort">
    <s2:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <s0:operation name="ws_getUserPreference">
    <s2:operation soapAction="" style="document"/>
    <s0:input>
    <s2:body parts="parameters" use="literal"/>
    </s0:input>
    <s0:output>
    <s2:body parts="parameters" use="literal"/>
    </s0:output>
    </s0:operation>
    </s0:binding>
    <s0:service name="UserPrefWebService">
    <s0:port binding="s1:UserPrefWebServiceSoapBinding" name="UserPrefWebServicePortSoapPort">
    <s2:address location="https://localhost:7001/UserPrefService/UserPref"/>
    </s0:port>
    </s0:service>
    </s0:definitions>
    do i need to add <wlhttptransport/> in jws during the buid?

  • Changing ORMI port !!!

    Hi All,
    I had OBIEE and Oracle warehouse builder both running on the same server as both were using OC4J service on port 23791,
    I changed the ORMI port in OWB_HOME\owb\jrt\config\rmi.xml configuration file from 23791 to 24791.
    I started OC4j for OBIEE and OWB both are running fine.
    But when i execute my mapping i am getting error message
    {0}CCA-1103: Failed to check if CODETEMPLATE-REP_OWNER-DEV_WS1-PUBLIC_PROJECT-BUILT_IN_CT-DEFAULT_ORACLE_TARGET_CT has been deployed.I googled and found out this happens if the CCA is not up
    CT Mapping Deployment Error: CCA-1103: Failed to check if CT BUILT_IN_CT
    But the CCA is up and running on port 24791, but i think my OWB repository is checking on old port 23791.\
    I went into locations navigator -> agents -> default_agent to change the oc4jadmin port from 23791 to 24791 but its greyed out, i am trying from owb_owner's account.
    can someone kindly guide me as to how i can make this work.
    regards,

    Thanks Suraj,
    I found it and unregistered it.
    But when i try to re-register it back, in details after giving port 25791 when i click on test connection i get the following error
    Connection failed.
    ClassLoader "jrt.root:0.0.0"(from <application> in /E:/oracle/product/owbhome/owb/jrt/applications/jrt/): This loader has been closed and should not be in use.ormi://hostname.domain:25791/jrtnetstat -a shows both ports are listening
    TCP    hostname:25791     hostname.domain:0  LISTENING
    TCP    hostname:25943     hostname.domain:0  LISTENINGThanks again for your time,
    regards,
    Edited by: user10243788 on Jul 14, 2010 12:53 AM

  • Unalbe to bind to ports

    HI,
    I wrote an application to bind to port 80 on a solaris10 machine. The bind() function call seems to fail. I verified that there is no process or service that is already using port 80.
    I can bind to higher port numbers like 9000 or 10000 but I get a bind error when I bind to a 'lower' port like 80 or 90. Can anyone help me get around the problem.
    Thanks

    Unless you use rbac privileges only root can attach to ports < 1024.
    alan

  • ApacheJServ/1.1: Failed to bind to port(s)

    Hi,
    I'm running Oracle-HTTP-Server/1.3.28 on Red Hat Linux and JDK 1.4.2
    For many months, everything was running fine.
    Now I get the following error message (many times) in file "jserv.log":
    [Note: reformatted for easier reading.]
    [02/08/2007 18:23:32] ApacheJServ/1.1:
    Failed to bind to port(s) specified in jserv.properties.
    Please check jserv.properties and jserv.conf file, and make sure number of JServ
    process specified in jserv.conf is less than number of ports specified
    in jserv.properties and the ports are not used by other processes.I'm hoping someone will be able to help me resolve this problem.
    =========================================================
    August 3, 2007 - More information:
    JServ is configured to listen to port 8007 only.
    When iAS is started up, the first time a servlet request is sent, the process becomes defunct and is unable to release the 8007 port.
    All subsequent attempts to access that port fail, as the port is still bound to a defunct process.
    If you kill the defunct process, the port is then in a CLOSE state, as seen by using "netstat".
    Thanks,
    Avi.
    Message was edited by:
    Avi Abrami

    Hi,
    Turned out to be a file permissions problem.
    The owner of another process -- not Oracle HTTP Server -- was trying to write log messages to a file it didn't have permission to write to.
    Once the owner was granted write permission to the log file, the problem disappeared.
    Thanks for all the help ;-)
    Good Luck,
    Avi.

  • "Error while accessing porting layer for ORACLE database via getSessionId()

    Hi,
    My ejb3.0 Entity is created from Emp table in scott/tiger schema of an Oracle 10g database. I am guessing I made some mistake creating the datasource or uploading the driver, because when I run my application, I get a long exception stack trace. The bottom-most entry in the stack trace is:
    Caused by: com.sap.sql.log.OpenSQLException: Error while accessing porting layer for ORACLE database via getSessionId().
         at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:148)
         at com.sap.sql.jdbc.direct.DirectConnectionFactory.createPooledConnection(DirectConnectionFactory.java:527)
         at com.sap.sql.jdbc.direct.DirectConnectionFactory.createDirectPooledConnection(DirectConnectionFactory.java:158)
         at com.sap.sql.jdbc.direct.DirectConnectionFactory.createDirectPooledConnection(DirectConnectionFactory.java:118)
         at com.sap.sql.connect.factory.PooledConnectionFactory.createPooledConnection(PooledConnectionFactory.java:119)
         at com.sap.sql.connect.factory.DriverPooledConnectionFactory.getPooledConnection(DriverPooledConnectionFactory.java:38)
         at com.sap.sql.connect.datasource.DBDataSourceImpl.createPooledConnection(DBDataSourceImpl.java:685)
         at com.sap.sql.connect.datasource.DBDataSourcePoolImpl.matchPool(DBDataSourcePoolImpl.java:1081)
         at com.sap.sql.connect.datasource.DBDataSourcePoolImpl.matchPooledConnection(DBDataSourcePoolImpl.java:919)
         at com.sap.sql.connect.datasource.DBDataSourcePoolImpl.getConnection(DBDataSourcePoolImpl.java:67)
         at com.sap.engine.core.database.impl.DatabaseDataSourceImpl.getConnection(DatabaseDataSourceImpl.java:36)
         at com.sap.engine.services.dbpool.spi.ManagedConnectionFactoryImpl.createManagedConnection(ManagedConnectionFactoryImpl.java:123)
         ... 90 more

    Actually, now (after the GRANT described in my reply before) the Exception has changed to:
    Caused by: com.sap.sql.log.OpenSQLException: Error while
    accessing porting layer for ORACLE database via
    <b>getDatabaseHost</b>().
         at com.sap.sql.log.Syslog.createAndLogOpenSQLException
    (Syslog.java:148)
         at com.sap.sql.jdbc.direct.DirectConnectionFactory.
    createPooledConnection(DirectConnectionFactory.java:527)
         at com.sap.sql.jdbc.direct.DirectConnectionFactory.
    createDirectPooledConnection(DirectConnectionFactory.java:158)
         at com.sap.sql.jdbc.direct.DirectConnectionFactory.
    createDirectPooledConnection(DirectConnectionFactory.java:118)
         at com.sap.sql.connect.factory.PooledConnectionFactory.
    createPooledConnection(PooledConnectionFactory.java:119)
         at com.sap.sql.connect.factory.DriverPooledConnectionFactory.
    getPooledConnection(DriverPooledConnectionFactory.java:38)
         at com.sap.sql.connect.datasource.DBDataSourceImpl.
    createPooledConnection(DBDataSourceImpl.java:685)
         at com.sap.sql.connect.datasource.DBDataSourcePoolImpl.
    matchPool(DBDataSourcePoolImpl.java:1081)
         at com.sap.sql.connect.datasource.DBDataSourcePoolImpl.
    matchPooledConnection(DBDataSourcePoolImpl.java:919)
         at com.sap.sql.connect.datasource.DBDataSourcePoolImpl.
    getConnection(DBDataSourcePoolImpl.java:67)
         at com.sap.engine.core.database.impl.DatabaseDataSourceImpl.
    getConnection(DatabaseDataSourceImpl.java:36)
         at com.sap.engine.services.dbpool.spi.
    ManagedConnectionFactoryImpl.createManagedConnection(ManagedConnectionFactoryImpl.java:123)
         ... 90 more

Maybe you are looking for

  • How to change name of AX in iTunes

    I changed the name of both of my AXs via Airport Utility, one named 'Living Room' and one named 'Shop', now when I open iTunes to stream AirTunes, they are both named as 'Living Room', so therefore I cannot select one of the AXs, since it thinks it's

  • ITunes becomes a white box

    For some reason, lately iTunes has become a white box at times. I don't know how better to describe it. It seems to happen when I am syncing with my iPhone. The entire iTunes window goes white, although I can still see the menus above (File, Edit, Co

  • How to move Idoc scenario's

    Hi, My client is moving from IBM server to HP's  SUPERDOM. Now I have to run certain Idoc- XI- File and File-XI- Idoc scenario's to the new server. I would like toi know what all configurations have to be done....

  • Illustrator crashes right after startup

    Yesterday I have bought Adobe CC, and installed Illustrator. After the initial installation, I have watched some " Whats new" video's, and every time I clicked Done/Finished, Illustrator crashed. It still does. I have browsed the forums, tried every

  • Route IDOC by Sending SNDPRN or SNDPOR without BPM

    I am running PI7.0 SP10.  ECC6.0 to 4.7. Unfortunately I do not have the new landscape I am waiting for different testing, although the testers are almost ready.. I am left with two sending systems, one XI system and two receiving systems. I would li