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
[Webinar] How Hackers Steal Your Credentials
LVL 8
[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

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
Independent Software Vendors: We Want Your Opinion
Independent Software Vendors: 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!

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
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
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
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
Portable, direct connect server access
Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

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
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
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,
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

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
>