Java App Servers

6K

Solutions

8

Articles & Videos

5K

Contributors

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 trying to monitor a java application (jenkins) using JAVA Melody. I need a groovy script that can monitor for values highlighted in RED for columns in mean time and mean cpu times.

Below is the link to java melody (monitoring) plugin in jenkins.

Jenkins plugin.

Sample scripts
0
On Demand Webinar - Networking for the Cloud Era
LVL 8
On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

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
Hi All , your help needed here ,

can you please guide me how to remove " ?_nfpb=true&_pageLabel=HomePage1 " query string parameter from weblogic affter login.
0
Hi , I am getting error "Can not instantiate class: weblogic.jndi.WLInitialContextFactory" despite putting wlclient.jar file in my project class path lib.
could any 1 please suggest me,where I am missing some thing.
0
Hello,

I have installed JBOSS and when I try to start as standalone server, I am getting the folllowing  message in log file.

[jboss@mokkan1 bin]$ ./standalone.sh
=========================================================================

  JBoss Bootstrap Environment

  JBOSS_HOME: /usr/share/jboss-as

  JAVA: /opt/jdk1.8.0_121/bin/java

  JAVA_OPTS:  -server -XX:+UseCompressedOops -XX:+TieredCompilation -Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -Djboss.server.default.config=standalone.xml

=========================================================================

Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
17:05:11,820 INFO  [org.jboss.modules] JBoss Modules version 1.1.1.GA
17:05:12,076 INFO  [org.jboss.msc] JBoss MSC version 1.0.2.GA
17:05:12,141 INFO  [org.jboss.as] JBAS015899: JBoss AS 7.1.1.Final "Brontes" starting

Here is the log message  (boot.log)




      sun.io.unicode.encoding = UnicodeLittle
      sun.java.command = /usr/share/jboss-as/jboss-modules.jar -mp /usr/share/jboss-as/modules -jaxpmodule javax.xml.jaxp-provider org.jboss.as.standalone -Djboss.home.dir=/usr/share/jboss-as
      sun.java.launcher = SUN_STANDARD
      sun.jnu.encoding = UTF-8
      sun.management.compiler = …
0
Hello Experts,

We use a local TestRail user account that is also used by the Jenkins server for running automation jobs which then publishes the results to TestRail.

I have configured TestRail to use AD logins and will be turning off the local TestRail user logins.

Before I do that I need to configure the AD TestRail user account that will work with the Jenkins automation jobs.

Where in Jenkins can this be configured to use the new credentials?

Jenkins version 1.512
0
Apache/Apache/logs

[Tue Apr 25 09:17:28 2017] [warn] [client IP] oc4j_socket_recvfull timed out
[Tue Apr 25 09:17:28 2017] [client IP] [ecid: 188930618883,1] (4)Interrupted system call: MOD_OC4J_0038: Receiving data from oc4j exceeded the confi
gured "Timeout" value and the error code is 4.
[Tue Apr 25 09:17:28 2017] [client IP] [ecid: 188930618883,1] MOD_OC4J_0054: Failed to call network routine to receive an ajp13 message from oc4j.
[Tue Apr 25 09:17:28 2017] [client IP] [ecid: 188930618883,1] MOD_OC4J_0033: Failed to receive an ajp13 message from oc4j.
[Tue Apr 25 09:17:28 2017] [warn] [client IP] [ecid: 188930618883,1] MOD_OC4J_0078: Network connection errors happened to host: SERVER and port: ***** whil
e receiving the first response from oc4j.  This request is recoverable.
[Tue Apr 25 09:17:28 2017] [client IP] [ecid: 188930618883,1] MOD_OC4J_0121: Failed to service request with network worker: OC4J_CONTENEDOR_15 and it is
 not recoverable.
[Tue Apr 25 09:17:28 2017] [client IP] [ecid: 188930618883,1] MOD_OC4J_0013: Failed to call destination: OC4J_CONTENEDOR's service() to service the requ
est.
[Tue Apr 25 09:17:57 2017] [warn] [client IP] [ecid: 1176773805318,1] MOD_OC4J_0187: Failed to find an oc4j process within destination:[OC4J_CONTENEDOR] and isl
and id: default_island for session failover.
[Tue Apr 25 09:17:57 2017] [client IP] [ecid: 1176773805318,1] MOD_OC4J_0150: Failed to deterministicly find a …
0
Hi,

I'm running application on WebSphere 6.1, I've triedcustomizing 404 error by adding this lines to my web.xml file but nothing happens, I stll have the classical message : Error 404: SRVE0190E: File not found: /file

  <error-page>
    <error-code>404</error-code>
    <location>/WEB-INF/error404.html</location>
  </error-page>

