Welcome Guest Search | Active Topics | Members | Log In | Register

WebORB for Java 5.0.0 - Cloud EC2 - Failed to connect Options · View
Christophe
Posted: Tuesday, June 26, 2012 12:17:37 AM

Rank: Apprentice Coder
Groups: Member

Joined: 2/22/2012
Posts: 46
Points: -262
Location: France
Hello,

I'm trying WebORB for Java 5.0.0. Locally, it works perfectly.

However, in the cloud (EC2 - I have, of course, a subscription ID added in web.xml), I get this:

HTTP ERROR: 503

SERVICE_UNAVAILABLE
RequestURI=/

and the following error:

[WEBORB CLUSTER, Thread-16, 06:26:12 07:03:25] Initiate registration in cluster
[WEBORB CLUSTER, Thread-19, 06:26:12 07:03:30] Cluster node with address 10.0.1.7 is unreachable, remote port assumed to be 8080. java.net.SocketTimeoutException: connect timed out
[WEBORB CLUSTER, Thread-16, 06:26:12 07:03:31] Starting node synchronization.
[WEBORB CLUSTER, Thread-16, 06:26:12 07:03:31] Trying to start Hazelcast for cluster singleton with 1 node(s).[10.56.67.113]. Host interface is 10.56.67.113
[WEBORB CLUSTER, Thread-16, 06:26:12 07:03:31] Interfaces is enabled, trying to pick one address matching to one of: [10.56.67.113]
[WEBORB CLUSTER, Thread-16, 06:26:12 07:03:31] inet reuseAddress:true
[WEBORB CLUSTER, Thread-16, 06:26:12 07:03:31] inet socket address:0.0.0.0/0.0.0.0:5701
[WEBORB CLUSTER, Thread-16, 06:26:12 07:03:31] [10.56.67.113]:5701 [cluster-1] Hazelcast Community Edition 2.1.2 (20120530) starting at Address[10.56.67.113]:5701
[WEBORB CLUSTER, Thread-16, 06:26:12 07:03:31] [10.56.67.113]:5701 [cluster-1] Copyright (C) 2008-2012 Hazelcast.com
[WEBORB CLUSTER, Thread-16, 06:26:12 07:03:31] [10.56.67.113]:5701 [cluster-1] Address[10.56.67.113]:5701 is STARTING
[WEBORB CLUSTER, Thread-16, 06:26:12 07:03:31] [10.56.67.113]:5701 [cluster-1] connecting to Address[10.56.67.113]:5702
[WEBORB CLUSTER, Thread-16, 06:26:12 07:03:31] [10.56.67.113]:5701 [cluster-1] connecting to Address[10.56.67.113]:5703
[WEBORB CLUSTER, Thread-16, 06:26:12 07:03:31] [10.56.67.113]:5701 [cluster-1] sleep interrupted
[WEBORB CLUSTER, Thread-16, 06:26:12 07:03:31] [10.56.67.113]:5701 [cluster-1] Failed to connect, node joined= false, allConnected= false to all other members after 0 seconds.
[WEBORB CLUSTER, Thread-16, 06:26:12 07:03:31] [10.56.67.113]:5701 [cluster-1] Rebooting after 10 seconds.
[WEBORB CLUSTER, Thread-31, 06:26:12 07:03:31] [10.56.67.113]:5701 [cluster-1] Could not connect to: /10.56.67.113:5703. Reason: ConnectException[Connection refused]
[WEBORB CLUSTER, Thread-30, 06:26:12 07:03:31] [10.56.67.113]:5701 [cluster-1] Could not connect to: /10.56.67.113:5702. Reason: ConnectException[Connection refused]
[WEBORB CLUSTER, Thread-16, 06:26:12 07:03:41] [10.56.67.113]:5701 [cluster-1] connecting to Address[10.56.67.113]:5702
[WEBORB CLUSTER, Thread-16, 06:26:12 07:03:41] [10.56.67.113]:5701 [cluster-1] connecting to Address[10.56.67.113]:5703
[WEBORB CLUSTER, Thread-31, 06:26:12 07:03:41] [10.56.67.113]:5701 [cluster-1] Could not connect to: /10.56.67.113:5703. Reason: ConnectException[Connection refused]
[WEBORB CLUSTER, Thread-30, 06:26:12 07:03:41] [10.56.67.113]:5701 [cluster-1] Could not connect to: /10.56.67.113:5702. Reason: ConnectException[Connection refused]
[WEBORB CLUSTER, Thread-31, 06:26:12 07:03:42] [10.56.67.113]:5701 [cluster-1] Could not connect to: /10.56.67.113:5703. Reason: ConnectException[Connection refused]
[WEBORB CLUSTER, Thread-31, 06:26:12 07:03:42] [10.56.67.113]:5701 [cluster-1] Removing connection to endpoint Address[10.56.67.113]:5703 Cause => java.net.ConnectException {Connection refused}, Error-Count: 3
[WEBORB CLUSTER, Thread-30, 06:26:12 07:03:42] [10.56.67.113]:5701 [cluster-1] Could not connect to: /10.56.67.113:5702. Reason: ConnectException[Connection refused]
[WEBORB CLUSTER, Thread-30, 06:26:12 07:03:42] [10.56.67.113]:5701 [cluster-1] Removing connection to endpoint Address[10.56.67.113]:5702 Cause => java.net.ConnectException {Connection refused}, Error-Count: 3
[WEBORB CLUSTER, Thread-21, 06:26:12 07:03:42] [10.56.67.113]:5701 [cluster-1] Removing Address Address[10.56.67.113]:5703
[WEBORB CLUSTER, Thread-21, 06:26:12 07:03:42] [10.56.67.113]:5701 [cluster-1] Removing Address Address[10.56.67.113]:5702
[WEBORB CLUSTER, Thread-21, 06:26:12 07:03:42] [10.56.67.113]:5701 [cluster-1]


