ConnectionException
Hi,
Iam having a small problem with my RMI prgm.
I have a client and server both of which are Remote Objects i.e, both of them implements Remote Interface.
Now when I run the application it works in one way say from Client to Server or from Server to Client.The other way it gives
Connection Exception ..Connection refused.......
If I do a lookup again it works perfectly..
Now what could be the problem?
thanks
cjose
Hi,
it seems to a security policy problem.. you might haven't set the security policy for either of the servers, which is refusing the connection from the other RMI program.. try giving the policy for both and it should work..
- Bibin
Similar Messages
-
Hi
I have installed coheI have installed coherence server "fmw_12.1.3.0.0_coherence_Disk1_1of1.zip" along with Examples on windows machine and C++ client coherence-cpp-12.1.3.0.0b51709-windows-x86-vs2012.zip on the same machine.
I have built the "contacts" C++ Example successfully and while I execute this "contacts" using run I am facing TcpAcceptor error.
On my coherence server the TcpAcceptor is listening on port 8088, so I have modified the extend-cache-config.xml file with values "ip address of my windows machine" and port as "8088".
All the time I am getting below error,
coherence::net::messaging::ConnectionException: could not establish a connection to one of the following addresses: {10.242.152.242/10.242.152.242:8088}; make sure the "remote-addresses" configuration element contains an address and port of a running TcpAcceptor
at class coherence::lang::TypedHandle<class coherence::component::net::extend::PofConnection> __thiscall coherence::component::util::TcpInitiator::openConne
ction(void)(TcpInitiator.cpp:307)
at coherence::component::util::TcpInitiator::openConnection
at coherence::component::util::Initiator::ensureConnection
at coherence::component::net::extend::RemoteCacheService::openChannel
at coherence::component::net::extend::RemoteService::doStart
at coherence::component::net::extend::RemoteService::start
at coherence::component::util::SafeService::startService
at coherence::component::util::SafeService::restartService
at coherence::component::util::SafeService::ensureRunningServiceInternal
at coherence::component::util::SafeService::start
at coherence::net::DefaultConfigurableCacheFactory::configureService
at coherence::net::DefaultConfigurableCacheFactory::ensureService
at coherence::net::DefaultConfigurableCacheFactory::ensureRemoteCache
at coherence::net::DefaultConfigurableCacheFactory::configureCache
at coherence::net::DefaultConfigurableCacheFactory::ensureCache
at coherence::net::CacheFactory::getCache
at unsigned __int64 coherence::lang::class_spec<class coherence::lang::Managed<class ContactId>,class coherence::lang::extends<class coherence::lang::Object,class coherence::lang::Void<class coherence::lang::Object> >,class coherence::lang::implements<void,void,void,void,void,void,void,void,void,void,void,void,void,void,void,void> >::sizeOf(bool)
at _onexit
at class coherence::util::Hashtable * coherence::lang::factory<class coherence::util::Hashtable>::create(void)
at class coherence::util::Hashtable * coherence::lang::factory<class coherence::util::Hashtable>::create(void)
at BaseThreadInitThunk
at RtlInitializeExceptionChain
at RtlInitializeExceptionChain
on thread "main"
Caused by: coherence::net::messaging::ConnectionException: coherence::component::util::TcpInitiator::TcpConnection@029EAD78{Id=NULL, Open=1, LocalAddress=NULL,
RemoteAddress=10.242.152.242/10.242.152.242:8088}: socket disconnect
at class coherence::lang::TypedHandle<class coherence::net::messaging::Response> __thiscall coherence::component::net::extend::AbstractPofRequest::Status::g
etResponse(void)(AbstractPofRequest.cpp:203)
at coherence::component::net::extend::AbstractPofRequest::Status::getResponse
at coherence::component::net::extend::AbstractPofRequest::Status::waitForResponse
at coherence::component::util::Initiator::openConnection
at coherence::component::net::extend::PofConnection::open
at coherence::component::util::TcpInitiator::openConnection
at coherence::component::util::Initiator::ensureConnection
at coherence::component::net::extend::RemoteCacheService::openChannel
at coherence::component::net::extend::RemoteService::doStart
at coherence::component::net::extend::RemoteService::start
at coherence::component::util::SafeService::startService
at coherence::component::util::SafeService::restartService
at coherence::component::util::SafeService::ensureRunningServiceInternal
at coherence::component::util::SafeService::start
at coherence::net::DefaultConfigurableCacheFactory::configureService
at coherence::net::DefaultConfigurableCacheFactory::ensureService
at coherence::net::DefaultConfigurableCacheFactory::ensureRemoteCache
at coherence::net::DefaultConfigurableCacheFactory::configureCache
at coherence::net::DefaultConfigurableCacheFactory::ensureCache
at coherence::net::CacheFactory::getCache
at unsigned __int64 coherence::lang::class_spec<class coherence::lang::Managed<class ContactId>,class coherence::lang::extends<class coherence::lang::Object
,class coherence::lang::Void<class coherence::lang::Object> >,class coherence::lang::implements<void,void,void,void,void,void,void,void,void,void,void,void,void
,void,void,void> >::sizeOf(bool)
at _onexit
at class coherence::util::Hashtable * coherence::lang::factory<class coherence::util::Hashtable>::create(void)
at class coherence::util::Hashtable * coherence::lang::factory<class coherence::util::Hashtable>::create(void)
at BaseThreadInitThunk
at RtlInitializeExceptionChain
at RtlInitializeExceptionChain
on thread "main"
Caused by: coherence::io::IOException: socket disconnect
at unsigned int __thiscall coherence::net::Socket::readInternal(unsigned char *,unsigned int)(Socket.cpp:333)
at coherence::net::Socket::readInternal
at coherence::net::Socket::SocketInput::read
at coherence::io::BufferedInputStream::fillBuffer
at coherence::io::BufferedInputStream::read
at coherence::component::util::TcpInitiator::readMessageLength
at coherence::component::util::TcpInitiator::TcpConnection::TcpReader::onNotify
at coherence::component::util::Daemon::run
at coherence::lang::Thread::run
on thread "ExtendTcpCacheService:coherence::component::util::TcpInitiator:coherence::component::util::TcpInitiator::TcpConnection::TcpReader"We are facing same issue. Could you please provide us any working .Net sample code for the version 12.1.2.0.
<ssl>
<protocol>Tls</protocol>
<local-certificates>
<certificate>
<url>c:\Cert\</url>
<password>password</password>
<flags>DefaultKeySet</flags>
</certificate>
</local-certificates>
</ssl>
thanks
Bala -
Hi,
When debugging our C++ app we often set Visual Studio 2012 to break on exception which we use to handle... well... exceptional circumstances. However, when connecting, Coherence always throws few (handled) exceptions such as below. Does anyone know a workaround?
Thank you!
Michal
First-chance exception at 0x000007FEFD73940D in cmd.exe: Microsoft C++ exception: coherence::lang::throwable_spec<coherence::net::messaging::ConnectionException,coherence::lang::extends<coherence::io::pof::PortableException,std::runtime_error>,coherence::lang::implements<void,void,void,void,void,void,void,void,void,void,void,void,void,void,void,void>,coherence::lang::throwable_spec<coherence::io::pof::PortableException,coherence::lang::extends<coherence::lang::RuntimeException,std::runtime_error>,coherence::lang::implements<coherence::io::pof::PortableObject,void,void,void,void,void,void,void,void,void,void,void,void,void,void,void>,coherence::lang::throwable_spec<coherence::lang::RuntimeException,coherence::lang::extends<coherence::lang::Exception,std::runtime_error>,coherence::lang::implements<void,void,void,void,void,void,void,void,void,void,void,void,void,void,void,void>,coherence::lang::throwable_spec<coherence::lang::Exception,coherence::lang::extends<coherence::lang::Object,std::exception>,coherence::lang::implements<void,void,void,void,void,void,void,void,void,void,void,void,void,void,void,void>,coherence::lang::TypedHandle<coherence::lang::Object const > >::hierarchy>::hierarchy>::hierarchy>::bridge at memory location 0x0000000000156108.
First-chance exception at 0x000007FEFD73940D in cmd.exe: Microsoft C++ exception: coherence::lang::throwable_spec<coherence::io::InterruptedIOException,coherence::lang::extends<coherence::io::IOException,std::ios_base::failure>,coherence::lang::implements<void,void,void,void,void,void,void,void,void,void,void,void,void,void,void,void>,coherence::lang::throwable_spec<coherence::io::IOException,coherence::lang::extends<coherence::lang::Exception,std::ios_base::failure>,coherence::lang::implements<void,void,void,void,void,void,void,void,void,void,void,void,void,void,void,void>,coherence::lang::throwable_spec<coherence::lang::Exception,coherence::lang::extends<coherence::lang::Object,std::exception>,coherence::lang::implements<void,void,void,void,void,void,void,void,void,void,void,void,void,void,void,void>,coherence::lang::TypedHandle<coherence::lang::Object const > >::hierarchy>::hierarchy>::bridge at memory location 0x00000000062CED88.JM140 wrote:
Hello,
when I delete an email, it deletes from all of my devices and none of hers (i have an iPad, macbook, and iPhone)
when she deletes an email it deletes from all of hers and none of mine. (she has an iPhone and macbook)
So its kind of like a POP3 server splitting to two separate IMAP servers; my wife's and mine.
Any ideas everyone?
Nope, its a POP server acting like a pop server where the settings on each device have it so email is left on the server and only deleted from the devices.
This means all devices can download the email from the server, but its never really removed from the server, only from the devices upon deletion, unless one of the devices is set to have it deleted from the server when its deleted from the device.
Basically, what you want is not possible, as you want an IMAP functionality on only specific devices. IMAP is designed to sync actions across all devices using the account. Because basically what happens is actions take place on the server, and then trickle down to the devices.
On POP accounts its the opposite. Actions take place on the Devices and then if configured as such may move up to the server. -
Is it possible to catch ConnectionException in PublishingCacheStore
Hi All,
We are using 3 clusters of coherence; where data flow is always one way, i.e Master Cache writes to 2 other redundant caches (these caches are read only.. No writes are expected in these things). We are using PublishingCacheStore along with EventDistribution pattern.
We have written our own CacheStore which extends PublishingCacheStore (of Push Replication Pattern). Everything works fine. In case of failover, i.e. if there is a connectionException to remote cluster we are not able to catch that exception. However we could see the exception in the system console.
Please let me know if anyone has any idea how to do it.
CacheStore Implementation:
==================
@Override
public void store(BinaryEntry entry) {
if(logger.isDebugEnabled()) logger.debug("Entry >> store entry "+entry+" for channelName "+channelName+" & cacheName "+cacheName);
try {
super.store(entry);
}catch (ConnectionException e) {
logger.error("ConnectionException occured while store (replicating) the data to channelName "+channelName+" for cacheName "+cacheName,e);
//Some business logic needs to be added on Exception
//Throwing back the exception to make sure that the replicated failure data is requeued again.
throw new RuntimeException(e);
catch (Exception e) {
logger.error("Exception occured while store (replicating) the data to channelName "+channelName+" for cacheName "+cacheName,e);
//Some business logic needs to be added on Exception
//Throwing back the exception to make sure that the replicated failure data is requeued again.
throw new RuntimeException(e);
Coherence cache Config.xml
=================
<cache-mapping>
<cache-name>TEST</cache-name>
<scheme-name>CacheDB</scheme-name>
<event:distributor>
<event:distributor-name>{cache-name}</event:distributor-name>
<event:distributor-external-name>{site-name}-{cluster-name}-{cache-name}</event:distributor-external-name>
<event:distributor-scheme>
<event:coherence-based-distributor-scheme />
</event:distributor-scheme>
<event:distribution-channels>
<event:distribution-channel>
<event:channel-name>Active Publisher 1</event:channel-name>
<event:starting-mode system-property="channel.starting.mode">enabled</event:starting-mode>
<event:restart-delay>12000</event:restart-delay>
<event:channel-scheme>
<event:remote-cluster-channel-scheme>
<event:remote-invocation-service-name>remote-site1</event:remote-invocation-service-name>
<event:remote-channel-scheme>
<event:local-cache-channel-scheme>
<event:target-cache-name>TEST</event:target-cache-name>
</event:local-cache-channel-scheme>
</event:remote-channel-scheme>
</event:remote-cluster-channel-scheme>
</event:channel-scheme>
</event:distribution-channel>
<event:distribution-channel>
<event:channel-name>Active Publisher 2</event:channel-name>
<event:starting-mode system-property="channel.starting.mode">enabled</event:starting-mode>
<event:restart-delay>12000</event:restart-delay>
<event:channel-scheme>
<event:remote-cluster-channel-scheme>
<event:remote-invocation-service-name>remote-site2</event:remote-invocation-service-name>
<event:remote-channel-scheme>
<event:local-cache-channel-scheme>
<event:target-cache-name>TEST</event:target-cache-name>
</event:local-cache-channel-scheme>
</event:remote-channel-scheme>
</event:remote-cluster-channel-scheme>
</event:channel-scheme>
</event:distribution-channel>
</event:distribution-channels>
</event:distributor>
</cache-mapping>
</caching-scheme-mapping>
<!--
The following scheme is required for each remote-site when using a
RemoteInvocationPublisher
-->
<remote-invocation-scheme>
<service-name>remote-site1</service-name>
<initiator-config>
<tcp-initiator>
<remote-addresses>
<socket-address>
<address>localhost</address>
<port>20001</port>
</socket-address>
</remote-addresses>
<connect-timeout>2s</connect-timeout>
</tcp-initiator>
<outgoing-message-handler>
<request-timeout>5s</request-timeout>
</outgoing-message-handler>
</initiator-config>
</remote-invocation-scheme>
<remote-invocation-scheme>
<service-name>remote-site2</service-name>
<initiator-config>
<tcp-initiator>
<remote-addresses>
<socket-address>
<address>localhost</address>
<port>20002</port>
</socket-address>
</remote-addresses>
<connect-timeout>2s</connect-timeout>
</tcp-initiator>
<outgoing-message-handler>
<request-timeout>5s</request-timeout>
</outgoing-message-handler>
</initiator-config>
</remote-invocation-scheme>
<distributed-scheme>
<scheme-name>UserCacheDB</scheme-name>
<service-name>DistributedCache</service-name>
<serializer>
<class-name>com.tangosol.io.pof.ConfigurablePofContext</class-name>
<init-params>
<init-param>
<param-type>String</param-type>
<param-value>pof-config.xml</param-value>
</init-param>
</init-params>
</serializer>
<backing-map-scheme>
<read-write-backing-map-scheme>
<internal-cache-scheme>
<local-scheme>
</local-scheme>
</internal-cache-scheme>
<cachestore-scheme>
<class-scheme>
<class-name>au.com.vha.cpg.cachestore.publishing.CPGPublishingCacheStore</class-name>
<init-params>
<init-param>
<param-type>java.lang.String</param-type>
<param-value>{cache-name}</param-value>
</init-param>
<init-param>
<param-type>java.lang.String</param-type>
<param-value>TEST</param-value>
</init-param>
</init-params>
</class-scheme>
</cachestore-scheme>
</read-write-backing-map-scheme>
</backing-map-scheme>
<listener />
<autostart>true</autostart>
</distributed-scheme>Hi,
As it's possible many things could fail - eg: one site may fail but the other may still remain working - it's best to let the PublishingCacheStore do it's own recovery. If you'd like to additionally use a CacheStore with Push Replication you can configure a separate Event Channel for the CacheStore using a CacheStore Event Channel.
The configuration options are here:
http://tinyurl.com/aporpcx
The source code (for a test) is available here:
http://tinyurl.com/axse83s
-- Brian
Brian Oliver | Architect | Oracle Coherence -
ConnectionException: Name space accessor for the java: name space has not b
Hi,
While running JUnti test cases I am getting the following. Can anyone help?
com.deere.u90.iaf.jdbc.connection.ConnectionException: Name space accessor for the java: name space has not been set. Possible cause is that the user is specifying a java: URL name in a JNDI Context method call but is not running in a J2EE client or server environment.
IAF JDBC Connection Management Framework exception in JNDI lookup of DataSource.
Source of configuration data = C:\starteam\JDPS - Software Delivery system\3123_CanDB\sds\WebContent\WEB-INF\classes\config\SDSConnectionManagerLocal.properties
Dynamic Properties = false
Property Name Suffix = SDS
Connection Pooling Enabled = true
JNDI Provider URL = corbaloc:iiop:wpuds90700.jdnet.deere.com:2811
DataSource Name = java:comp/env/jdbc/SDSDEVLDataSource
at com.deere.u90.iaf.jdbc.connection.ConnectionManager.initializeEnvironment(ConnectionManager.java:282)
at com.deere.u90.iaf.jdbc.connection.ConnectionManager.<init>(ConnectionManager.java:224)
at sds.view.intranet.servlets.SDSGenericServlet.getConnectionManager(SDSGenericServlet.java:192)
at junittest.ProgrammedECUAddComponentTest.setUp(ProgrammedECUAddComponentTest.java:75)
at junit.framework.TestCase.runBare(TestCase.java:125)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:392)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:276)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:167)
Thanks in advance,
DhirI also get the same problem, this is very tedious but if you edit the song somehow and re-save it then it will copy. Not sure what the problem is at all, tried contacting Apple about this to no avail.
-
Troubles with ConnectionException
Hi,
I have got some errors after executing my code :
try{
SimpleConnectionFactory scf = new SimpleConnectionFactory();
ConnectionAccessor connection = scf.getInstance(server);
catch (Exception e)
e.printStackTrace();
there is my exception:
com.sap.mdm.net.ConnectionException: Unable to create new connection.
at com.sap.mdm.internal.net.SimpleConnectionImpl.<init>(SimpleConnectionImpl.java:50)
at com.sap.mdm.internal.net.SimpleConnectionImpl.<init>(SimpleConnectionImpl.java:37)
at com.sap.mdm.net.SimpleConnectionFactory.getInstance(SimpleConnectionFactory.java:77)
at com.sap.mdm.net.SimpleConnectionFactory.getInstance(SimpleConnectionFactory.java:50)
at app.ConnectMdm.main(ConnectMdm.java:298)
Caused by: java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(Unknown Source)
at java.io.DataInputStream.read(Unknown Source)
at com.sap.mdm.internal.net.DataSocket.read(DataSocket.java:139)
at com.sap.mdm.internal.net.DataSocket.receiveData(DataSocket.java:57)
at com.sap.mdm.internal.net.DataSocket.receiveDataWithTempTimeout(DataSocket.java:76)
at com.sap.mdm.internal.net.ConnectionImpl.readInt(ConnectionImpl.java:495)
at com.sap.mdm.internal.net.ConnectionImpl.initConnection(ConnectionImpl.java:437)
at com.sap.mdm.internal.net.SimpleConnectionImpl.<init>(SimpleConnectionImpl.java:45)
and after executing code , using ConnectionPoolFactory.getInstance(server) (in another code) a had this exception:
com.sap.mdm.net.ConnectionException: Could not open minimum connections.
at com.sap.mdm.internal.net.ConnectionPoolBase.initialize(ConnectionPoolBase.java:136)
at com.sap.mdm.net.ConnectionPoolFactory.createInstance(ConnectionPoolFactory.java:214)
at com.sap.mdm.net.ConnectionPoolFactory.getInstance(ConnectionPoolFactory.java:109)
at com.sap.mdm.net.ConnectionPoolFactory.getInstance(ConnectionPoolFactory.java:84)
at app.ConnectMdm.getPool(ConnectMdm.java:97)
at app.ConnectMdm.main(ConnectMdm.java:303)
Caused by: java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(Unknown Source)
at java.io.DataInputStream.read(Unknown Source)
at com.sap.mdm.internal.net.DataSocket.read(DataSocket.java:139)
at com.sap.mdm.internal.net.DataSocket.receiveData(DataSocket.java:57)
at com.sap.mdm.internal.net.DataSocket.receiveDataWithTempTimeout(DataSocket.java:76)
at com.sap.mdm.internal.net.ConnectionImpl.readInt(ConnectionImpl.java:495)
at com.sap.mdm.internal.net.ConnectionImpl.initConnection(ConnectionImpl.java:437)
at com.sap.mdm.internal.net.ConnectionPoolBase.createConnection(ConnectionPoolBase.java:401)
at com.sap.mdm.internal.net.ConnectionPoolBase.initialize(ConnectionPoolBase.java:128)
Even more it's interesting that if i run my java application on another locale machine - everything allright.
Also after rebooting MDM server (rebooting of Operation System) everything allright.
and i also tried to connect via telnet to MDM server from my machine - it was connect successfully.
that's all what i investigate...
Please, help me !Hi,
I have got some errors after executing my code :
try{
SimpleConnectionFactory scf = new SimpleConnectionFactory();
ConnectionAccessor connection = scf.getInstance(server);
catch (Exception e)
e.printStackTrace();
there is my exception:
com.sap.mdm.net.ConnectionException: Unable to create new connection.
at com.sap.mdm.internal.net.SimpleConnectionImpl.<init>(SimpleConnectionImpl.java:50)
at com.sap.mdm.internal.net.SimpleConnectionImpl.<init>(SimpleConnectionImpl.java:37)
at com.sap.mdm.net.SimpleConnectionFactory.getInstance(SimpleConnectionFactory.java:77)
at com.sap.mdm.net.SimpleConnectionFactory.getInstance(SimpleConnectionFactory.java:50)
at app.ConnectMdm.main(ConnectMdm.java:298)
Caused by: java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(Unknown Source)
at java.io.DataInputStream.read(Unknown Source)
at com.sap.mdm.internal.net.DataSocket.read(DataSocket.java:139)
at com.sap.mdm.internal.net.DataSocket.receiveData(DataSocket.java:57)
at com.sap.mdm.internal.net.DataSocket.receiveDataWithTempTimeout(DataSocket.java:76)
at com.sap.mdm.internal.net.ConnectionImpl.readInt(ConnectionImpl.java:495)
at com.sap.mdm.internal.net.ConnectionImpl.initConnection(ConnectionImpl.java:437)
at com.sap.mdm.internal.net.SimpleConnectionImpl.<init>(SimpleConnectionImpl.java:45)
Edited by: metro3x on Mar 24, 2010 10:15 AM
Edited by: metro3x on Mar 24, 2010 10:20 AM -
Javax.naming.PartialResultException (ConnectionException) problem with MSAD
Hi,
I have BPM 10gR3 installation connected to Microsoft Active Directory (both on the same VMWare host) and get the following intermittent errors being reported.
"Exception [javax.naming.PartialResultException [Root exception is javax.naming.CommunicationException: migrations.com.au:389
\[Root exception is java.net.ConnectException: connect: Address is invalid on local machine, or port is not valid on remote machine\]]]"
Has anyone run into this problem before or know of a fix?
I've trolled through some other forums and have found other applications reporting similar problems. I think this has something to do with my AD or DNS settings.
It's intermittent because I'm able to run my project from time to time but when it hits this condition the engine reports unexpected error has occurred (during an interaction with an instance) or when attempting to login. When things are working I'm able to access the User/participant information. I've created my AD users in an Org Unit called "al" and the users are not listed in the default Users container.
TPLooks like it was a problem with DNS. Built the DNS (and used it) server first and then AD separately (pointing to this DNS) instead of allowing Win 2K3 Server to build AD and DNS the same time.
TP -
URGENT Servlet with RMI ConnectionException
i have an object with two personalities: Servlet and RMI.
However when i invoke it using the web browser, the following exceptions pop out:
<!--
java.rmi.ConnectException: Connection refused to host: 172.20.134.24; nested exc
eption is:
java.net.ConnectException: Connection refused: connect
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:567)
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:313)
at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source)
at IncomingSMSController.init(IncomingSMSController.java:43)
at IncomingSMSController.init(IncomingSMSController.java:35)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.
java:916)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.jav
-->
the way i code my program is as follow:
<!--
protected void init()throws ServletException{
try{
System.out.println("\n<<IN>>");
Registry reg=LocateRegistry.getRegistry();
System.out.println("\n<<"+reg+">>");
reg.rebind("ControllerInterface",this);
bound=true;
System.out.println("Server now bound to IncomingSMSController");
}catch(Exception e){
System.out.println("Error binding");
e.printStackTrace();
public static void main(String[] args)throws RemoteException,ServletException{
Controller con=new Controller();
con.init();
-->
Anyone please help thanks. i have been asking this question here for many time and no one reply may i know at least why?
thanks.Hi,
I see the java doc of LocateRegsitry and you can read :
LocateRegistry is used to obtain a reference to a bootstrap remote object registry on a particular host (including the local host), or
to create a remote object registry that accepts calls on a specific port.
Note that a getRegistry call does not actually make a
connection to the remote host. It simply creates a local reference to
the remote registry and will succeed even if no registry is running on
the remote host. Therefore, a subsequent method invocation to a remote
registry returned as a result of this method may fail.
So may be the exception, throw when you call rebind, is due to non active registry in local machine. You can try to execute your servlet
after activate your registry via LocateRegistry.createRegistry(int port)
Hope this help -
Hi,
I am new to Endeca. We have an Endeca DEV server, MDEX 6.4.1. Forge is running fine. I am able to connect to the Orange App and getting the products. http://devmachine:8006/endeca_jspref/controller.jsp (with servername and Port: 15001)
Even tried to connect to get an existing record GetProduct("256782") and still getting the same 404 error. "{"Error reading from the connection.The remote server returned an error: (404) Not Found."}". I could not get why it could not connect to the Server.
Please find below the sample code in C#, I am using to connect and get the records. I tried Web Service approach an could connect too but did not have a cle on how to implement the typeahead with web services. Please find sample code below. It would be great if someone can assist me.
===============
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;
using Endeca.Data;
using Endeca.Data.Provider.PresentationApi;
using Endeca.Web;
using Endeca.Web.Url;
using System.Web;
using Endeca.Navigation;
using Endeca.Data.Content.Navigation;
using System.Xml.XPath;
using GroceryNav;
using System.Collections;
//using Endeca.EndecaMdex;
//using Endeca.EndecaDBT;
namespace Endeca
class Program
public const string ServerName = "devmachine";
static void Main(string[] args)
string sSearchTerm = string.Empty;
//EndecaNavDTO objEndecaNav = new EndecaNavDTO();
PresentationApiConnection objConnection = new PresentationApiConnection(ServerName, 15001);
//PresentationApiConnection objConnection = new PresentationApiConnection("localhost", 15000);
ArrayList arr = SearchTypeAhead("wine");
//var record = GetProduct("250000068");
public static ArrayList SearchTypeAhead(string q)
ArrayList objResultArray = new ArrayList();
CompoundDimensionSearchResult objResult = PerformCompoundDimensionSearch(q);
foreach (DimensionValueCollection objDimValCollection in objResult.CompoundDimensionValues)
for (int iCount = 0; iCount < objDimValCollection.Count; iCount++)
Endeca.Data.DimensionValue dval = objDimValCollection[iCount];
var vtypeaheadResult = new
text = dval.DisplayName,
urlParams = dval.DisplayName
objResultArray.Add(vtypeaheadResult);
return objResultArray;
public static CompoundDimensionSearchResult PerformCompoundDimensionSearch(string sQuery)
PresentationApiConnection objConnection = new PresentationApiConnection(ServerName, 15001);
CompoundDimensionSearchCommand objDimensionSearch = new CompoundDimensionSearchCommand(objConnection);
objDimensionSearch.DimensionValuesPerDimension = 4;
objDimensionSearch.SearchTerms = sQuery + "*";
CompoundDimensionSearchResult objDimSearchResult = objDimensionSearch.Execute();
return objDimSearchResult;
public static Record GetProduct(string sProductKey)
PresentationApiConnection objConnection = new PresentationApiConnection(ServerName, 15001);
//Instantiate record details command, we need it to generate SEO Urls for records
RecordDetailsCommand recCmd = new RecordDetailsCommand(objConnection);
recCmd.ID = "rec";
recCmd.Identifier = sProductKey;
Record objRecord = recCmd.Execute();
return objRecord;Yes, I have the same problem. Don't know what the problem is. I think it has got something to do with your ethernet connection. Also when I change the network type from network bridge to NAT the error message change to the first numbers of my IP. And when I disable the network connection I get the MAC id.
-
ConnectionException in Admin Server
Hi,
I'm getting a ConnectException after starting up my Admin Server (java.net.ConnectException: Connection refused: no further information) - it's apparently trying to connect to the other instances in its domain, although they are not running. I would have thought that it should only do this if I state -Dweblogic.management.discover=true?
The exceptions continue until all the servers in the domain are started. Anyone else seen this and have ideas how to stop it?
Thanks,
PaulMaybe its not able to find the jvm.dll, hence this error is thrown.
Please edit your server.xml kept in <install-root>/proxy-admserv/config and check the <javahome>.
You have two options -
1. Uninstall your PS, and reinstall it with the jdk bundled with the Proxy Server installation.
2. Install JDK and edit the server.xml to point <javahome> to your JDK location, instead of jre. -
Unable to deploy, rmi ConnectionException
Hi all,
We had a server with one cluster, 3 managed servers. Yesterday I split those managed servers into two clusters. The second server needed some extra things like a JMS-server. Now when I want to deploy our application I get the following message during transition from state NEW to PREPARED :
####<Oct 12, 2007 9:37:40 AM CEST> <Error> <Deployer> <someurl.com> <sv_managed_02> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.De
fault (self-tuning)'> <<WLS Kernel>> <> <> <1192174660487> <BEA-149205> <Failed
to initialize the application 'WEBAPP_NAME' due to error java.rmi.ConnectException:
Destination unreachable; nested exception is:
java.net.ConnectException: Connection refused; No available router to de
stination.
java.rmi.ConnectException: Destination unreachable; nested exception is:
java.net.ConnectException: Connection refused; No available router to destination
at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:465)
at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:316)
at weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(RJVMManager.java:255)
at weblogic.rjvm.RJVMManager.findOrCreate(RJVMManager.java:199)
at weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(RJVMFinder.java:220)
at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:187)
at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:137)
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:331)
at weblogic.jndi.Environment.getContext(Environment.java:263)
at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:117)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
at javax.naming.InitialContext.init(InitialContext.java:223)
at javax.naming.InitialContext.<init>(InitialContext.java:175)
at weblogic.deployment.BaseEnvironmentBuilder.findObject(BaseEnvironmentBuilder.java:194)
at weblogic.deployment.BaseEnvironmentBuilder.findObjectOrCreateLinkRef(BaseEnvironmentBuilder.java:224)
at weblogic.deployment.BaseEnvironmentBuilder.addUserTransaction(BaseEnvironmentBuilder.java:283)
at weblogic.deployment.BaseEnvironmentBuilder.<init>(BaseEnvironmentBuilder.java:128)
at weblogic.deployment.BaseEnvironmentBuilder.<init>(BaseEnvironmentBuilder.java:147)
at weblogic.deployment.EnvironmentBuilder.<init>(EnvironmentBuilder.java:49)
at weblogic.servlet.internal.CompEnv.<init>(CompEnv.java:82)
at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:362)
Any ideas what could be causing this exception? What happens during the NEW > PREPARED state? Why is it connecting to something?
Maybe it has something to do with the JMS server? The cluster has two managed servers, one hosts the JMS Server and the persistance store. The queues of this JMS Server are targetted at the cluster. Is this the correct way to do this?Julio,
Thank you for providing the version numbers. It really helps!
When running Reports from Forms using RUN_PRODUCT, if the DESTYPE of the reports is Screen or Preview, three registry variables need to be setup/checked:
(in HKEY_LOCAL_MACHINE\Software\Oracle)
FORMS60_MAPPING = /dev60temp/
FORMS60_OUTPUT = c:\orant\tools\web60\temp
FORMS60_REPFORMAT = HTML
The /dev60temp/ virtual directory should be mapped to the physical directory c:\orant\tools\web60\temp in the HTTPD.CONF file (Apache configuration) or in 6iserver.conf (which is read into httpd.conf).
If everything checks and the error doesn't go away, change the COMMMODE argument of the RUN_PRODUCT built-in.
I don't remember which one, but either SYNCHRONOUS or ASYNCHRONOUS could be responsible for that behavior.
When you have the time, consider changing the RUN_PRODUCT calls to RUN_REPORT_OBJECT calls, which are more reliable. If you plan to use a Reports Server, you can choose between RUN_REPORT_OBJECT and WEB.SHOW_DOCUMENT to call reports from Forms. There are papers in OTN that explain the differences of these methods.
Hope this helps,
Pedro das Neves
([email protected]) -
Problem while deploying a webdynpro java application in NWDS 7.1 version
HI All,
I got the below error when i deploying the webdynpro java application in NWDS 7.1 version..help me out...........................................
Exception:
com.sap.ide.eclipse.deployer.api.APIException: ConnectionException,cause=[Ecc]
NameNotFoundException.The SAP J2EE ENGINE service 'tcbldeploy_controller' is not available
because of deployment or down engine( service ).
Reason: Object not found in lookup of
tcbldeploy_controller.
at
com.sap.ide.eclipse.deployer.dc.ComponentManagerImpl.getDeployProcessor(ComponentManagerImpl
.java:64)
at com.sap.ide.eclipse.sdm.threading.DCDeployThread.run(DCDeployThread.java:118)
Caused by: com.sap.engine.services.dc.api.ConnectionException: [ERROR CODE DPL.DCAPI.1118]
NameNotFoundException.The SAP J2EE ENGINE service 'tcbldeploy_controller' is not available
because of deployment or down engine( service ).
Reason: Object not found in lookup of
tcbldeploy_controller.
at
com.sap.engine.services.dc.api.session.impl.SessionImpl.createCM(SessionImpl.java:320)
at
com.sap.engine.services.dc.api.deploy.impl.DeployProcessorImpl.<init>(DeployProcessorImpl.ja
va:136)
at
com.sap.engine.services.dc.api.deploy.impl.DeployProcessorFactoryImpl.createDeployProcessor(
DeployProcessorFactoryImpl.java:26)
at
com.sap.engine.services.dc.api.impl.ComponentManagerImpl.getDeployProcessor(ComponentManager
Impl.java:46)
at
com.sap.ide.eclipse.deployer.dc.ComponentManagerImpl.getDeployProcessor(ComponentManagerImpl
.java:58)
... 1 more
Caused by: com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Object
not found in lookup of tcbldeploy_controller.
at
com.sap.engine.services.jndi.implserver.ServerContextImpl.lookup(ServerContextImpl.java:649)
at
com.sap.engine.services.jndi.implserver.ServerContextRedirectableImpl.lookup(ServerContextRe
directableImpl.java:80)
at
com.sap.engine.services.jndi.implserver.ServerContextImplp4_Skel.dispatch(ServerContextImplp
4_Skel.java:555)
at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:319)
at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:200)
at
com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:136
at
com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.pro
cess(ApplicationSessionMessageListener.java:33)
at
com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)First check is Java stack is running ?
make sure J2EE_ADMIN user not locked.
Ans please check password in secure area. check password in secure store should be correct.
may be you can try with restart of SAP and DB.
All the best
regards
nag -
Error while running a java webservice
Hi All,
I have a java project which uses MDM Java API's added as External jars. I had exposed this Java class as a webserivce, now when i run the webservice thru webservice navigtor i get the below error.
The same runs fine with java, this problem is only with webservice
An error has occurred. Maybe the request is not accepted by the server:
com.sap.mdm.server.RepositoryIdentifier
Response:
SOAP-ENV:Body><SOAP-ENV:Fault><faultcode>SOAP-ENV:Server</faultcode><faultstring>com.sap.mdm.server.RepositoryIdentifier</faultstring><detail><ns1:java.lang.NoClassDefFoundError xmlns:ns1='http://sap-j2ee-engine/error'>com.sap.mdm.server.RepositoryIdentifier</ns1:java.lang.NoClassDefFoundError></detail></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>
MyJava Class
public String GetConnectionDetails(String args){
//Create Connection
try {
connections = ConnectionPoolFactory.getInstance(serverName);
RepositoryIdentifier reposId = new RepositoryIdentifier(repositoryName,dbmsName,DBMSType.ORACLE);
GetRepositoryRegionListCommand regionListCmd = new GetRepositoryRegionListCommand(connections);
}catch (ConnectionException e) {
e.printStackTrace();
//commented remainig code
Any one please hellpHi,
I think the problem lies in the MDM-JAVA-API, as you are receiving a NoClassDefFoundError. I've seen a similar problem where the error was solved by deploying a newer Java API. Maybe the following documentation can be helpful:
http://help.sap.com/saphelp_nwmdm71/helpdata/en/61/a65ad5dfe74524984c8f46f733efeb/content.htm
Regards,
Désiré -
External Data Refresh failed - Unable to refresh list data in Excel Web Access WebPart
Hi,
I have created a PivotChart in Excel workbook that fetches data from a SharePoint list using "OData Data Feed". When refreshing the connection in Excel 2013, the updated data is displayed in PivotChart. But when i upload the same to a SharePoint
Library and refresh it through Excel Web Access WebPart, it throws an error.
After configuring PowerPivot for SharePoint, i am getting a "We cannot locate a server to load the Data Model" error.
Note -
SQL Analysis Service(PowerPivot) is in running state.
PowerPivot Server has been under Data Model in Excel Service setting.
The library location is added in trusted zone.
Using secure store didn't fix the issue.
Stack Exception
SSPM: Initialization failed on server : Microsoft.AnalysisServices.ConnectionException: A connection cannot be made. Ensure that the server is running. ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively
refused it 127.0.0.1:2383
at System.Net.Sockets.TcpClient..ctor(String hostname, Int32 port)
at Microsoft.AnalysisServices.XmlaClient.GetTcpClient(ConnectionInfo connectionInfo) --- End of inner exception stack trace ---
at Microsoft.AnalysisServices.XmlaClient.GetTcpClient(ConnectionInfo connectionInfo)
at Microsoft.AnalysisServices.XmlaClient.OpenTcpConnection(ConnectionInfo connectionInfo)
at Microsoft.AnalysisServices.XmlaClient.OpenConnection(ConnectionInfo connectionInfo, Boolean& isSessionTokenNeeded)
at Microsoft.AnalysisServices.XmlaClient.Connect(ConnectionInfo connectionInfo, Boolean beginSession)
at Microsoft.AnalysisServices.Server.Connect(String connectionString, String sessionId, ObjectExpansion expansionType)
at Microsoft.AnalysisServices.Streaming.OnPremise.Server.Connect(Nullable`1 ctx, Boolean schedulePingTaskOnFailure)
at Microsoft.AnalysisServices.Streaming.OnPremise.Server.Initialize(Guid serviceId, CancellationToken ctx)
at Microsoft.AnalysisServices.Streaming.OnPremise.Tasks.InitializationTask.Run(CancellationToken ctx)
Check Server Version (ServerName\POWERPIVOT): Fail (Expected:
=11.0.2800.0, Actual: 11.0.2100.60).
--> Check Deployment Mode (ServerName\POWERPIVOT): Pass.
Monitorable Check Server Configuration (ServerName\POWERPIVOT): Fail (Uninitialized, ConfigurationError, WrongVersion).
SSPM: Initialization failed on server ServerName\POWERPIVOT: Microsoft.AnalysisServices.Streaming.ServerConfigurationException: Server ServerName\POWERPIVOT failed configuration checks (Status = Uninitialized, ConfigurationError, WrongVersion).
at Microsoft.AnalysisServices.Streaming.OnPremise.Server.AssertServerConfiguration(Server amoServer, CancellationToken ctx) at Microsoft.AnalysisServices.Streaming.OnPremise.Server.Initialize(Guid serviceId, CancellationToken ctx) at Microsoft.AnalysisServices.Streaming.OnPremise.Tasks.InitializationTask.Run(CancellationToken
ctx)
Thanks,
Thomas MathewHi,
For your issue, the possible reason is that the SharePoint environment does not have a PowerPivot for SharePoint server, or the SQL Server Analysis Services (PowerPivot) service is stopped.
Install PowerPivot for SharePoint or move the PowerPivot workbook to a SharePoint environment that has PowerPivot for SharePoint installed.
If the software is installed, verify that the SQL Server Analysis Services (PowerPivot) instance is running. Check Manage services on server in Central Administration. Also check the Services console application in Administrative Tools.
Refer to the following link:
http://msdn.microsoft.com/en-us/library/ff487858.aspx
Besides, here is a similar post, you can use as a reference:
https://social.technet.microsoft.com/Forums/en-US/2e728b3e-6d3d-497b-b0ce-57f2699710e5/access-was-denied-by-the-external-data-source-the-following-connections-failed-to?forum=sharepointadminprevious
Best Regards,
Lisa Chen
Lisa Chen
TechNet Community Support -
Cannot deploy "Hello World" application using SAP NW CE 7.1
Hello,
I am having problems deploying a simple application to NW CE 7.1 (Welcome application
from NWDS tutorial).
I try to deploy from the NWDS. When I am executing "Deploy new archive
and run" I am asked for user and password.
According to the documentation I give following credentials:
SAP NetWeaver Application Server (e.g. for deploying applications)
username: Administrator
password: <your master password>
However after typing that I get immediate error in NWDS.
ConnectionException,cause=[ERROR CODE DPL.DCAPI.1144] NamingException.Cannot get initial context.Reason: Exception during getInitialContext operation. Cannot establish connection to the remote server.
Then the browser opens with following URL: http://localhost:50100/webdynpro/dispatcher/local/Welcome/WelcomeAPP?SAPtestId=38 and the following stack trace is shown.
"Application error occurred during the request procession."
Details: com.sap.tc.webdynpro.services.sal.core.DispatcherException: The requested deployable object 'local/Welcome' is not deployed on the server. Please check the used URL for typos.
at com.sap.tc.webdynpro.clientserver.task.Task.getDeployableObject(Task.java:364)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.initApplicationDeployableObjectPart(RequestManager.java:539)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.initTask(RequestManager.java:477)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doInitWdEnvironment(RequestManager.java:150)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:205)
at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.delegateToRequestManager(AbstractExecutionContextDispatcher.java:205)
at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.DispatchHandlerForRequestManager.doService(DispatchHandlerForRequestManager.java:38)
at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.AbstractDispatchHandler.service(AbstractDispatchHandler.java:116)
at com.sap.engine.services.servlets_jsp.server.deploy.impl.module.IRequestDispatcherImpl.dispatch(IRequestDispatcherImpl.java:93)
at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.ExecutionContextDispatcher.dispatchToRequestManager(ExecutionContextDispatcher.java:140)
at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.dispatch(AbstractExecutionContextDispatcher.java:93)
at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.dispatch(AbstractExecutionContextDispatcher.java:105)
at com.sap.tc.webdynpro.serverimpl.core.AbstractDispatcherServlet.doContent(AbstractDispatcherServlet.java:87)
at com.sap.tc.webdynpro.serverimpl.core.AbstractDispatcherServlet.doGet(AbstractDispatcherServlet.java:54)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:66)
at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:32)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:431)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:289)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:376)
at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:85)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:160)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:67)
at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)
at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)
at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)
at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:309)
at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.run(Processor.java:222)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:152)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:247)
Caused by: com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to create deployable object 'local/Welcome' since it is not a Web Dynpro object.
at com.sap.tc.webdynpro.serverimpl.wdc.deployment.DeployableObjectFactory.getDeployableObject(DeployableObjectFactory.java:87)
at com.sap.tc.webdynpro.services.sal.deployment.core.DeployableObjectInternal.getDeployableObjectInternal(DeployableObjectInternal.java:37)
at com.sap.tc.webdynpro.clientserver.task.Task.getDeployableObject(Task.java:362)
... 43 more
Caused by: com.sap.tc.webdynpro.spi.WebDynproRuntimeException: No Web Dynpro application (deployable object) with name local/Welcome exists.
at com.sap.engine.services.webdynpro.WebDynproRuntimeServiceImpl.getDeployableObject(WebDynproRuntimeServiceImpl.java:254)
at com.sap.tc.webdynpro.serverimpl.wdc.deployment.DeployableObjectFactory.getDeployableObject(DeployableObjectFactory.java:85)
... 45 more
Please help.
Best regards.
PawełHi!
For some reason, I am not able to deploy my application again (although it worked for a couple of weeks now)....
The error is:
com.sap.ide.eclipse.deployer.api.APIException: ConnectionException,cause=[ERROR CODE DPL.DCAPI.1144] NamingException.Cannot get initial context.
Reason: Exception while trying to get InitialContext.
at com.sap.ide.eclipse.deployer.dc.DCClientImpl.<init>(DCClientImpl.java:70)
at com.sap.ide.eclipse.deployer.dc.DCClientFactoryImpl.createClient(DCClientFactoryImpl.java:142)
at com.sap.ide.eclipse.deployer.DeployerPlugin.getClient(DeployerPlugin.java:195)
at com.sap.ide.eclipse.sdm.threading.DeployThreadManager.deploy(DeployThreadManager.java:359)
at com.sap.ide.eclipse.sdm.SDMManager.deployArchives(SDMManager.java:149)
at com.sap.ide.j2ee.wtpserver.engineadapter.SapDeployer.deployArchives(SapDeployer.java:30)
at com.sap.ide.j2ee.wtpserver.engineadapter.SAPPublisher$DeployRunnable.run(SAPPublisher.java:302)
at java.lang.Thread.run(Thread.java:595)
Caused by: com.sap.engine.services.dc.api.ConnectionException: [ERROR CODE DPL.DCAPI.1144] NamingException.Cannot get initial context.
Reason: Exception while trying to get InitialContext.
at com.sap.engine.services.dc.api.session.impl.SessionImpl.getContext(SessionImpl.java:189)
at com.sap.engine.services.dc.api.session.impl.SessionImpl.<init>(SessionImpl.java:115)
at com.sap.engine.services.dc.api.session.impl.SessionFactoryImpl.newSession(SessionFactoryImpl.java:30)
at com.sap.engine.services.dc.api.impl.ClientFactoryImpl.createClient(ClientFactoryImpl.java:74)
at com.sap.ide.eclipse.deployer.dc.DCClientImpl.<init>(DCClientImpl.java:67)
... 7 more
Caused by: com.sap.engine.services.jndi.persistent.exceptions.NamingException: Exception while trying to get InitialContext. [Root exception is com.sap.engine.interfaces.cross.DestinationException: cannot establish connection with any of the available instances:
localhost:50004 Reason: com.sap.engine.services.rmi_p4.P4IOException: Cannot open connection to host: 10.18.206.83 and port: 50004]
at com.sap.engine.services.jndi.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:488)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
at javax.naming.InitialContext.init(InitialContext.java:223)
at javax.naming.InitialContext.<init>(InitialContext.java:197)
at com.sap.engine.services.dc.api.session.impl.SessionImpl.getContext(SessionImpl.java:166)
... 11 more
Caused by: com.sap.engine.interfaces.cross.DestinationException: cannot establish connection with any of the available instances:
localhost:50004 Reason: com.sap.engine.services.rmi_p4.P4IOException: Cannot open connection to host: 10.18.206.83 and port: 50004
at com.sap.engine.interfaces.cross.Destination.getNextAvailableBroker(Destination.java:59)
at com.sap.engine.interfaces.cross.Destination.getRemoteBroker(Destination.java:35)
at com.sap.engine.services.jndi.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:352)
... 16 more [ERROR: 01.02.2009 10:15:13 /userOut/daView_category (eclipse.UserOutLocation) [Thread[Thread-27,5,main]] ]
Please help!
Maybe you are looking for
-
Hello, Today I log in and can not update any Folios. I get the following pop up in the web interface. An error has occurred while saving your changes. A newer version of Folio Builder is available for download. Update Folio Builder to the latest vers
-
Exporting HiDef Movies To iTunes?
Kind People, I have shot video with my Canon Vixia HF10 camcorder. I edited that video using FCE. I've exported and burned those movies to DVDs with iDVD. Life is beautiful! I have wide screen HiDef movies to share with family and friends. However, w
-
Behaviuor in reading logs from DB13 - redo log backup for DB
Hi all, I have a question , We have scheduled redo log backup using HP DP Tool. When I am reading a backup log from DB13 , I am facing the weird behavior. copy, delete, save 0000 aeomzyok.cds copy, delete, save 0001 aeomzyoh.cds Where ever the RC i
-
How to file a complain, please!
I was about to leave Verizon, but sale rep. offered me a good deal to stay. So instead of leaving, I added 2 more lines on to my 2 existing ones to get the 4 lines for $160 (More everything plan). However, I was so shock when I received a bill of $66
-
Replacement touchscreen? 30 minute battery life?
Is it possible to replace the touchscreen on an iBook G4? And can anyone explain to me why all of a sudden my battery life is suddenly only 30 minutes? Everything was fine with the battery for the past year, and all of a sudden it only lasts 30 minut