Jboss 5.1 GA won't start -Eclipse Kepler - jboss

my Jboss 5.1 only stay in this line
13:09:09,477 INFO [ServerImpl] JBoss (Microcontainer) [5.1.0.GA
(build: SVNTag=JBoss_5_1_0_GA date=200905221634)] Started in 40s:834ms
My overview :
JNDI: 1099
web: 8280
Startup poller: web
Listen on all interfaces OK
JRE /usr/lib/jvm/java-7-oracle

Use the jdk 1.7.0_80 from oracle official site.
Reinstall the jboss 5.1
Use a custom deploy and tmp folder from the server folder
Use the Copy projects into workspace option when you import the project
Uncheck the Deployment Scanners option
I have ten folders in my server: conf, data, default,
deploy, deployers, "MyAppName", lib, log, tmp, log.
Make sure about that!!!

Related

How to upgrade geoserver 2.18 bin.zip to geoserver 2.21 windows installer ( as a service)

I am trying to upgrade geoserver from version 2.18.0 bin.zip to version 2.21.1 (windows installer). If I understand correctly, then 2.18.0 uses a jetty server, and no jetty installation is required, this is provided by the geoserver.
Version 2.18 uses a jetty server, and no jetty installation is required, this is provided by the geoserver. I installed 2.21.1 using the windows installer, first specifying the default address of the data folder. Everything seems to be installed, but the service starts and immediately turns off. How to overcome it? Do I need to install Tomcat first? Do I need to remove the jetty server, if so, how? In the installation of the log - only 3 lines:
ERROR : Nothing to start, exiting ...
Usage: java -jar $JETTY_HOME/start.jar [options] [properties]
[configs] java -jar $JETTY_HOME/start.jar --help # for more
information
Why is the jetty server listed in the log and not the tomcat?
Thank you very much, all works!
So to upgrade geoserver from 2.18 bin.zip to geoserver as service :
Install Tomcat as a service
download Web Archive (instead of Platform independent binary and not windows installer)
Unpack downloaded archive and copy geoserver.war to webapps directory of Tomcate (in my case C:\Program Files\Apache Software Foundation\Tomcat
8.5\webapps)
Restart Tomcate service
In webapps folder of Tomcat will appear directory
geoserver
Store your saved geoserver data folder to geoserver/data directory of Tomcate
restart Tomcat and enjoy

Migration from JBOSS-3.3.2 to JBOSS EAP 7.1

I am in process of migrating one of our web application from JBOSS-3.3.2 to JBOSS EAP 7.1. As Jboss 3 will not support JDK1.8*. I was instructed to migrate the jboss to latest jboss version available in our repository.
I referred the following link but it confuses me as both the versions folder structures are different.
https://access.redhat.com/documentation/en-us/red_hat_jboss_enterprise_application_platform/7.1/html-single/installation_guide
One thing I understood is I have to use standalone/deployments folder for my application(war) to be deployed.
In 3.x we have run.jar, run.sh, run.conf. But in newer versions these are not available instead we have jboss-eap.conf, jboss-eap-rhel.sh but no run.jar any where.
Is there any guide or steps available to be followed for migration.
I was not able to find in google.
In the latest JBoss EAP, you have to start the JBoss EAP server using standalone.sh (for standalone mode) or domain.sh(for domain mode) file.
The .sh file is located under $JBOSS_HOME/bin directory.
For configuration, you can configure using standalone.conf or standalone.xml file in standalone mode and for domain mode, you have to add configuration inside domain.xml file.
For migration please refer to the official document.

Eclipse with Tomcat7, where my application is running from?

When working with Apache Tomcat I know to look for my .war file in %CATALINA_HOME%/webapps. Running Eclipse MARS with Tomcat plugin - the webapps directory is empty.
Eclipse is installed at C:/eclipse/
Tomcat is installed at C:/tomcat7/
Using Windows 10 and Java 1.8.0_131
JAVA_HOME=C:/Program Files/java/1.8.0_131/
CATALINA_HOME=C:/tomcat7/
From where Eclipse with its Tomcat plugin is running my web application?
The default setting of the eclipse tomcat plugin (WTP) would configure a separate server instance which its root folder is specified by CATALINA_BASE. This server instance will has its own configuration and webapps folder under CATALINA_BASE.
The value of the CATALINA_BASE can be configured from the following UI:
So , in the above configuration , the war will be deployed to $project_workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp3\wtpwebapps\

Jboss 6 in Eclipse runtime installation configuration directory

I have an existing JBoss project on which I am working on.
Currently every time I make a change, even to a JSP file, I have to run an ANT build to make a EAR file and then import the file in JBoss localhost that I started from the command line.
I would like to run JBoss in Eclipse to make development easier.
I have installed JBoss Tools from Eclipse's Marketplace. However, when I try to install a runtime environment, I cannot get past the configuration screen. Even when I point the configuration directory to the directory with my standalone.xml.
This is the picture of screen I cannot pass
Any ideas?
On your New Server Runtime Environment window, instead of selecting JBoss 6.x Runtime from the JBoss Community folder option, you should instead select the folder Red Hat JBoss Middleware and choose the JBoss Enterprise Application Platform 6.1+ Runtime:
That's the runtime suited for JBoss EAP 6.4.0.
Afterwards you just need to set your Home Directory path.

Jboss 7 and eclipse indigo plug in giving error while starting server?

I installed Eclipse indigo and jboss 7 server and jboss server plugins installed for struts2 application.
I created simple application with jsp page and deployed in to jboss7 server ( i installed server ,run from out side of eclipse and i saw new features of jboss 7 ) after deploying application .
I want to start the server but server giving error like " Error:no server JVM at c:\java\jre1.6\bin\server\jvmdll"
help me for this issue.
thanks
param
I also had this problem and did not find where I could set the JVM for JBoss in Eclipse Indigo. I got JBoss 7 working by removing the JRE6 from installed JREs in Eclipse and only having JDK6 there. I also changed JRE6 to JDK6 by double clicking the JBoss server -> Open launch configuration -> Classpath -> Bootstrap Entries.
After this I readded JRE6 to Eclipse for the projects that used it.
change jvm in jboss's tomcat conf from
C:\Program Files\Java\jre6\bin\server\jvm.dll
to
C:\Program Files\Java\jre6\bin\client\jvm.dll
I posted the below answer here
I've just been struggling with this same problem in Eclipse and I noted that as suggested by the answer above the JBoss site has a thread on this issue saying the same as the answer above to copy files from the jdk to the jre folder.
I noticed that you can avoid having to do this if you define the runtime to be the jdk when you create the server. I didn't find how to edit an existing server though.