Members [1] {
Member [10.56.67.113]:5701 this
}

[WEBORB CLUSTER, Thread-16, 06:26:12 07:03:42] [10.56.67.113]:5701 [cluster-1] Address[10.56.67.113]:5701 is STARTED


What can I do ?

I do not really need clustering, but only the new feature of Pub/Sub Message Filtering to use SQL-like queries.

Thanks in advance for your help,

Regards,
Christophe

Mark Piller
Posted: Thursday, June 28, 2012 3:51:46 PM

Rank: Administration
Groups: Administration

Joined: 8/21/2006
Posts: 1,607
Points: 4,082
Location: Frisco, TX
Hi Christophe,

Any chance you could include the entire log output from the product startup?

Regards,
Mark

Mark Piller
Midnight Coders, Inc.
twitter: midnightcoder
blog: blog.themidnightcoders.com
website: www.themidnightcoders.com
Christophe
Posted: Friday, June 29, 2012 12:07:45 AM

Rank: Apprentice Coder
Groups: Member

Joined: 2/22/2012
Posts: 46
Points: -262
Location: France
Hi Mark,

This is the entire log from WebORB for Java 5.0.0 installed on my Amazon EC2 Cloud instance :


Starting WebORB Server on the default URL - http://localhost:8080
To change the start-up URL, pass the value as a command prompt argument
For example: java -jar weborb.jar http://hostname:port

