Go Premium for a chance to win a PS4. Enter to Win

x

Java App Servers

Java application servers that support the Java EE platform and features include JOnAS from Object Web, WildFly (formerly JBoss AS) from JBoss, Geronimo from Apache, TomEE from Apache, Resin Java Application Server from Caucho Technology, Blazix from Desiderata Software, Enhydra Server from Enhydra.org, and GlassFish from Oracle. Commercial Java app servers include WebLogic by Oracle, WebSphere from IBM and the open source JBoss Enterprise Application Platform (JBoss EAP) by Red Hat.

Share tech news, updates, or what's on your mind.

Sign up to Post

I am using Active MQ 5.13.1 and Master/Slave Active MQ topology configured.
Slave node is getting stopped when database switch happens.

<-- Wrapper Stopped

Tried following auto reconnect configuration, from activemq.xml but no luck

     <persistenceAdapter>
                   			
    			<jdbcPersistenceAdapter dataDirectory="activemq-data" dataSource="#mssql-ds" lockKeepAlivePeriod="5000" > 
    				<locker>
    					<database-locker lockAcquireSleepInterval="30000" />
    				</locker>
    			</jdbcPersistenceAdapter>
    		</persistenceAdapter>

Open in new window

0
Concerto Cloud for Software Providers & ISVs
LVL 5
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

padserver/padErr.txt

==> /usr/local/pad/padserver/padOut.txt <==

---- java.library.path   ../lib/dll;/usr/local/pad\lib\dll\sys32

---- java.ext.dirs   /usr/java/jdk1.7.0_79/jre/lib/ext:/usr/local/pad/lib/ext



 checkFileInPath jspWin.dll   exists false

 checkFileInPath x25lyra.dll   exists false




==> /usr/local/pad/padserver/padErr.txt <==

java.lang.OutOfMemoryError: Java heap space

java.lang.OutOfMemoryError: Java heap space

java.lang.OutOfMemoryError: Java heap space

java.lang.OutOfMemoryError: Java heap space

java.lang.OutOfMemoryError: Java heap space

java.lang.OutOfMemoryError: Java heap space

java.lang.OutOfMemoryError: Java heap space

java.lang.OutOfMemoryError: Java heap space

java.lang.OutOfMemoryError: Java heap space

java.lang.OutOfMemoryError: Java heap space


Hi Experts

we get above Java heap space error on our servers due to this we face other issues on server. kindly help.
0
What does the "Wrap JDBC Objects " mean in GlassFish under Navigate to JDBC -> Connection Pools -> Derby Pool In the advanced tab ? When should it be enabled  ?

Thx
0
Hi,

In eclipse i have TestWeb project with bunch of jsp and html files in eclipse. I right clicked on it and copied. Then i pasted then eclipse asked name TestWeb2 ok? i said yes. I created TestWeb2. Now when i try to run TestWeb 2 tomcat9 complains

Could not publish server configuration for Tomcat v9.0 Server at localhost.
Multiple Contexts have a path of "/TestWeb".

how to change the context name or path so that i can run TestWeb2 project as well in tomcat ?
please advise
0
Hi,

I have existing project zip file(say ProjectOld.zip) which i imported to eclipse.
when i tried to add that to tomcat server from eclipise i am getting error as attached like tomcat 7 support only java ee 5,6 web module. why i get this error. How to resolve it.
when i added to Redhat EAP server 7 it aded sucesfully. I am able to go to login page. when i try to login i get eror in console like below

09:33:31,654 ERROR [stderr] (default task-2) java.lang.ClassNotFoundException: com.mysql.jdbc.Driver from [Module "deployment.ProjectOld.war:main" from Service Module Loader]
why i get above errort and how to resolve.
 please advise.
tomcat7.png
0
I want to use my android apps without any android simulator easily.
I want to use asphalt extreme for pc , but without bluestacks. Mostly all sites are giving reference of emulators. But it hangs my computer badly. And even sometime I need to restart it.

Is their any method of using such android apps just like the way we use it on our mac like just a click on the app icon and we could play it easily.

It would be really thankful to you for such great help.

Regards
- Palak Joshi
0
Hi,

When i tried below simple hibernate example from eclipse it worked fine.(i just downloaded source code from link and imported general project and then archive file)

