Good day.
I am trying to start jboss as 7.1.1 final server(eclipse).
I installed JBoss tools, downloaded JBoss Application Server (AS), extracted zip file, opened eclipse and added server. Then, I configured server, started it.
Console output is:
12:39:13,338 INFO [org.jboss.modules] JBoss Modules version 1.1.1.GA
12:39:13,720 INFO [org.jboss.msc] JBoss MSC version 1.0.2.GA
12:39:13,781 INFO [org.jboss.as] JBAS015899: JBoss AS 7.1.1.Final "Brontes" starting
Then I typed
> http://localhost:8080
in browser and shouldn't able to see the JBoss AS Welcome screen. I saw "This webpage is not available".
Have someone already have the same situation?
Related
My application architecture is: ear->war (based on Maven).
The IDE I use is IntelliJ IDEA.
I used the exploded mode to deploy.
My JBoss version is 4.2.
Why did JBoss start before it was deployed?
The log of JBoss startup is as follows:
16:07:06,838 INFO [Server] JBoss (MX MicroKernel) [4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)] Started in 5s:842ms
Connected to server
[2019-02-01 04:07:06,856] Artifact application-jiangsu:ear exploded: Artifact is being deployed, please wait...
16:07:06,867 INFO [EARDeployer] Init J2EE application: file:/Users/zhanshifeng/Documents/ccssoftDocument/workSpace/js-zhdd-idea/application-jiangsu/target/application-jiangsu-1.0.77-SNAPSHOT.ear/
16:07:07,147 INFO [EARDeployer] Started J2EE application: file:/Users/zhanshifeng/Documents/ccssoftDocument/workSpace/js-zhdd-idea/application-jiangsu/target/application-jiangsu-1.0.77-SNAPSHOT.ear/
[2019-02-01 04:07:07,155] Artifact application-jiangsu:ear exploded: Artifact is deployed successfully
[2019-02-01 04:07:07,155] Artifact application-jiangsu:ear exploded: Deploy took 299 milliseconds
JBoss deployment requires communication with the server via JXM so that IDE can instruct it where the web app is located and ask it to load it from that location. Obviously, it's not possible when the server is stopped.
Good Day,
I am trying to learn how to use java with wildfly.
I am able to start wildfly with no problems on my Win 10 machine in standalone mode. I was able to work through the tutorials with no problems.
I have now tried to use my server environment but I cant seem to start wildfly with the domain config.
I initially had an error with -XX:MaxMetaspaceSize=256m and found out that I needed to update my JAVA.
I have been scouring the internet for any help on the configuration, message, warnings and errors that wildfly gives but cant seem to find a similar problem. Also looked at each console and port configuration issue that I could find discussed but nothing I change seems to affect it.
Any help would be appreciated.
I have wildfly-10.0.0.Final available with PATH variable set.
I am using Windows Server 2008 R2 x64bit VM Server.
I have jdk1.8.0_91.
I am getting the problem while trying to start server with domain.bat
The result is:
Calling "C:\inetpub\wwwroot\winterpol\wildfly\bin\domain.conf.bat"
Setting JAVA property to "C:\Program Files (x86)\Java\jre8_92\bin\java"
===============================================================================
JBoss Bootstrap Environment
JBOSS_HOME: "C:\inetpub\wwwroot\winterpol\wildfly"
JAVA: "C:\Program Files (x86)\Java\jre8_92\bin\java"
JAVA_OPTS: "-Xms64M -Xmx512M -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -server"
===============================================================================
14:00:30,991 INFO [org.jboss.modules] (main) JBoss Modules version 1.5.1.Final
14:00:31,179 INFO [org.jboss.as.process.Host Controller.status] (main) WFLYPC0018: Starting process 'Host Controller'
[Host Controller] 14:00:31,743 INFO [org.jboss.modules] (main) JBoss Modules version 1.5.1.Final
[Host Controller] 14:00:31,930 INFO [org.jboss.msc] (main) JBoss MSC version 1.2.6.Final
[Host Controller] 14:00:31,993 INFO [org.jboss.as] (MSC service thread 1-7) WFLYSRV0049: WildFly Servlet 10.0.0.Final (WildFly Core 2.0.10.Final) starting
[Host Controller] 14:00:32,664 INFO [org.jboss.as.host.controller] (Controller Boot Thread) WFLYHC0003: Creating http management service using network interface (management) port (9990) securePort (-1)
[Host Controller] 14:00:32,679 INFO [org.xnio] (MSC service thread 1-1) XNIO version 3.3.4.Final
[Host Controller] 14:00:32,679 INFO [org.xnio.nio] (MSC service thread 1-1) XNIO NIO Implementation Version 3.3.4.Final
[Host Controller] 14:00:32,757 INFO [org.jboss.remoting] (MSC service thread 1-1) JBoss Remoting version 4.0.18.Final
[Host Controller] 14:00:32,788 INFO [org.jboss.as.remoting] (MSC service thread 1-1) WFLYRMT0001: Listening on 127.0.0.1:9999
[Host Controller] 14:00:32,788 WARN [org.jboss.as.domain.http.api.undertow] (MSC service thread 1-4) WFLYDMHTTP0003: Unable to load console module for slot main, disabling console
[Host Controller] 14:00:33,100 ERROR [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0369: Required capabilities are not available:
[Host Controller] org.wildfly.domain.server-group.other-server-group in context 'server-config'; There are no known registration points which can provide this capability.
[Host Controller] 14:00:33,100 FATAL [org.jboss.as.host.controller] (Controller Boot Thread) WFLYHC0034: Host Controller boot has failed in an unrecoverable manner; exiting. See previous messages for details.
[Host Controller] 14:00:33,132 INFO [org.jboss.as] (MSC service thread 1-6) WFLYSRV0050: WildFly Servlet 10.0.0.Final (WildFly Core 2.0.10.Final) stopped in 11ms
14:00:33,615 INFO [org.jboss.as.process.Host Controller.status] (reaper for Host Controller) WFLYPC0011: Process 'Host Controller' finished with an exit status of 99
14:00:33,615 INFO [org.jboss.as.process] (Thread-8) WFLYPC0017: Shutting down process controller
14:00:33,615 INFO [org.jboss.as.process] (Thread-8) WFLYPC0016: All processes finished; exiting
This was a known issue with the WildFly Servlet distribution. There is a workaround on the JIRA (WFLY-6201). Basically the other-server-group profile is missing and needs to be added.
I fight with glassfish on eclipse through 2 days and I still can't run my server. When I try to start my server, (loading) progress bar hangs on 69% and obtain message like:
Unable to start server on time
java.util.concurrent.timeoutexception
Server does something like that:
1. [Starting, synchronized] (btw. in web browser server works only for few seconds but still doesn't see index.html. It displays default page of GlassFish server with message Your server is now running and then localhost doesn't want to respond anymore)
2. [Stopped]
and I can't achieve state of server: [Started, synchronized]
Btw. I was using Tomcat Server and i hadn't issues to start it.
I have:
Windows 7 x64
Eclipse Kepler
JDK 1.8
JRE 1.8
GlassFish 4.0 - which I downloaded using Eclipse
and here are logs from console:
Running GlassFish Version: GlassFish Server Open Source Edition 4.0 (build 89)
Server log file is using Formatter class: com.sun.enterprise.server.logging.ODLLogFormatter
SEC1115: Realm [admin-realm] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created.
SEC1115: Realm [file] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created.
SEC1115: Realm [certificate] of classtype [com.sun.enterprise.security.auth.realm.certificate.CertificateRealm] successfully created.
Grizzly Framework 2.3.1 started in: 60ms - bound to [/0.0.0.0:8�080]
Grizzly Framework 2.3.1 started in: 0ms - bound to [/0.0.0.0:8�181]
Grizzly Framework 2.3.1 started in: 0ms - bound to [/0.0.0.0:4�848]
Authorization Service has successfully initialized.
Grizzly Framework 2.3.1 started in: 0ms - bound to [/0.0.0.0:3�700]
Registered org.glassfish.ha.store.adapter.cache.ShoalBackingStoreProxy for persistence-type = replicated in BackingStoreFactoryRegistry
GlassFish Server Open Source Edition 4.0 (89) startup time : Felix (1�824ms), startup services(940ms), total(2�764ms)
HV000001: Hibernate Validator 5.0.0.Final
Initiating Jersey application, version Jersey: 2.0 2013-05-03 14:50:15...
Grizzly Framework 2.3.1 started in: 0ms - bound to [/0.0.0.0:7�676]
Registered com.sun.enterprise.glassfish.bootstrap.osgi.EmbeddedOSGiGlassFishImpl#13dbed9e as OSGi service registration: org.apache.felix.framework.ServiceRegistrationImpl#41da3aee.
JMXStartupService has started JMXConnector on JMXService URL service:jmx:rmi://Risen-Komputer:8686/jndi/rmi://Risen-Komputer:8686/jmxrmi
What can I do to stary my GlassFish on Eclipse Kepler IDE ?
This is a known bug with GlassFish tools for Eclipse.
There is an open issue on the GitHub repository for Payara (derived from GlassFish) which applys to Mac OS X and Windows:
https://github.com/payara/Payara/issues/370
The only workaround there currently is to:
do everything manual (start/stop/deploy GF from command line) and then just attach Eclipse via a remote debugger
When I try to start JBoss EAP 6.2 in Eclipse Mars the console output always end with:
2016-03-08 08:15:21,978 INFO [as] [.|||] JBAS015961: Http management interface listening on http://0.0.0.0:9990/management
2016-03-08 08:15:21,979 INFO [as] [.|||] JBAS015951: Admin console listening on http://0.0.0.0:9990
2016-03-08 08:15:21,979 INFO [as] [.|||] JBAS015874: JBoss EAP 6.2.4.GA (AS 7.3.4.Final-redhat-1) started in 6468ms - Started 471 of 614 services (118 services are passive or on-demand)
And then it's getting error periodically till it's terminated:
2016-03-08 08:08:48,810 ERROR [connection] [.|||] JBREM000200: Remote connection failed: java.io.IOException: Received an invalid message length of 1195725856
Nothing is being deployed (not from eclipse, either deployments folder is empty).
When I close Eclipse Mars and reopen the same workspace with Eclipse Kepler the JBoss EAP 6.2 strats fine.
Can anyone help?
This morning I tried to start JBoss and everything works fine, I really don't know what happend because I hadn't done anything. Never mind, everything works fine. Thanx guys for trying to help.
I am trying to run the JBoss server on Netbeans but the log is blocked at something like:
[org.jboss.as] JBAS015899: JBoss AS 7.1.1.Final "Brontes" starting
The entire log is :
Calling "C:\jboss-as-7.1.1.Finale\bin\standalone.conf.bat"
"JAVA_OPTS already set in environment; overriding default settings with values : -Xms128mx -Xmx512ms -XX:MaxPermSize=256m"
___________________________
JBoss Bootstrap Environment
JBOSS_HOME: C:\jboss-7.1.1.Final
JAVA: C:\Program Files\Java\jdk1.8.0_65\bin\java
JAVA_OPTS: -XX:+TieredCompilation -Dprogram.name=standalone.bat - Xms128m -Xmx512m -XX:MaxPermSize=256m
__________________________
INFOS [org.jboss.modules]JBoss Modules version 1.1.1.GA
INFO [org.jboss.msc] JBoss MSC version 1.0.2.GA
INFO [org.jboss.as] JBAS015899: JBoss AS 7.1.1.Final "Brontes" starting
I saw that the jboss repertory should be at the source (C:); I did. My environment variables must be good :
JAVA_HOME : C:\Program Files\Java\jdk1.7.0_65
JBOSS_HOME : C:\jboss-as-7.1.1.Final
JBOSS_CONF : default
When I added the server on Netbeans :
1- I chose the "JBoss Application Server
2- I chose the Server Location : c:\jboss-as-7.1.1.Final
3- The properties : Domain : standalone ; Domain Path : C:\jboss-as-7.1.1.Final\standalone ; Host : localhost ; Port : 8081
Can someone help me and tell me what's wrong ?
Thanks
Looks like you are trying to start JBoss 7.1.1 with Java 8, which is not supported.
You wrote that your JAVA_HOME is set to C:\Program Files\Java\jdk1.7.0_65, but the log shows that JBoss was started with jdk1.8.0_65.
JAVA: C:\Program Files\Java\jdk1.8.0_65\bin\java
So it seems that the JAVA_HOME variable is not picked up by the start script.
Try starting JBoss with Java 7.