2012-06-29 07:02:47.960::INFO: Logging to STDERR via org.mortbay.log.StdErrLog
Starting Jetty server...
[WEBORB INFO, Thread-1, 06:29:12 07:02:49] Web services processing folder is webservices
[WEBORB INFO, Thread-1, 06:29:12 07:02:49] Registering named class. Class name: weborb.ORBServlet, assigned name: weborbHttpHandler
[WEBORB INFO, Thread-1, 06:29:12 07:02:49] Registering named class. Class name: weborb.dispatch.a, assigned name: weborbInspector
[WEBORB INFO, Thread-1, 06:29:12 07:02:49] Registering named class. Class name: weborb.dispatch.b, assigned name: weborbInvoker
[WEBORB INFO, Thread-1, 06:29:12 07:02:49] Registering named class. Class name: weborb.handler.JavaObjectHandler, assigned name: weborbObjectHandler
[WEBORB INFO, Thread-1, 06:29:12 07:02:49] Registering named class. Class name: weborb.handler.AxisWebServiceHandler, assigned name: weborbWebServiceHandler
[WEBORB INFO, Thread-1, 06:29:12 07:02:49] Registering named class. Class name: weborb.examples.security.SecureProducts, assigned name: Weborb.Examples.Security.SecureProducts
[WEBORB INFO, Thread-1, 06:29:12 07:02:49] Registering named class. Class name: weborb.console.serverinfo.ServerInfo, assigned name: serverInfo
[WEBORB INFO, Thread-1, 06:29:12 07:02:49] Registering named class. Class name: weborb.config.Administration, assigned name: Administration
[WEBORB INFO, Thread-1, 06:29:12 07:02:49] Registering named class. Class name: weborb.security.ORBSecurity, assigned name: ORBSecurity
[WEBORB INFO, Thread-1, 06:29:12 07:02:49] Registering named class. Class name: weborb.security.SingleIPRestriction, assigned name: SingleIPRestriction
[WEBORB INFO, Thread-1, 06:29:12 07:02:49] Registering named class. Class name: weborb.security.IPRangeRestriction, assigned name: IPRangeRestriction
[WEBORB INFO, Thread-1, 06:29:12 07:02:49] Registering named class. Class name: weborb.security.HostNameRestriction, assigned name: HostNameRestriction
[WEBORB INFO, Thread-1, 06:29:12 07:02:49] Registering named class. Class name: weborb.security.RoleNameRestriction, assigned name: RoleNameRestriction
[WEBORB INFO, Thread-1, 06:29:12 07:02:49] Registering named class. Class name: weborb.examples.activation.ShoppingCart, assigned name: ExamplesActivationSession
[WEBORB INFO, Thread-1, 06:29:12 07:02:49] Registering named class. Class name: weborb.examples.activation.UserPoll, assigned name: ExamplesActivationApplication
[WEBORB INFO, Thread-1, 06:29:12 07:02:49] Registering named class. Class name: weborb.examples.invocation.factories.Person, assigned name: ExamplesFactoriesService
[WEBORB INFO, Thread-1, 06:29:12 07:02:49] Registering named class. Class name: weborb.examples.invocation.factories.SampleArgumentFactoryService, assigned name: ExampleArgumentFactories
[WEBORB INFO, Thread-1, 06:29:12 07:02:49] Registering named class. Class name: weborb.examples.messageserver.Broadcast, assigned name: ExamplesBroadcast
[WEBORB INFO, Thread-1, 06:29:12 07:02:49] Registering named class. Class name: weborb.examples.messageserver.Unicast, assigned name: ExamplesUnicast
[WEBORB INFO, Thread-1, 06:29:12 07:02:49] Registering named class. Class name: weborb.management.LicenseService, assigned name: Weborb.Management.LicenseService
[WEBORB INFO, Thread-1, 06:29:12 07:02:49] Registering named class. Class name: weborb.management.ManagementService, assigned name: Weborb.Management.ManagementService
[WEBORB INFO, Thread-1, 06:29:12 07:02:49] Registering named class. Class name: weborb.management.MessagingService, assigned name: Weborb.Management.MessagingService
[WEBORB INFO, Thread-1, 06:29:12 07:02:49] Registering named class. Class name: weborb.management.datamanagement.DataManagementService, assigned name: Weborb.Management.DataManagement.DataManagementService
[WEBORB INFO, Thread-1, 06:29:12 07:02:49] Registering named class. Class name: weborb.util.license.LicensingService, assigned name: Weborb.Util.License.LicensingService
[WEBORB INFO, Thread-1, 06:29:12 07:02:49] Registering named class. Class name: weborb.data.management.DataServiceMessageSelector, assigned name: DataServiceMessageSelector
[WEBORB INFO, Thread-1, 06:29:12 07:02:49] Registering named class. Class name: weborb.management.AppScopeService, assigned name: AppScopeServiceAlias
[WEBORB INFO, Thread-1, 06:29:12 07:02:49] Registering named class. Class name: weborb.examples.BasicService, assigned name: Weborb.Examples.BasicService
[WEBORB INFO, Thread-1, 06:29:12 07:02:49] Registering named class. Class name: weborb.examples.IdentityService, assigned name: Weborb.Examples.IdentityService
[WEBORB INFO, Thread-1, 06:29:12 07:02:49] Registering named class. Class name: weborb.examples.PhoneBook, assigned name: Weborb.Examples.PhoneBook
[WEBORB INFO, Thread-1, 06:29:12 07:02:49] Registering named class. Class name: weborb.examples.FileSystemBrowser, assigned name: Weborb.Examples.FileSystemBrowser
[WEBORB INFO, Thread-1, 06:29:12 07:02:49] Registering named class. Class name: weborb.examples.DataBinding, assigned name: Weborb.Examples.DataBinding
[WEBORB INFO, Thread-1, 06:29:12 07:02:49] Registering named class. Class name: weborb.examples.ExceptionsTest, assigned name: Weborb.Examples.ExceptionsTest
[WEBORB INFO, Thread-1, 06:29:12 07:02:49] Registering named class. Class name: weborb.examples.invocationtests.PrimitiveArrayTest, assigned name: Weborb.Examples.InvocationTests.PrimitiveArrayTest
[WEBORB INFO, Thread-1, 06:29:12 07:02:49] Registering named class. Class name: weborb.examples.invocationtests.ComplexTypesTest, assigned name: Weborb.Examples.InvocationTests.ComplexTypesTest
[WEBORB INFO, Thread-1, 06:29:12 07:02:49] Registering named class. Class name: weborb.examples.invocationtests.CrossReferenceTest, assigned name: Weborb.Examples.InvocationTests.CrossReferenceTest
[WEBORB INFO, Thread-1, 06:29:12 07:02:49] Registering named class. Class name: weborb.examples.invocationtests.DatabaseTest, assigned name: Weborb.Examples.InvocationTests.DatabaseTest
[WEBORB INFO, Thread-1, 06:29:12 07:02:49] Registering named class. Class name: weborb.examples.invocationtests.MultipleArgsTest, assigned name: Weborb.Examples.InvocationTests.MultipleArgsTest
[WEBORB INFO, Thread-1, 06:29:12 07:02:49] Registering named class. Class name: weborb.examples.invocationtests.PrimitiveTest, assigned name: Weborb.Examples.InvocationTests.PrimitiveTest
[WEBORB INFO, Thread-1, 06:29:12 07:02:49] Registering named class. Class name: weborb.examples.invocationtests.StringsTest, assigned name: Weborb.Examples.InvocationTests.StringsTest
[WEBORB INFO, Thread-1, 06:29:12 07:02:49] Registering named class. Class name: weborb.examples.invocationtests.CollectionsTest, assigned name: Weborb.Examples.InvocationTests.CollectionsTest
[WEBORB INFO, Thread-1, 06:29:12 07:02:49] Registering named class. Class name: weborb.examples.invocationtests.CollectionsArrayTest, assigned name: Weborb.Examples.InvocationTests.CollectionsArrayTest
[WEBORB INFO, Thread-1, 06:29:12 07:02:49] Registering named class. Class name: weborb.examples.invocationtests.ComplexTypeArrayTest, assigned name: Weborb.Examples.InvocationTests.ComplexTypeArrayTest
[WEBORB INFO, Thread-1, 06:29:12 07:02:49] Registering named class. Class name: weborb.examples.invocationtests.StringsArrayTest, assigned name: Weborb.Examples.InvocationTests.StringsArrayTest
[WEBORB INFO, Thread-1, 06:29:12 07:02:49] Registering named class. Class name: weborb.examples.invocationtests.DatabaseTest, assigned name: Weborb.Examples.InvocationTests.DatabaseTest
[WEBORB INFO, Thread-1, 06:29:12 07:02:49] Registering named class. Class name: weborb.examples.UserProfile, assigned name: weborb.examples.UserProfile
[WEBORB INFO, Thread-1, 06:29:12 07:02:49] WebORB Security Mode is set to 'open'
[WEBORB INFO, Thread-1, 06:29:12 07:02:49] Registering authentication handler. weborb.security.LocalAclAuthenticationHandler@7a70610a
[WEBORB INFO, Thread-1, 06:29:12 07:02:49] Registering authorization handler. weborb.security.WebORBAuthorizationHandler@451ef443
[WEBORB INFO, Thread-1, 06:29:12 07:02:49] Unknown role name in access constant Constraint.Grant.weborb.examples.UserProfile. Role name is databaseuser. Make sure the role name is listed in weborb-acl.xml
[WEBORB INFO, Thread-1, 06:29:12 07:02:49] Registering inspection handler - Java Object Handler
[WEBORB ERROR, Thread-1, 06:29:12 07:02:49] Unable to register inspection handler with class name weborb.handler.SpringBeanHandler due to exception: org/springframework/context/ApplicationContext
[WEBORB INFO, Thread-1, 06:29:12 07:02:49] Registering inspection handler - Axis Web Services Handler
[WEBORB INFO, Thread-1, 06:29:12 07:02:49] Registering inspection handler - EJB Handler
[WEBORB INFO, Thread-1, 06:29:12 07:02:49] Registering inspection handler - EJB3.0 Handler
[WEBORB ERROR, Thread-1, 06:29:12 07:02:49] Unable to register invocation handler with class name weborb.handler.HibernateHandler due to exception: org/hibernate/Session
[WEBORB INFO, Thread-1, 06:29:12 07:02:49] Registering invocation handler - Java Object Handler
[WEBORB ERROR, Thread-1, 06:29:12 07:02:49] Unable to register invocation handler with class name weborb.handler.SpringBeanHandler due to exception: org/springframework/context/ApplicationContext
[WEBORB INFO, Thread-1, 06:29:12 07:02:49] Registering invocation handler - Axis Web Services Handler
[WEBORB INFO, Thread-1, 06:29:12 07:02:49] Registering invocation handler - EJB Handler
[WEBORB INFO, Thread-1, 06:29:12 07:02:49] Registering invocation handler - EJB3.0 Handler
[WEBORB INFO, Thread-1, 06:29:12 07:02:49] Registering activator: weborb.activation.RequestActivator activation mode: request
[WEBORB INFO, Thread-1, 06:29:12 07:02:49] Registering activator: weborb.activation.SessionActivator activation mode: session
[WEBORB INFO, Thread-1, 06:29:12 07:02:49] Registering activator: weborb.activation.ApplicationActivator activation mode: application
[WEBORB INFO, Thread-1, 06:29:12 07:02:49] Registering activator: weborb.activation.ClusterSingletonActivator activation mode: clusterSingleton
[WEBORB ERROR, Thread-1, 06:29:12 07:02:49] Hibernate wasn't found. Hibernate Service Browser and Handler won't be working
[WEBORB INFO, Thread-1, 06:29:12 07:02:49] Starting Web Socket server on port 8888
[WEBORB CLUSTER DEBUG, Thread-1, 06:29:12 07:02:49] [10.0.1.7]
[WEBORB INFO, Thread-1, 06:29:12 07:02:49] Registering service factory: weborb.cluster.ClusterServiceFactory. Mapped class name: weborb.cluster.Cluster
[WEBORB INFO, Thread-1, 06:29:12 07:02:49] Loading Amazon cloud configuration.
[WEBORB ERROR, Thread-1, 06:29:12 07:02:49] Error on user data receive on Amazon EC2 server
[WEBORB ERROR, Thread-1, 06:29:12 07:02:49] Error on user data receive on Amazon EC2 server
[WEBORB ERROR, Thread-1, 06:29:12 07:02:49] Error on user data receive on Amazon EC2 server
[WEBORB ERROR, Thread-1, 06:29:12 07:02:49] Can't parse port from amazon's user data. Will use value from config
[WEBORB EXCEPTION, Thread-1, 06:29:12 07:02:49] Can't parse port from amazon's user data. Will use value from config
java.lang.NumberFormatException: null
at java.lang.Integer.parseInt(Integer.java:443)
at java.lang.Integer.parseInt(Integer.java:514)
at weborb.config.AmazonConfig.configureCluster(AmazonConfig.java:107)
at weborb.config.AmazonConfig.configure(AmazonConfig.java:66)
at weborb.config.ORBServerConfig.init(ORBServerConfig.java:199)
at weborb.config.ORBServerConfig.(ORBServerConfig.java:98)
at weborb.config.ORBServerConfig.config(ORBServerConfig.java:367)
at weborb.ORBServletContextListener.contextInitialized(ORBServletContextListener.java:27)
at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:511)
at org.mortbay.jetty.servlet.Context.startContext(Context.java:135)
at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1191)
at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:481)
at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:434)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:147)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:117)
at org.mortbay.jetty.Server.doStart(Server.java:210)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
at weborb.ORBMain.startup(ORBMain.java:200)
at weborb.ORBMain.main(ORBMain.java:80)