http://www.javatpoint.com/example-to-create-hibernate-application-in-eclipse-ide



When i tried from command prompt i am getting below error while compiling
http://www.javatpoint.com/steps-to-create-first-hibernate-application

hibernate\example>javac *.java
Note: StoreData.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

i tried as below

hibernate\example>javac -Xlint:unchecked StoreData.java
Note: StoreData.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.


still not working how to fix it/

please advise
hibernate1.png
hibernate2.png
0
Hi,

I would like to get attached hibernate jars. What is best and easy way to download them.

antlr-2.7.7
dom4j-1.6.1
hibernate-commons-annotations-4.0.5
hibernate-core-4.3.11
hibernate jpa 2.1
jandex 1.1.0
javaassist 3.8.1
jboss-logging 3.1.3
jboss-logging-annotation
jboss-transaction-api
 please advise
0
we developed java/adf  application published over the internet.

Below is the order of accessing the server  app URL

F5 LBR  --->    OHS server  --> Weblogic server

when try to access the URL from  
 Mircosoft IE --> it is Good

Chrome      -> redirecting  HTTPS  url --to-> HTTP,   thus application not able to access

Firefox       ->  redirecting  HTTPS  url --to-> HTTP,   thus application not able to access

Can you please, advise any further settings are required here, browser side or Else where
0
We have a few sites that run tomcat and im looking for the best starter references to learn how to manage tomcat. eventually i want to be able to manage the SSL functionality and replace the self issued certs.
0
Free Tool: ZipGrep
LVL 11
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Hi,
I have noticed the attached error in Weblogic Server and the user mentioned that the application client crashed on him.
I could not find much on google related to this.

Please help!

Thanks!
wls_error.txt
0
We are using JavaScript environment inside of another product.

I would like some code that would list all of the functions that are available ?

Its simple to interrogate an object for all of its methods and properties.
But how do we list all the possible top level objects/Methods/Properties that java and/or the vendor may have exposed ?

Thanks
0
I have to learn JAVA,

Which book would get me started.

I had some class room lessons about 5 years ago.

And that is the only background i have

Toni
0
We try to print from this link:
http://coupons2.smartsource.com/smartsource/index.jsp?Link=2Z3E3OLYYRZIQ

We get different errors depending on which browser we use.
FF gets "the plugin has vulnerabilities" and the window closes and we get this:
Java and Browser version requirement verification is not successful!
System Details       Current Version      Supported Version
             
Browser       Firefox 48      Firefox 48
Operating System       Windows Vista      Windows Vista
Java/JRE Version       Java Not Detected       1.6.0

We meet all the requirements for Firefox.

Using IE9.0 which by the way has always in recent weeks been the fix for this problem because Windows can find Java and other  browsers appear to have some issue, we get a different message.

Same for Safari which the wesbite recommends along with FF and IE.
They are compatible with Vista.
And the exact same link above will not print on a friends system and they have IE 11 and Windows 7 and they can not print either from the same link.

One error we get is about the version of Java but we have the latest version. Another error is something related to Java Security.
To heck with security we want Java to print anything we choose.

We have added the www.smartsource site to the exceptions in Java and that does not work.
Here is some message we got.

We did last week get results by going straight to smart source dot com instead of through a 3rd party site and that fails today. Another site which also uses java is coupons dot com.…
0
Hi,
I'm new to EE and a novice with Java.   I am in the middle of making changes to an existing piece of Java Code.   My objective is to add a link which points to a csv file which is created in java at the same time it creates the email with same content.   However, I'm using a compiler (Eclipse) which I am totally unfamiliar with.  The code runs server side and generates emails from the network.   I am debugging client side, and do not have the authority to create the emails on my machine. (Generates loads of errors).

When I select the changed section of code and try step into or to display or inspect, I get multiple errors.   Any suggestions on how to test what I changed?   I need to produce the csv file.

