serious proxy error after latest updates!

Kernels & Hardware, configuring network, installing services

serious proxy error after latest updates!

Postby jackgu1988 » 2009-12-07 12:44

hi! after latest updates today mon 7 dec 2009, when i try to use netbeans to run a java web application, glassfish 2.1 server does not run! it seems like a proxy error! there was a proxy update as well. well i really need to get it working ASAP so any help would be highly appreciated!!! this is the output from the server when i try to run a project:

Dec 7, 2009 12:40:35 PM com.sun.enterprise.admin.servermgmt.launch.ASLauncher buildCommand
INFO:
/usr/lib/jvm/java-6-sun/bin/java
-Dcom.sun.aas.instanceRoot=/home/jack/SUNWappserver/domains/domain1
-Dcom.sun.aas.ClassPathPrefix=
-Dcom.sun.aas.ClassPathSuffix=
-Dcom.sun.aas.ServerClassPath=
-Dcom.sun.aas.classloader.appserverChainJars.ee=
-Dcom.sun.aas.classloader.appserverChainJars=admin-cli.jar,admin-cli-ee.jar,j2ee-svc.jar
-Dcom.sun.aas.classloader.excludesList=admin-cli.jar,appserv-upgrade.jar,sun-appserv-ant.jar
-Dcom.sun.aas.classloader.optionalOverrideableChain.ee=
-Dcom.sun.aas.classloader.optionalOverrideableChain=webservices-rt.jar,webservices-tools.jar
-Dcom.sun.aas.classloader.serverClassPath.ee=Does not exist/lib/hadbjdbc4.jar,/home/jack/SUNWappserver/lib/SUNWjdmk/5.1/lib/jdmkrt.jar,Does not exist/lib/dbstate.jar,Does not exist/lib/hadbm.jar,Does not exist/lib/hadbmgt.jar,/opt/SUNWmfwk/lib/mfwk_instrum_tk.jar
-Dcom.sun.aas.classloader.serverClassPath=/home/jack/SUNWappserver/lib/install/applications/jmsra/imqjmsra.jar,/home/jack/SUNWappserver/imq/lib/jaxm-api.jar,/home/jack/SUNWappserver/imq/lib/fscontext.jar,/home/jack/SUNWappserver/imq/lib/imqbroker.jar,/home/jack/SUNWappserver/imq/lib/imqjmx.jar,/home/jack/SUNWappserver/lib/ant/lib/ant.jar,/home/jack/SUNWappserver/lib/SUNWjdmk/5.1/lib/jdmkrt.jar
-Dcom.sun.aas.classloader.sharedChainJars.ee=appserv-se.jar,appserv-ee.jar,jesmf-plugin.jar,Does not exist/lib/dbstate.jar,Does not exist/lib/hadbjdbc4.jar,jgroups-all.jar,/opt/SUNWmfwk/lib/mfwk_instrum_tk.jar
-Dcom.sun.aas.classloader.sharedChainJars=javaee.jar,/usr/lib/jvm/java-6-sun/lib/tools.jar,install/applications/jmsra/imqjmsra.jar,com-sun-commons-launcher.jar,com-sun-commons-logging.jar,/home/jack/SUNWappserver/imq/lib/jaxm-api.jar,/home/jack/SUNWappserver/imq/lib/fscontext.jar,/home/jack/SUNWappserver/imq/lib/imqbroker.jar,/home/jack/SUNWappserver/imq/lib/imqjmx.jar,/home/jack/SUNWappserver/imq/lib/imqxm.jar,webservices-rt.jar,webservices-tools.jar,mail.jar,appserv-jstl.jar,jmxremote_optional.jar,/home/jack/SUNWappserver/lib/SUNWjdmk/5.1/lib/jdmkrt.jar,activation.jar,appserv-rt.jar,appserv-admin.jar,appserv-cmp.jar,/home/jack/SUNWappserver/updatecenter/lib/updatecenter.jar,/home/jack/SUNWappserver/jbi/lib/jbi.jar,/home/jack/SUNWappserver/imq/lib/imqjmx.jar,/home/jack/SUNWappserver/lib/ant/lib/ant.jar,dbschema.jar
-Dcom.sun.aas.configName=server-config
-Dcom.sun.aas.configRoot=/home/jack/SUNWappserver/config
-Dcom.sun.aas.defaultLogFile=/home/jack/SUNWappserver/domains/domain1/logs/server.log
-Dcom.sun.aas.domainName=domain1
-Dcom.sun.aas.installRoot=/home/jack/SUNWappserver
-Dcom.sun.aas.instanceName=server
-Dcom.sun.aas.processLauncher=SE
-Dcom.sun.aas.promptForIdentity=true
-Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
-Dcom.sun.enterprise.overrideablejavaxpackages=javax.help,javax.portlet
-Dcom.sun.enterprise.taglibs=appserv-jstl.jar,jsf-impl.jar
-Dcom.sun.enterprise.taglisteners=jsf-impl.jar
-Dcom.sun.updatecenter.home=/home/jack/SUNWappserver/updatecenter
-Ddomain.name=domain1
-Djava.endorsed.dirs=/home/jack/SUNWappserver/lib/endorsed
-Djava.ext.dirs=/usr/lib/jvm/java-6-sun/lib/ext:/usr/lib/jvm/java-6-sun/jre/lib/ext:/home/jack/SUNWappserver/domains/domain1/lib/ext:/home/jack/SUNWappserver/javadb/lib
-Djava.library.path=/home/jack/SUNWappserver/lib:/home/jack/SUNWappserver/lib:/home/jack/SUNWappserver/lib
-Djava.security.auth.login.config=/home/jack/SUNWappserver/domains/domain1/config/login.conf
-Djava.security.policy=/home/jack/SUNWappserver/domains/domain1/config/server.policy
-Djava.util.logging.manager=com.sun.enterprise.server.logging.ServerLogManager
-Djavax.management.builder.initial=com.sun.enterprise.admin.server.core.jmx.AppServerMBeanServerBuilder
-Djavax.net.ssl.keyStore=/home/jack/SUNWappserver/domains/domain1/config/keystore.jks
-Djavax.net.ssl.trustStore=/home/jack/SUNWappserver/domains/domain1/config/cacerts.jks
-Djdbc.drivers=org.apache.derby.jdbc.ClientDriver
-Djmx.invoke.getters=true
-Dsun.rmi.dgc.client.gcInterval=3600000
-Dsun.rmi.dgc.server.gcInterval=3600000
-client
-XX:+UnlockDiagnosticVMOptions
-XX:MaxPermSize=192m
-Xmx512m
-XX:NewRatio=2
-XX:+LogVMOutput
-XX:LogFile=/home/jack/SUNWappserver/domains/domain1/logs/jvm.log
-cp
/home/jack/SUNWappserver/lib/jhall.jar:/home/jack/SUNWappserver/lib/appserv-launch.jar
com.sun.enterprise.server.PELaunch
start
CORE5076: Using [Java HotSpot(TM) 64-Bit Server VM, Version 1.6.0_17] from [Sun Microsystems Inc.]
SEC1002: Security Manager is OFF.
Using MQ RA for Broker lifecycle control
ADM5801:Admin server channel creation failed.
java.net.SocketException: Invalid argument;|Service com.sun.enterprise.admin.server.core.AdminServiceLifeCycle@5140709 cannot be initialized! : com.sun.appserv.server.ServerLifecycleException: java.rmi.server.ExportException: Listen failed on port: 0; nested exception is:
java.net.SocketException: Invalid argument
CORE5071: An error occured during initialization
com.sun.appserv.server.ServerLifecycleException: java.rmi.server.ExportException: Listen failed on port: 0; nested exception is:
java.net.SocketException: Invalid argument
at com.sun.enterprise.admin.server.core.channel.AdminChannel.createRMIChannel(AdminChannel.java:111)
at com.sun.enterprise.admin.server.core.AdminChannelLifecycle.onInitialization(AdminChannelLifecycle.java:74)
at com.sun.enterprise.admin.server.core.AdminService.init(AdminService.java:319)
at com.sun.enterprise.admin.server.core.AdminServiceLifeCycle.onInitialization(AdminServiceLifeCycle.java:116)
at com.sun.enterprise.server.ApplicationServer.onInitialization(ApplicationServer.java:262)
at com.sun.enterprise.server.ondemand.OnDemandServer.onInitialization(OnDemandServer.java:103)
at com.sun.enterprise.server.PEMain.run(PEMain.java:399)
at com.sun.enterprise.server.PEMain.main(PEMain.java:336)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.enterprise.server.PELaunch.main(PELaunch.java:415)
Caused by: java.rmi.server.ExportException: Listen failed on port: 0; nested exception is:
java.net.SocketException: Invalid argument
at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:312)
at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:218)
at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:393)
at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:129)
at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:190)
at java.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.java:293)
at java.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.java:256)
at java.rmi.server.UnicastRemoteObject.<init>(UnicastRemoteObject.java:155)
at com.sun.enterprise.admin.server.core.channel.AdminChannelServer.<init>(AdminChannelServer.java:102)
at com.sun.enterprise.admin.server.core.channel.AdminChannel.createServerObject(AdminChannel.java:251)
at com.sun.enterprise.admin.server.core.channel.AdminChannel.createRMIChannel(AdminChannel.java:106)
... 12 more
Caused by: java.net.SocketException: Invalid argument
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:365)
at java.net.ServerSocket.bind(ServerSocket.java:319)
at java.net.ServerSocket.<init>(ServerSocket.java:185)
at com.sun.enterprise.admin.server.core.channel.LocalRMIServerSocketFactory.createServerSocket(LocalRMIServerSocketFactory.java:92)
at sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(TCPEndpoint.java:649)
at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:299)
... 22 more
Server Startup failed. Exiting...
Server shutdown in progress...
CORE5061: Exception :
com.sun.appserv.server.ServerLifecycleException
at com.sun.enterprise.admin.server.core.JmxConnectorLifecycle.onShutdown(JmxConnectorLifecycle.java:171)
at com.sun.enterprise.server.ApplicationServer.onShutdown(ApplicationServer.java:553)
at com.sun.enterprise.server.ondemand.OnDemandServer.onShutdown(OnDemandServer.java:145)
at com.sun.enterprise.server.PEMain.run(PEMain.java:427)
at com.sun.enterprise.server.PEMain.main(PEMain.java:336)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.enterprise.server.PELaunch.main(PELaunch.java:415)
CORE5061: Exception :
java.lang.RuntimeException: Admin Server Channel is not initialized
at com.sun.enterprise.admin.server.core.channel.AdminChannel.assertAdminServerChannelNotNull(AdminChannel.java:373)
at com.sun.enterprise.admin.server.core.channel.AdminChannel.setRMIChannelStopping(AdminChannel.java:189)
at com.sun.enterprise.admin.server.core.AdminChannelLifecycle.onShutdown(AdminChannelLifecycle.java:103)
at com.sun.enterprise.admin.server.core.AdminService.stop(AdminService.java:457)
at com.sun.enterprise.admin.server.core.AdminServiceLifeCycle.onShutdown(AdminServiceLifeCycle.java:155)
at com.sun.enterprise.server.ApplicationServer.onShutdown(ApplicationServer.java:553)
at com.sun.enterprise.server.ondemand.OnDemandServer.onShutdown(OnDemandServer.java:145)
at com.sun.enterprise.server.PEMain.run(PEMain.java:427)
at com.sun.enterprise.server.PEMain.main(PEMain.java:336)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.enterprise.server.PELaunch.main(PELaunch.java:415)
Server stopped due to Server startup failure.


