This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I'm trying to run JBoss Application Server in NetBeans, but it don't start. If I test it in Web Browser, it's ok, but NetBeans think is not start yet. If I try to run it again, it show the exception bellow. I have used JBoss 4.0.4 and 6.0.0.M2 Netbeans Build: 201003081350 Starting Message: ========================================================================= JBoss Bootstrap Environment JBOSS_HOME: /home/72330554168/Programas/jboss-6.0.0.20100216-M2 JAVA: /usr/lib/jvm/java-6-openjdk/bin/java JAVA_OPTS: -Dprogram.name=run.sh -server -Xms128m -Xmx512m -Djava.net.preferIPv4Stack=true CLASSPATH: /home/72330554168/Programas/jboss-6.0.0.20100216-M2/bin/run.jar:/usr/lib/jvm/java-6-openjdk/lib/tools.jar ========================================================================= 08:32:54,206 INFO [AbstractJBossASServerBase] Server Configuration: JBOSS_HOME URL: file:/home/72330554168/Programas/jboss-6.0.0.20100216-M2/ Bootstrap: $JBOSS_HOME/server/default/conf/bootstrap.xml Common Base: $JBOSS_HOME/common/ Common Library: $JBOSS_HOME/common/lib/ Server Name: default Server Base: $JBOSS_HOME/server/ Server Library: $JBOSS_HOME/server/default/lib/ Server Config: $JBOSS_HOME/server/default/conf/ Server Home: $JBOSS_HOME/server/default/ Server Data: $JBOSS_HOME/server/default/data/ Server Log: $JBOSS_HOME/server/default/log/ Server Temp: $JBOSS_HOME/server/default/tmp/ 08:32:54,219 INFO [AbstractServer] Starting: JBossAS [6.0.0.20100216-M2 (build: SVNTag=JBoss_6_0_0_20100216-M2 date=20100216)] 08:32:54,515 INFO [AbstractMCServerBase] Starting Microcontainer, Main bootstrapURL=file:/home/72330554168/Programas/jboss-6.0.0.20100216-M2/server/default/conf/bootstrap.xml 08:32:55,045 INFO [VFSCacheFactory] Initializing VFSCache [org.jboss.virtual.plugins.cache.CombinedVFSCache] 08:32:55,047 INFO [VFSCacheFactory] Using VFSCache [CombinedVFSCache[real-cache: null]] 08:32:55,283 INFO [CopyMechanism] VFS temp dir: /home/72330554168/Programas/jboss-6.0.0.20100216-M2/server/default/tmp 08:32:55,297 INFO [ZipEntryContext] VFS force nested jars copy-mode is enabled. 08:32:56,553 INFO [ServerInfo] Java version: 1.6.0_0,Sun Microsystems Inc. 08:32:56,555 INFO [ServerInfo] Java Runtime: OpenJDK Runtime Environment (build 1.6.0_0-b11) 08:32:56,556 INFO [ServerInfo] Java VM: OpenJDK Server VM 1.6.0_0-b11,Sun Microsystems Inc. 08:32:56,556 INFO [ServerInfo] OS-System: Linux 2.6.24-27-generic,i386 08:32:56,556 INFO [ServerInfo] VM arguments: -Dprogram.name=run.sh -Xms128m -Xmx512m -Djava.net.preferIPv4Stack=true -Djava.endorsed.dirs=/home/72330554168/Programas/jboss-6.0.0.20100216-M2/lib/endorsed 08:32:56,592 INFO [JMXKernel] Legacy JMX core initialized 08:33:01,528 INFO [AbstractServerConfig] JBoss Web Services - Native Server 3.3.0.Beta2 08:33:08,186 INFO [JMXConnectorServerService] JMX Connector server: service:jmx:rmi://127.0.0.1/jndi/rmi://127.0.0.1:1090/jmxconnector 08:33:09,567 INFO [MailService] Mail Service bound to java:/Mail 08:33:10,353 WARN [JBossASSecurityMetadataStore] WARNING! POTENTIAL SECURITY RISK. It has been detected that the MessageSucker component which sucks messages from one node to another has not had its password changed from the installation default. Please see the JBoss Messaging user guide for instructions on how to do this. 08:33:10,414 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083/ 08:33:11,219 INFO [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/lib/jvm/java-6-openjdk/jre/lib/i386/server:/usr/lib/jvm/java-6-openjdk/jre/lib/i386:/usr/lib/jvm/java-6-openjdk/jre/../lib/i386:/usr/lib/jvm/java-6-openjdk/jre/lib/i386/client:/usr/lib/jvm/java-6-openjdk/jre/lib/i386:/usr/lib/jvm/java-6-openjdk/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib 08:33:11,276 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-127.0.0.1-8080 08:33:11,277 INFO [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-127.0.0.1-8009 08:33:11,294 INFO [StandardService] Starting service jboss.web 08:33:11,297 INFO [StandardEngine] Starting Servlet Engine: JBoss Web/3.0.0-beta-2 08:33:11,343 INFO [Catalina] Server startup in 65 ms 08:33:11,371 INFO [TomcatDeployment] deploy, ctxPath=/invoker 08:33:11,965 INFO [RARDeployment] Required license terms exist, view vfszip:/home/72330554168/Programas/jboss-6.0.0.20100216-M2/server/default/deploy/jboss-local-jdbc.rar/META-INF/ra.xml 08:33:11,983 INFO [RARDeployment] Required license terms exist, view vfszip:/home/72330554168/Programas/jboss-6.0.0.20100216-M2/server/default/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml 08:33:11,990 INFO [RARDeployment] Required license terms exist, view vfszip:/home/72330554168/Programas/jboss-6.0.0.20100216-M2/server/default/deploy/jms-ra.rar/META-INF/ra.xml 08:33:12,002 INFO [RARDeployment] Required license terms exist, view vfszip:/home/72330554168/Programas/jboss-6.0.0.20100216-M2/server/default/deploy/mail-ra.rar/META-INF/ra.xml 08:33:12,020 INFO [RARDeployment] Required license terms exist, view vfszip:/home/72330554168/Programas/jboss-6.0.0.20100216-M2/server/default/deploy/quartz-ra.rar/META-INF/ra.xml 08:33:12,111 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: Thread-2 08:33:12,133 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created. 08:33:12,136 INFO [RAMJobStore] RAMJobStore initialized. 08:33:12,136 INFO [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties' 08:33:12,136 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2 08:33:12,136 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started. 08:33:12,600 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS' 08:33:13,046 INFO [ServerPeer] JBoss Messaging 1.4.6.GA server [0] started 08:33:13,198 INFO [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds 08:33:13,198 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@d6ddda started 08:33:13,212 INFO [QueueService] Queue[/queue/DLQ] started, fullSize=200000, pageSize=2000, downCacheSize=2000 08:33:13,214 INFO [QueueService] Queue[/queue/ExpiryQueue] started, fullSize=200000, pageSize=2000, downCacheSize=2000 08:33:13,214 INFO [ConnectionFactoryJNDIMapper] supportsFailover attribute is true on connection factory: jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post office is non clustered. So connection factory will *not* support failover 08:33:13,215 INFO [ConnectionFactoryJNDIMapper] supportsLoadBalancing attribute is true on connection factory: jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post office is non clustered. So connection factory will *not* support load balancing 08:33:13,216 INFO [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds 08:33:13,216 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@1231a68 started 08:33:13,217 INFO [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds 08:33:13,217 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@114ad15 started 08:33:13,305 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA' 08:33:13,359 INFO [TomcatDeployment] deploy, ctxPath=/ 08:33:13,416 INFO [service] Removing bootstrap log handlers 08:33:13,519 INFO [org.jboss.system.server.profileservice.ProfileServiceBootstrap] Loading profile: ProfileKey@1ed9d41[domain=default, server=default, name=default] 08:33:13,535 INFO [org.apache.coyote.http11.Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080 08:33:13,538 INFO [org.apache.coyote.ajp.AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009 08:33:13,538 INFO [org.jboss.bootstrap.impl.base.server.AbstractServer] JBossAS [6.0.0.20100216-M2 (build: SVNTag=JBoss_6_0_0_20100216-M2 date=20100216)] Started in 19s:317ms Exception when I try to start it again: init: deps-module-jar: deps-ear-jar: deps-jar: library-inclusion-in-archive: library-inclusion-in-manifest: compile: compile-jsps: Starting JBoss Application Server JBoss Application Server Start Failed. HTTP Connector port 8080 is already in use. /home/72330554168/Projetos/Orçamento/Implementação/Atual/Orcamento/nbproject/build-impl.xml:699: Deployment error: JBoss Application Server Start Failed. HTTP Connector port 8080 is already in use. See the server log for details. BUILD FAILED (total time: 1 second)
Created attachment 97765 [details] patch for correct detection of current server (JBoss6) state
Attached patch is probably not the best one but fixes this issue (at least for JBoss6-M2). Feel free to reuse ;-)
Is there any possible workaround to have netbeans starts JBOSS 6 M2 properly?
Not at this point. Without the attached patch NetBeans are even not able to correctly detect server's state.
Fixed in web-main d7baf5d95242. Thanks for the patch.
Comment on attachment 97765 [details] patch for correct detection of current server (JBoss6) state How do I install the patch, copy text, replace an existing file, create new file... name??
so how do I install the patch? It appears to be a file I need to create somewhere or over write a file somewhere? I am new to netbeans and don't find there is enough information here for me to get jboss version 6 fixed with this?
I took the time to compile everything that is needed to make NetBeans 6.9 work with JBoss 6 and the information may be found here http://www.paulomotta.pro.br/2011/05/14/netbeans-6-9-jboss-6-support-to-use-icefaces-2-0/