Here is the function that I modified.   If you see anything glaring, please point it out.   Or, if you have a work around to run the code for full testing, I would be grateful.    Thank you!

	private String fillFilesProcessedReport(String vendor, String logPath)
	{

		String content ="";
		String line="";
		String[] splitResults;
		ArrayList fileNames = new ArrayList();
		ArrayList fileContents= new ArrayList();
		String fileName="";
		String indexContents="";
		
		maxIndexFileNameLength=19;
		processedCnt=0;
		if(vendorNumber == 0 )
		{
			content += "The following files have been processed succesfully through the LifeFTP Process.\n";
			//content += "Please click here for the excel spreadsheet:  \\\\svdw-img1\\image\\FTP\\LifeFTPCRL\\Logs\\output.csv   

Open in new window

0
I am using Spring MVC framework to develop my Java Web application.
I put a config.properties under src/main/resources.
a=1
c=2

Open in new window

In my Spring MVC controller, I use code like below to retrieve the config value.
                        InputStream inputStream = getClass().getClassLoader().getResourceAsStream(propFileName);
			if(null != inputStream) {
				prop.load(inputStream);
			} else {
				throw new FileNotFoundException("property file not found in the classpath");
			}
			
			a = prop.getProperty("a");
			b = prop.getProperty("b");

Open in new window


And then I packaged the project with "mvn clean package" and deployed the war into Tomcat's webapps folder.

However, with this approach, my config.properties is packaged into the war and it is hard to change.

So would some one please provide a way to solve this problem? Can I use spring to read external config file? Please note that I need to read the config file every time the controller method is called instead of loading it when spring starts. Thanks!
0
I had this question after viewing how can a drools rule file output and input be used as a part of SOAP request?.

I want to go through Basics of Drool Rule Engine with few samples. It should cover how Java interacts with Drool.
0
Hi People,

Can anyone please suggest me which log files I can delete in the below directory from Windows VCenter 5.1 U1:

C:\Program Files\VMware\Infrastructure\SSOServer\logs
C:\Program Files\VMware\Infrastructure\tomcat\logs
C:\ProgramData\VMware\VMware VirtualCenter\Logs
C:\ProgramData\VMware\VMware Update Manager\Logs 

Open in new window


I need to clear up some disk space in physical server before upgrading it to VCenter 5.5 U3e.

Thanks,
0
I'm wondering if its possible to use JKS as an alternative to zookeeper or databases..
im writing an app that has some important information that needs to be created upon startup, this information should be kept safe/secure/encrypted.  upon shutting down the app, i'd like the created info to be stored on disk, and next time server starts back up to load this info from .jks file... im pretty sure its possible but i've yet experience a situation where someoen stored more then just a hash/pw/private key in a .jks file...

i've read " The keystore a database which holds encrypted information and the information about how to decrypt it. If you do not specify a keystore, the default keystore to use is a file called .keystore in your home directory." from https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/6/html/Administration_and_Configuration_Guide/Create_a_Java_Keystore_to_Store_Sensitive_Strings.html so hence my question.

thx for the feedback
0
Ask an Anonymous Question!
LVL 11
Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

I have to install JDK1.7_67 32 on a server as a prerequisite for an application. I tried a lot but could not download this. can anyone help me with a link from where I can download the version of JDK
0
Hi,
We have the tomcat variables set in the tomcatw.exe  JAVA options on windows, but I want to get the Java Initial memory and Java Max memory settings results in command line.

I tried jinfo -flags pid and catalina.exe version

Please help me with the command to get the initial memory and max memory pool settings of a tomcat instance.

Thanks
0
Hi Experts,

I am trying to deploy a Spring web application to Tomcat 7.0.24 but it hangs upon startup.
Please find the attachment.
exception.png
0
classorobject.png
In this photo, which section of the code would be the Object and Class. If there are multiple objects/classes, please list them all.
0
0
Hi,
I'm using LibreOffice 5.1.2.2 x64 on Win 7 and get this
4p.pngwhen I'm to run macro. Which Java runtime should I setup? Where is the download?
0

Java App Servers

Java application servers that support the Java EE platform and features include JOnAS from Object Web, WildFly (formerly JBoss AS) from JBoss, Geronimo from Apache, TomEE from Apache, Resin Java Application Server from Caucho Technology, Blazix from Desiderata Software, Enhydra Server from Enhydra.org, and GlassFish from Oracle. Commercial Java app servers include WebLogic by Oracle, WebSphere from IBM and the open source JBoss Enterprise Application Platform (JBoss EAP) by Red Hat.

Top Experts In
Java App Servers
<
Monthly
>