[WEBORB ERROR, Thread-1, 06:29:12 07:02:49] Error on user data receive on Amazon EC2 server
[WEBORB INFO, Thread-1, 06:29:12 07:02:49] Registering Flex Remoting destination - PrimitiveTest
[WEBORB INFO, Thread-1, 06:29:12 07:02:49] Registering Flex Remoting destination - DatabaseTestMsSql
[WEBORB INFO, Thread-1, 06:29:12 07:02:49] Registering Flex Remoting destination - DatabaseTestMySql
[WEBORB INFO, Thread-1, 06:29:12 07:02:50] Registering Flex Remoting destination - MultipleArgsTest
[WEBORB INFO, Thread-1, 06:29:12 07:02:50] Registering Flex Remoting destination - StringsTest
[WEBORB INFO, Thread-1, 06:29:12 07:02:50] Registering Flex Remoting destination - PrimitiveArrayTest
[WEBORB INFO, Thread-1, 06:29:12 07:02:50] Registering Flex Remoting destination - ComplexTypesTest
[WEBORB INFO, Thread-1, 06:29:12 07:02:50] Registering Flex Remoting destination - InfoServiceDestination
[WEBORB INFO, Thread-1, 06:29:12 07:02:50] Registering Flex Remoting destination - AccountBalanceDestination
[WEBORB INFO, Thread-1, 06:29:12 07:02:50] Registering Flex Remoting destination - SecureTest
[WEBORB INFO, Thread-1, 06:29:12 07:02:50] Registering Flex Remoting destination - WeborbManagement
[WEBORB INFO, Thread-1, 06:29:12 07:02:50] Registering Flex Remoting destination - ClusterManagement
[WEBORB INFO, Thread-1, 06:29:12 07:02:50] Registering Flex Remoting destination - WeborbSecurity
[WEBORB INFO, Thread-1, 06:29:12 07:02:50] Registering Flex Remoting destination - WeborbConfiguration
[WEBORB INFO, Thread-1, 06:29:12 07:02:50] Registering Flex Remoting destination - WeborbMessaging
[WEBORB INFO, Thread-1, 06:29:12 07:02:50] Registering Flex Remoting destination - WDMFCodeGen
[WEBORB INFO, Thread-1, 06:29:12 07:02:50] Registering Flex Remoting destination - DataServiceSubcriptionManager
[WEBORB INFO, Thread-1, 06:29:12 07:02:50] Registering Flex Remoting destination - DataQueryService
[WEBORB INFO, Thread-1, 06:29:12 07:02:50] Registering Flex Remoting destination - BusinessIntelligenceDestination
[WEBORB INFO, Thread-1, 06:29:12 07:02:50] Registering Flex Remoting destination - GenericDestination
[WEBORB INFO, Thread-1, 06:29:12 07:02:50] Registering Flex Remoting destination - GenericSessionDestination
[WEBORB INFO, Thread-1, 06:29:12 07:02:50] Registering Flex Remoting destination - GenericSingletonDestination
[WEBORB INFO, Thread-1, 06:29:12 07:02:50] Registering Flex Messaging destination - SamplePollingDestination
[WEBORB INFO, Thread-1, 06:29:12 07:02:50] Registering Flex Messaging destination - SamplePollingClusteredDestination
[WEBORB INFO, Thread-1, 06:29:12 07:02:50] Registering Flex Messaging destination - SampleRTMPDestination
[WEBORB INFO, Thread-1, 06:29:12 07:02:50] Registering Flex Messaging destination - DataService
[WEBORB INFO, Thread-1, 06:29:12 07:02:50] Unable to set weborb.messaging.v3.jms.JmsServiceHandler as a message service handler due to an error: javax.naming.NoInitialContextException: Cannot instantiate class: org.apache.activemq.jndi.ActiveMQInitialContextFactory [Root exception is java.lang.ClassNotFoundException: org.apache.activemq.jndi.ActiveMQInitialContextFactory]
[WEBORB ERROR, Thread-1, 06:29:12 07:02:50] Destination is not properly configured. Destination 'ActiveMQPollingDestination' cannot be registered
[WEBORB INFO, Thread-1, 06:29:12 07:02:50] Unable to set weborb.messaging.v3.jms.JmsServiceHandler as a message service handler due to an error: javax.naming.NoInitialContextException: Cannot instantiate class: org.apache.activemq.jndi.ActiveMQInitialContextFactory [Root exception is java.lang.ClassNotFoundException: org.apache.activemq.jndi.ActiveMQInitialContextFactory]
[WEBORB ERROR, Thread-1, 06:29:12 07:02:50] Destination is not properly configured. Destination 'ActiveMQRTMPDestination' cannot be registered
[WEBORB INFO, Thread-1, 06:29:12 07:02:50] Registering Flex Messaging destination - ChatDestination
[WEBORB INFO, Thread-1, 06:29:12 07:02:50] Registering Flex Messaging destination - WdmfMessagingDestination
[WEBORB INFO, Thread-1, 06:29:12 07:02:50] Loading license file from /usr/share/weborb5/webapp/WEB-INF/licenses/weborblicense.key.config
WebORB Integration Server 5.0 (c) 2003-2012 Midnight Coders, Inc.
[WEBORB DEPLOYMENT, Thread-1, 06:29:12 07:02:50] Starting user data deploying...
[WEBORB DEPLOYMENT, Thread-1, 06:29:12 07:02:50] Failed deploy user data.
[WEBORB DEPLOYMENT, Thread-1, 06:29:12 07:02:50] http://169.254.169.254/latest/user-data
java.io.FileNotFoundException: http://169.254.169.254/latest/user-data
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1401)
at weborb.util.AmazonUtil.getData(AmazonUtil.java:48)
at weborb.util.AmazonUtil.getUserData(AmazonUtil.java:34)
at weborb.util.AmazonUtil.deployJars(AmazonUtil.java:71)
at weborb.ORBServlet.init(ORBServlet.java:120)
at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:442)
at org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:259)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:593)
at org.mortbay.jetty.servlet.Context.startContext(Context.java:139)
at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1191)
at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:481)
at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:434)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:147)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:117)
at org.mortbay.jetty.Server.doStart(Server.java:210)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
at weborb.ORBMain.startup(ORBMain.java:200)
at weborb.ORBMain.main(ORBMain.java:80)
WebORB Presentation Server has been started.
Management console is available at 'http://localhost:8080/weborbconsole.html'
[WEBORB CLUSTER, Thread-16, 06:29:12 07:02:51] Initiate registration in cluster
[WEBORB CLUSTER, Thread-19, 06:29:12 07:02:56] Cluster node with address 10.0.1.7 is unreachable, remote port assumed to be 8080. java.net.SocketTimeoutException: connect timed out
[WEBORB CLUSTER, Thread-16, 06:29:12 07:02:57] Starting node synchronization.
[WEBORB CLUSTER, Thread-16, 06:29:12 07:02:57] Trying to start Hazelcast for cluster singleton with 1 node(s).[10.56.67.113]. Host interface is 10.56.67.113
[WEBORB CLUSTER, Thread-16, 06:29:12 07:02:57] Interfaces is enabled, trying to pick one address matching to one of: [10.56.67.113]
[WEBORB CLUSTER, Thread-16, 06:29:12 07:02:57] inet reuseAddress:true
[WEBORB CLUSTER, Thread-16, 06:29:12 07:02:57] inet socket address:0.0.0.0/0.0.0.0:5701
[WEBORB CLUSTER, Thread-16, 06:29:12 07:02:57] [10.56.67.113]:5701 [cluster-1] Hazelcast Community Edition 2.1.2 (20120530) starting at Address[10.56.67.113]:5701
[WEBORB CLUSTER, Thread-16, 06:29:12 07:02:57] [10.56.67.113]:5701 [cluster-1] Copyright (C) 2008-2012 Hazelcast.com
[WEBORB CLUSTER, Thread-16, 06:29:12 07:02:57] [10.56.67.113]:5701 [cluster-1] Address[10.56.67.113]:5701 is STARTING
[WEBORB CLUSTER, Thread-16, 06:29:12 07:02:57] [10.56.67.113]:5701 [cluster-1] connecting to Address[10.56.67.113]:5702
[WEBORB CLUSTER, Thread-16, 06:29:12 07:02:57] [10.56.67.113]:5701 [cluster-1] connecting to Address[10.56.67.113]:5703
[WEBORB CLUSTER, Thread-16, 06:29:12 07:02:57] [10.56.67.113]:5701 [cluster-1] sleep interrupted
[WEBORB CLUSTER, Thread-16, 06:29:12 07:02:57] [10.56.67.113]:5701 [cluster-1] Failed to connect, node joined= false, allConnected= false to all other members after 0 seconds.
[WEBORB CLUSTER, Thread-16, 06:29:12 07:02:57] [10.56.67.113]:5701 [cluster-1] Rebooting after 10 seconds.
[WEBORB CLUSTER, Thread-31, 06:29:12 07:02:57] [10.56.67.113]:5701 [cluster-1] Could not connect to: /10.56.67.113:5703. Reason: ConnectException[Connection refused]
[WEBORB CLUSTER, Thread-30, 06:29:12 07:02:57] [10.56.67.113]:5701 [cluster-1] Could not connect to: /10.56.67.113:5702. Reason: ConnectException[Connection refused]
[WEBORB CLUSTER, Thread-16, 06:29:12 07:03:07] [10.56.67.113]:5701 [cluster-1] connecting to Address[10.56.67.113]:5702
[WEBORB CLUSTER, Thread-16, 06:29:12 07:03:07] [10.56.67.113]:5701 [cluster-1] connecting to Address[10.56.67.113]:5703
[WEBORB CLUSTER, Thread-31, 06:29:12 07:03:07] [10.56.67.113]:5701 [cluster-1] Could not connect to: /10.56.67.113:5703. Reason: ConnectException[Connection refused]
[WEBORB CLUSTER, Thread-30, 06:29:12 07:03:07] [10.56.67.113]:5701 [cluster-1] Could not connect to: /10.56.67.113:5702. Reason: ConnectException[Connection refused]
[WEBORB CLUSTER, Thread-31, 06:29:12 07:03:08] [10.56.67.113]:5701 [cluster-1] Could not connect to: /10.56.67.113:5703. Reason: ConnectException[Connection refused]
[WEBORB CLUSTER, Thread-31, 06:29:12 07:03:08] [10.56.67.113]:5701 [cluster-1] Removing connection to endpoint Address[10.56.67.113]:5703 Cause => java.net.ConnectException {Connection refused}, Error-Count: 3
[WEBORB CLUSTER, Thread-30, 06:29:12 07:03:08] [10.56.67.113]:5701 [cluster-1] Could not connect to: /10.56.67.113:5702. Reason: ConnectException[Connection refused]
[WEBORB CLUSTER, Thread-30, 06:29:12 07:03:08] [10.56.67.113]:5701 [cluster-1] Removing connection to endpoint Address[10.56.67.113]:5702 Cause => java.net.ConnectException {Connection refused}, Error-Count: 3
[WEBORB CLUSTER, Thread-21, 06:29:12 07:03:08] [10.56.67.113]:5701 [cluster-1] Removing Address Address[10.56.67.113]:5703
[WEBORB CLUSTER, Thread-21, 06:29:12 07:03:08] [10.56.67.113]:5701 [cluster-1] Removing Address Address[10.56.67.113]:5702
[WEBORB CLUSTER, Thread-21, 06:29:12 07:03:08] [10.56.67.113]:5701 [cluster-1]


