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

Current:

CATALINA_OPTS="-Xmx14g \
-XX:MaxPermSize=4g \
-Xms8g \
-Denv=live \
-DcreditpalEnv=live \
-Djavax.net.ssl.keyStore=/opt/tomcat-deploy/val-conf/xer_certificate.p12 \
-Djavax.net.ssl.keyStorePassword=Monday \
-Djavax.net.ssl.keyStoreType=PKCS12 \
-Dcom.sun.management.jmxremote \
-Dcom.sun.management.jmxremote.port=8085 \
-Dcom.sun.management.jmxremote.ssl=false \
-Dcom.sun.management.jmxremote.authenticate=true  \
-Dcom.sun.management.jmxremote.password.file=/opt/tomcat-deploy/conf/jmxremote.password \
-Dcom.sun.management.jmxremote.access.file=/opt/tomcat-deploy/conf/jmxremote.access"



I need to add an additional keyStoreType which will be PKCS7.

Proposed...

CATALINA_OPTS="-Xmx14g \
-XX:MaxPermSize=4g \
-Xms8g \
-Denv=live \
-DcreditpalEnv=live \
-Djavax.net.ssl.keyStore=/opt/tomcat-deploy/val-conf/xer_certificate.p12 \
-Djavax.net.ssl.keyStore=/opt/tomcat-deploy/val-conf/blah_certificate.p7b \
-Djavax.net.ssl.keyStorePassword=Monday \
-Djavax.net.ssl.keyStoreType=PKCS12 \
-Djavax.net.ssl.keyStoreType=PKCS7 \
-Dcom.sun.management.jmxremote \
-Dcom.sun.management.jmxremote.port=8085 \
-Dcom.sun.management.jmxremote.ssl=false \
-Dcom.sun.management.jmxremote.authenticate=true  \
-Dcom.sun.management.jmxremote.password.file=/opt/tomcat-deploy/conf/jmxremote.password \
-Dcom.sun.management.jmxremote.access.file=/opt/tomcat-deploy/conf/jmxremote.access"

Will the proposed config changes cause any issues?
0
Cloud Class® Course: Microsoft Azure 2017
LVL 12
Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

To hire android app developers, you need to know if the person you are looking for is suited for the job. When you surf the web for “Android app developers for hire” or anything close to that you will find results listing sites where programmers and their data and background is already included.
1

Expert Comment

by:Jake Lees
Comment Utility
good information
0
Hi Team,

According to my work, I have to run 7000+ sql statements in DB2 .I have the java code of the same.But by default DB2 java can only run 1338 dynamic statements at one time.
So what I was doing that Split the input data (7000 + ) into mulitiple txt files and run program more than 7 times .Each time I have to change the input path file.

Now  instead of running program 7+ times and manually changing input path everytime,I m trying to dynamically read all the input files from that folder.
Here I am attaching a part of my program only..only the method to read input file.
Below is the code for single input file case. Assume I have files named as a.txt,b.txt,c.txt.....etc.
Text file contains data in the below format:-
----------------------
abc-465747        
dfr-756372
---------------------
Existing code which executes fine  for single input file

declared input file path
static String fileName="C:\\Users\\john\\Desktop\\policies.txt";

Open in new window


main method.
 public static void main(String[] args)
        
    {
    Pre pd = new Pre();
   
      
    pd.read_Policy_list_file(fileNames);

//other methods as a part of my work
}

Open in new window