Any help please.

Rachd,
0
In our enterprise, we're encountered the requirement to move out J2EE applications to Weblogic 10.3.6. Unfortunately, these applications are using several public libraries and tools that all use Apache Commons Logging (org.apach.commons.logging.*) in order to write their output to log files. Since deploying the applications to Weblogic, the libraries that use this logging are no longer outputting information. We've tried adding the jar file to the claspath, but that didn't work. I've read that the Apache commons logging is not included by default with the Weblogic server release, but that it can be enabled. The only question is, how?

How do we enable the use of Appache commons logging (org.apache.commons.logging.*) for use in Weblogic 10.3.6?

Thanks in advance.
0
Hi,

 I'm running an application under WebSphere6.1, it's a webservice that makes a call to another remote application.

Well my pb is this; how to make my JVM use the client authentication certificate delivered by the remote server, I've created a keystore with client certificate an added it to JVM arguments with  -Djavax.net.ssl.keystore option but  nothing works .

I'm a sysadmin and I would to make it run outside java code?

Thanks,
0
Technology Partners: We Want Your Opinion!
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Mar 6, 2017 2:38:18 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre6\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:/Program Files/Java/jre6/bin/client;C:/Program Files/Java/jre6/bin;C:/Program Files/Java/jre6/lib/i386;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\Wbem;D:\oracle\ora81\bin;E:\JAVA\apache-tomcat-6.0.37\bin;C:\Program Files\Skype\Phone\;C:\Program Files\Java\jdk1.6.0_27\bin;C:\Program Files\Java\jre6\bin;C:\Program Files\Microsoft\Web Platform Installer\;E:\JAVA\eclipse;;.
Mar 6, 2017 2:38:18 PM org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:Servlet-Ajax1' did not find a matching property.
Mar 6, 2017 2:38:18 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Mar 6, 2017 2:38:18 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 315 ms
Mar 6, 2017 2:38:18 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Mar 6, 2017 2:38:18 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.32
Mar 6, 2017 2:38:19 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 …
0
Here is an explanation on the issue we are experiencing.

Tomcat Version: 7.0.53
Java Version: jdk1.6.0_45

Application is deployed on Tomcat when we attempt to execute a Soap Web Service Request,  the code is using setConnectionTimeout() method to set the time out value to 60000 ms;
however, the timeout parameter value is ignored is always set to 30000 ms.

We have found on the internet that SOAPConnection class does not have a method to set a timeout parameter.  Research on the internet
indicated to get around this issue is to use URLStreamHandler class, which is what are current solution is and is listed below.   This solution works find outside of Tomcat.  When the application running on Tomcat
However, when this code executes in a web application deployed with Tomcat the setTimeout methods are ignored and the timeout is
automatically defaulting to 30000ms.

When we set the timeout to 60000 ms an error is thrown after 30 seconds with the following error
message: "The host did not accept the connection within timeout of 30000 ms."   Even though our code is setting it to 60000ms.

We have determined that the issue is related to Tomcat's servlet process engine and how it implements the SOAPConnection class.

Is there a quick and simple work around in Tomcat that will allow the time out parameter to be changed.

We have attempted to set system properties but did not have any impact.
sun.net.client.defaultConnectTimeout to 60000
0
I want to know what are the codes for sending sms using programming language java (netbeans) using usb modem, for example the usb broadband stick. can someone it expert answer my question, thank you very much.
0
I would like to have some proposals for a reliable Java Hosting.
I am expecting to have
1. Databases: MySQL, PostGreSQL
2. Remote Databases: MySQL, PostGreSQL
3. Email/FTP Accounts
4. Java
5. Glassfish
6. TomCat
7. SSL & Dedicated IPs
8. 24/7 Support
9. All Java technologies(frameworks) can run
10. Can support other backend environment PHP, Python

The purpose is to host a Coupons Application that host up 25,000 users.

Any suggestion will be helpful.
0
Which format should i use for weblogic. log has format like:

2010-05-03      04:57:06        GET     /acme/commandTunnel/=false 200     1701    0.0030      503     1307


date time cs-method cs-uri  sc-status  time-taken
0
Hi All,

I am facing problem with Jboss application server,every 4 to 5 hrs Jboss is automatically crashing with hs_err_pid.log file.

Kindly help me to fix the issue.

PFA log.
hs_err_pid54834.log
0
Hi,