Members [1] {
Member [10.56.67.113]:5701 this
}

[WEBORB CLUSTER, Thread-16, 06:29:12 07:03:08] [10.56.67.113]:5701 [cluster-1] Address[10.56.67.113]:5701 is STARTED



Regards,

Christophe
Mark Piller
Posted: Saturday, June 30, 2012 6:19:32 AM

Rank: Administration
Groups: Administration

Joined: 8/21/2006
Posts: 1,607
Points: 4,082
Location: Frisco, TX
Hi Christophe,

We're investigating the issue. I will let you know what we find out.

Regards,
Mark

Mark Piller
Midnight Coders, Inc.
twitter: midnightcoder
blog: blog.themidnightcoders.com
website: www.themidnightcoders.com
Yuri Samsoniuk
Posted: Thursday, July 05, 2012 1:38:00 AM
Rank: Newbie Coder
Groups: Member

Joined: 7/2/2012
Posts: 1
Points: 3
Hi Christophe,
please answer a few more questions to help investigate the problem:
Have you made any additional changes to WebORB configurations besides adding subscription-id and email?
What modules of WebORB have you installed(What items were marked in the installator)?

P.S. Clustering can be turned off by commenting 'cluster' section in weborb-config.xml.

Best regards,
Yuri.
Christophe
Posted: Friday, July 13, 2012 4:05:47 AM

Rank: Apprentice Coder
Groups: Member

Joined: 2/22/2012
Posts: 46
Points: -262
Location: France
Hi Yuri,

Thank you for your response.
No, I had no additional changes.

Faced with these problems, I returned to version 4.5.

Best regards,
Christophe
Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

YAFVision Theme Created by Jaben Cargman (Tiny Gecko)
Powered by Yet Another Forum.net version 1.9.1.8 (NET v2.0) - 3/29/2008
Copyright © 2003-2008 Yet Another Forum.net. All rights reserved.
This page was generated in 0.171 seconds.