read+policy method
public void read_Policy_list_file (String fileName)
		{
			try
			{
				BufferedReader br = new BufferedReader(new FileReader(fileName));
				try {
				    StringBuilder sb = new StringBuilder();
				    String line = br.readLine();

				    while (line != null) 
				    {
				    
				

Open in new window

0
Hi,

I need to get the values of attributes of VMM config for WebSphere Application Server 8.5.5 ND cells. Looking in the wimconfig.xml file, I can see the attributes/values needed, but no corresponding config types/IDs. The attributes don't map to AdminConfig object types, so the showAttribute command can't be used.

For example:

    <config:repositories xsi:type="config:FileRepositoryType" adapterClassName="com.ibm.ws.wim.adapter.file.was.FileAdapter" id="InternalFileRepository" supportPaging="false" messageDigestAlgorithm="SHA-1">
       <config:baseEntries name="o=defaultWIMFileBasedRealm"/>
     </config:repositories>
     <config:repositories xsi:type="config:LdapRepositoryType" adapterClassName="com.ibm.ws.wim.adapter.ldap.LdapAdapter" id="USER_REPO" isExtIdUnique="true" supportAsyncMode="false" supportExternalName="false" supportPaging="false" supportSorting="false" supportTransactions="false" supportChangeLog="none" certificateFilter="" certificateMapMode="exactdn" ldapServerType="AD" translateRDN="false">
       <config:baseEntries name="o=USER_REPOAA" nameInRepository="DC=example,DC=domain,DC=com"/>
       <config:loginProperties>uid</config:loginProperties>
       <config:ldapServerConfiguration primaryServerQueryTimeInterval="15" returnToPrimaryServer="true" sslConfiguration="CellDefaultSSLSettings">
         <config:ldapServers authentication="simple" bindDN="CN=BIND001, OU=Bind Accounts, OU=Admin Accounts, OU=Middleware, DC=example, DC=domain, …
0
Hi,
I was making a spring web application. Where there are lot of handlers for GET request etc.
One thing came to my mind -
Suppose I make a GET request from my chrome browser from a particular tab.
And then in the response i add some values which gets back to this same chrome tab and machine.
How exactly does that happen.
How does a response object gets linked to a particular tab in a chrome broswer.

Also is it possible to send a response object without receiving a request object from spring to a particular machine and application.
I guess it should not be possible... But what makes it impossible.
Thanks
0
I am getting
HTTP Status 404 - /host-manager/html

type Status report

message /host-manager/html

description The requested resource is not available.
Apache Tomcat/8.0.32 (Ubuntu)

error while handling apache tomcat
0
How to Disable OPTIONS Method in GlassFish 3.1 or Payara 4.1.1.171.1.  while scaning the project, acunetix give the vulnerabilities. Issue is : OPTIONS method is enabled. i'm not tried any solution previously. what is the problem if OPTIONS method is enabled.
0
How to Disable OPTIONS Method in GlassFish 3.1 or Payara 4.1.1.171.1
0
Can an application use a JDBC driver that can contain the IP to both a primary and Standby instnace, so that the client can switch to standby if the primary IP is no longer reachable.

Or is there some other way an application can perform this

We are using an Oracle DB (Data Guard, primary and standby), but I am asking this from a client application failover to the correct DB instance, as opposed to a db failover
0
i Experts,
Can we bind the Jboss management bind address to multiple IP?
0
Cloud Class® Course: MCSA MCSE Windows Server 2012
LVL 12
Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

I need to secure a Glassfish Server in a Windows environment, it's running version Payara 4.1, I've requested the certificate using OpenSSL and now have the certificate from the provider GeoTrust but i'm struggling to now secure the web app.
0
hi am in window 7 having this error The JDK wasn't found in directory C:\PROGRA~1\Java\jdk1.6.0_43. am not able to install or untill the java software am geting this error
error3
0
hi am having this error when starting node manager in window
my java version is
C:\Users\rdp>java -version
Picked up JAVA_TOOL_OPTIONS: -Djava.vendor="Sun Microsystems Inc."
java version "1.6.0_45"
Java(TM) SE Runtime Environment (build 1.6.0_45-b06)
Java HotSpot(TM) Client VM (build 20.45-b01, mixed mode, sharing)
javaerror23.txt
0
hi am having this error when starting my orcle form in 11gR2
errorin form
0
I am trying below example

https://examples.javacodegeeks.com/enterprise-java/jms/apache-activemq-hello-world-example/


When i try to run the MEssageSender class how it ran even though there is existing Queue on ActiveMQ called JCG_QUEUE

package com.activemq.sender;

import javax.jms.Connection;
import javax.jms.ConnectionFactory;
import javax.jms.Destination;
import javax.jms.JMSException;
import javax.jms.MessageProducer;
import javax.jms.Session;
import javax.jms.TextMessage;

import org.apache.activemq.ActiveMQConnection;
import org.apache.activemq.ActiveMQConnectionFactory;

public class MessageSender {
	
	//URL of the JMS server. DEFAULT_BROKER_URL will just mean that JMS server is on localhost
	private static String url = ActiveMQConnection.DEFAULT_BROKER_URL;
	
	// default broker URL is : tcp://localhost:61616"
	private static String subject = "JCG_QUEUE"; // Queue Name.You can create any/many queue names as per your requirement.	
	
	public static void main(String[] args) throws JMSException {		
		// Getting JMS connection from the server and starting it
		ConnectionFactory connectionFactory = new ActiveMQConnectionFactory(url);
		Connection connection = connectionFactory.createConnection();
		connection.start();
		
		//Creating a non transactional session to send/receive JMS message.
		Session session = connection.createSession(false,
				Session.AUTO_ACKNOWLEDGE);	
		
		//Destination represents here our queue 'JCG_QUEUE' on the JMS server. 
		//The 

Open in new window

0
hi am having error when starting report server in linux
[2018-01-30T18:42:44.901+02:00] [reports] [NOTIFICATION] [] [oracle.reports.server] [host: hostname.com] [nwaddr: 000.001.002.003] [tid: 10] [ecid: 0000M57wkSa7Y7YFLrnJ8A1QSA24000001,0] [TARGET: /Farm_FRDomain/asinst/RptSvr_oel7_asinst] [TARGET_TYPE: oracle_repserv] ServerConfig:logConf  Reading server config file /ora01/app/oracle/product/fmw11g/asinst_1/config/ReportsServerComponent/RptSvr_oel7_asinst/rwserver.conf
[2018-01-30T18:42:44.903+02:00] [reports] [NOTIFICATION] [] [oracle.reports.server] [host: hostname.com] [nwaddr: 000.001.002.003] [tid: 10] [ecid: 0000M57wkSa7Y7YFLrnJ8A1QSA24000001,0] [TARGET: /Farm_FRDomain/asinst/RptSvr_oel7_asinst] [TARGET_TYPE: oracle_repserv] ServerConfig:logConf  <server version="11.1.2" xmlns="http://xmlns.oracle.com/reports/server">[[
   <cache class="oracle.reports.cache.RWCache">
      <property name="cacheSize" value="50"/>
      <!--property name="cacheDir" value="your cache directory"/-->
      <!--property name="maxCacheFileNumber" value="max number of cache files"/-->
   </cache>
   <!--Please do not change the id for reports engine.-->
   <!--The class specifies below is subclass of _EngineClassImplBase and implements EngineInterface.-->
   <engine id="rwEng" class="oracle.reports.engine.EngineImpl" maxEngine="1" minEngine="1" engLife="50">
      <!--property name="sourceDir" value="your reports source directory"/-->
      <!--property name="tempDir" value="your…
0
hi am having the following error when starting my nodemanager
'JAVA_OPTIONS' is not recognized as an internal or external command,
operable program or batch file.

C:\Oracle\Middleware\wlserver_10.3\server\bin>set CLASSPATH=.;C:\Oracle\MIDDLE~1
\patch_wls1036\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Ora
cle\MIDDLE~1\patch_ocp371\profiles\default\sys_manifest_classpath\weblogic_patch
.jar;C:\javajdk\JDK17~1.0_7\lib\tools.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\l
ib\weblogic_sp.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;C:\Orac
le\MIDDLE~1\modules\features\weblogic.server.modules_10.3.6.0.jar;C:\Oracle\MIDD
LE~1\WLSERV~1.3\server\lib\webservices.jar;C:\Oracle\MIDDLE~1\modules\ORGAPA~1.1
/lib/ant-all.jar;C:\Oracle\MIDDLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;

C:\Oracle\Middleware\wlserver_10.3\server\bin>if not "" == "" set CLASSPATH=;.;C
:\Oracle\MIDDLE~1\patch_wls1036\profiles\default\sys_manifest_classpath\weblogic
_patch.jar;C:\Oracle\MIDDLE~1\patch_ocp371\profiles\default\sys_manifest_classpa
th\weblogic_patch.jar;C:\javajdk\JDK17~1.0_7\lib\tools.jar;C:\Oracle\MIDDLE~1\WL
SERV~1.3\server\lib\weblogic_sp.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\web
logic.jar;C:\Oracle\MIDDLE~1\modules\features\weblogic.server.modules_10.3.6.0.j
ar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\webservices.jar;C:\Oracle\MIDDLE~1\m
odules\ORGAPA~1.1/lib/ant-all.jar;C:\Oracle\MIDDLE~1\modules\NETSFA~1.0_1/lib/an
t-contrib.jar;

0
hi am having this error when trying to install my java jdk am in window 7
javaerror12.PNG
0
It seems like an entropy daemon like "haveged" (http://www.issihosts.com/haveged/) can significantly reduce Tomcat start up times.  Java uses /dev/random by default to initialize seed generators.  Problem is, if the entropy pool on a machine is depleted, /dev/random will block until enough environment noise has been gathered to generate sufficient entropy. haveged helps keeps the entropy pool filled up.
2
LVL 11

Expert Comment

by:Brandon Lyon
This is another example of why backends can be hard to get right and are more difficult than they seem. There are so many important minor details.
0
Cloud Class® Course: Microsoft Office 2010
LVL 12
Cloud Class® Course: Microsoft Office 2010

This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.

Hello all,

Currently, i am using smb server but now I want to change it into afp server.

what will be the exact way to change it and connect using afp server?

currently these library are used in the project:
import jcifs.smb.NtlmPasswordAuthentication;
import jcifs.smb.SmbFile;


Thanks in advance.

Regards
Amzad
1
can a jboss domain identify one of its instance is down and will it try to restart it if it is down?.

similar to NodeManager in Weblogic.
0
When I try and review footage it says No Data. Footage is there live but not allowing me to review footage but has worked previously?
0
Does some sort of it security baseline / hardening / security best practice document/check list for Jetty already exist?

If so where can it be found?
0
I am using Active MQ 5.13.1 and Master/Slave Active MQ topology configured.
Initially slave node was getting stopped when database switch happens. Got an advice to go with lease-database-locker.
But I see an issue after implementing lease-database-locker.
Issue: with new configurations, messages are piling up when we switch ActiveMQ nodes.
observations:
1. messages are getting accumulated in one particular queue only and dispatched queue section has pending messages.
2. not observed issues with other queues
3. tried with queuePrefetch = 1, but still observed pending messages in dispatch queue. Consumers were not processing msgs.
0
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

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
>