i even can not connect a mysql database! the error is:
unable to connect! cannot establish connection to jdbc:mysql://localhost:3306/consult using com.mysql.jdbc.Driver (communications link failure

last packet sent to the server was 0ms ago).
jackgu1988
 
Posts: 17
Joined: 2009-07-22 16:10

Re: serious proxy error after latest updates!

Postby hingerl » 2009-12-08 15:59

maybe you can try this:

http://groups.google.com/group/linux...d099cf65123551

edit /etc/sysctl.d/bindv6only.conf
change 'net.ipv6.bindv6only = 1' to 'net.ipv6.bindv6only = 0'
hingerl
 
Posts: 2
Joined: 2009-12-08 15:54

Re: serious proxy error after latest updates!

Postby bluesdog » 2010-02-06 19:15

Thank you for this.

I'd just done a fresh install of netbeans-ide, and was tearing out what's left of my hair!

:mrgreen:

I made the edit, then did
Code: Select all
invoke-rc.d procps restart

et voila!
Tips & Tricks

Something more to read while waiting

If you obviously have not read THIS, don't expect too much...




*winter bluesdog....*
User avatar
bluesdog
 
Posts: 2082
Joined: 2006-02-01 09:02
Location: Similkameen, British Columbia, Canada

Re: serious proxy error after latest updates!

Postby jordi.castalla » 2010-03-18 17:10

:( Firstly, I cry...Now..... :mrgreen:

Thanks!!!!

This post resolve my problem!!!

Thanks , thanks!
jordi.castalla
 
Posts: 6
Joined: 2010-03-16 11:25


Return to System configuration

Who is online

Users browsing this forum: No registered users and 11 guests

fashionable