How can I stop/start application on EAP 6 from command line without stop/start the whole server instance ?

Rachid,
0
Hi everybody,

We've got peoplesoft 8.48 runing on Weblogic 8.1 SP6, from time to time application stops responding and nothing is found on weblogic server log files, the only solution is to restart the server.

I suppose it's something related with a hung thread, I didn't find suitable troubleshooting tools on weblogic8.1. A kill -3 gives no good information.

Regards,

Rachid,
0
I Need Maven Build File Structure for EAR deployable in Weblogic 10.3.4 app server and Copy WAR module WEB-INF/classes and WEB-INF/lib inside EAR module APP-INF/classes and APP-INF/lib

EAR APP DIR-->
          META INF--- application.xml
                          ---- weblogic-application.xml
          APP-INF ----  lib-----------*.jar
                         ----  classess---*.class
          WAR APP ---  WEB-INF----lib-----------*.jar
                                                 ---  classess---*.class
                           --- web.xml
                           --- weblogic.xml

          EJB APP ---  META-INF--- ejb-jar.xml
                                                --- weblogic-ejb-jar.xm
                              classess    ---*.class

Please suggest and let me know the correct approach for writing pom.xml.
EAR_Application_Diagram.jpg
0
Announcing the Most Valuable Experts of 2016
LVL 6
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Hello every body
I want to work  with real java card and card reader and an emulator for my android app.
which emulator can I use?

Thanks in Advance
0
Our enterprise application deployed in Jboss wildfly 8.2(Centos 7). The issue is that after a month of jboss restart, the file system operations slow down to one tenth. I.e. if I had a simple static text file of size 1 GB hosted in my apache, downloading it to my local box would be done in like say 3 mins. But after a month, the same operation takes 30 mins. On restarting the jboss, the issue clears off immediately. There is no significant cpu, memory or IO spike in the system.

The total count of open files was close to 5.5 million vs max of 5.7 million. The output of "lsof -p " was showing only 5k records, whereas dumping the entire "lsof" and then grepping the jboss pid shows up a huge number.

$$$ lsof | wc -l -> 3552282

$$$ lsof | awk '{print $2}' | grep jboss-pid | wc -l -> 2760622

Out of the 2.7 million files opened by jboss, 1.2 million is showing up as given below. After a restart of jboss, the open files come down, but this number keeps on increasing and ultimately results in slowness. This definitely points to a socket leak, but how do I debug this further?

$$$ grep "protocol: TCP" /tmp/lsof.41321 -c -> 1203852

java 41321 106902 sf-admin 2724u sock 0,6 0t0 1256280582 protocol: TCP

java 41321 106902 sf-admin 2725u sock 0,6 0t0 1247336438 protocol: TCP

java 41321 106902 sf-admin 2726u sock 0,6 0t0 1247336439 protocol: TCP
0
I have a Drools Rule file which processes some business logic based on input from a java file and gives back output back to Java.

I need to get the response in a web service request and response format by passing data in SOAP format and snd get SOAP response. How can we do that?
0
Before I go down path of creating and WebSphere Cluster export script, was wondering if anybody has created this using either jacl or jython.  

Any help would be great as I need to separate out a single cell with 4 environments into 4 cells (dmgrs) for each environment.
0
I have two current Java applications on my Linux Server and Apache/Tomcat are running those WAR Packages fine.

I do not want to mess those up.

I want to a new Apache Public Directory /sandbox/ vertical/parallel to my live project

How do I do this ?
is there more to it than the /etc/httpd/conf.d/proxy_ajp.conf line I need to add...
I entered this just below the other working WAR record
ProxyPass /sandbox/ ajp://localhost:8009/sandbox/

Open in new window

what am I missing thx
0
Hi All,

We are currently getting this error when trying to access a web page on our web application. Does anyone know where i should start debugging an error like this. If any fuither information is required, I can provide it.

HTTP Status 500 - Handler processing failed; nested exception is java.lang.StackOverflowError

type Exception report

message Handler processing failed; nested exception is java.lang.StackOverflowError

description The server encountered an internal error that prevented it from fulfilling this request.

exception

org.springframework.web.util.NestedServletException: Handler processing failed; nested exception is java.lang.StackOverflowError
	org.springframework.web.servlet.DispatcherServlet.triggerAfterCompletionWithError(DispatcherServlet.java:1287)
	org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:961)
	org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:877)
	org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:966)
	org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:857)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:620)
	org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:842)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
	

Open in new window

0

Java App Servers

6K

Solutions

8

Articles & Videos

5K

Contributors

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
>