HTTPS

HTTPS

hello all,

when i run this from appmanager server, i get the error below

sh run.sh server.lintech.com 443 classes/jboss from the command line, it says this,

Connecting for {JBossLibraries=[./classes/jboss/common/common.jar, classes/jboss/jbossall-client.jar, ./classes/jboss/common/common.jar], JndiProperties={java.naming.factory.initial=org.jboss.naming.HttpNamingContextFactory, java.naming.provider.url=http://server.lintech.com:443/invoker/JNDIFactory}}
This code is getting executed111
com.adventnet.client.jb.AMSSLSocketFactoryBuilder
Sertting the default socket factory
com.adventnet.client.jb.AMSSLSocketFactoryBuilder@f6a746
Exception While connecting to the JBoss server http://server.lintech.com:443 due to error : null
Oct 13, 2006 5:05:48 PM com.adventnet.adaptors.clients.jboss.AMJBossClient connect
INFO: Exception While connecting to JBOss
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at com.adventnet.adaptors.clients.jboss.AMJBossClient.connectToAgent(AMJBossClient.java:151)
at com.adventnet.adaptors.clients.jboss.AMJBossClient.connect(AMJBossClient.java:4Cool
at com.adventnet.appmanager.server.framework.datacollection.AMJMXConnectorFactory.getClient(AMJMXConnectorFactory.java:174)
at Test.main(Test.java:2Cool
Caused by: javax.naming.NamingException: Failed to retrieve Naming interface [Root exception is java.net.SocketException: Connection reset]
at org.jboss.naming.HttpNamingContextFactory.getInitialContext(HttpNamingContextFactory.java:69)
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)
... 8 more
Caused by: java.net.SocketException: Connection reset
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1186)
at java.security.AccessController.doPrivileged(Native Method)
at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1180)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:877)
at org.jboss.naming.HttpNamingContextFactory.getNamingServer(HttpNamingContextFactory.java:117)
at org.jboss.naming.HttpNamingContextFactory.getInitialContext(HttpNamingContextFactory.java:65)
... 12 more
Caused by: java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:168)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:256)
at java.io.BufferedInputStream.read(BufferedInputStream.java:313)
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:606)
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:554)
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:571)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:928)
at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:1850)
at java.net.URLConnection.getHeaderFieldInt(URLConnection.java:573)
at java.net.URLConnection.getContentLength(URLConnection.java:468)
at org.jboss.naming.HttpNamingContextFactory.getNamingServer(HttpNamingContextFactory.java:112)
... 13 more
java.net.SocketException: Connection reset

please advice on this

and also when i add a new monitor from the AppManager itself,

Hostname: server.lintech.com
Port: 443
SSL is enabled

i get status as Please select the correct version of JBoss Server.
port 443,

thanks and regards
venki :(





































































                New to ADSelfService Plus?