Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

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

Please help, I am trying to run my project through debug as it helps me see my break points and if my code it working line by line but now when i try to debbug i get this exception. I tried using this link below to resolve my issue but now I am worried it could be something in my code.

https://www.ibm.com/developerworks/community/forums/html/topic?id=77777777-0000-0000-0000-000014690354 

When I run it straight with the server its fine but I want to debug. I am fairly new in JAVA and feel very very DUMB



[2017/08/16 10:03:01:061 CAT] 00000087 LocalTranCoor E   WLTC0017E: Resources rolled back due to setRollbackOnly() being called.
[2017/08/16 10:03:01:061 CAT] 00000087 webapp        E com.ibm.ws.webcontainer.webapp.WebApp logServletError SRVE0293E: [Servlet Error]-[GenericServletWrapper]: javax.el.ELException: Unable to find ExpressionFactory of type: com.ibm.javart.debug.resolution.InterpExpressionFactory
      at javax.el.ExpressionFactory.newInstance(ExpressionFactory.java:190)
      at javax.el.ExpressionFactory.newInstance(ExpressionFactory.java:118)
      at com.ibm.ws.jsp.configuration.JspConfiguration.<init>(JspConfiguration.java:63)
      at com.ibm.ws.jsp.configuration.JspConfigurationManager.getConfigurationForUrl(JspConfigurationManager.java:99)
      at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.translateJsp(AbstractJSPExtensionServletWrapper.java:560)
      at …
0
Hire Technology Freelancers with Gigs
LVL 10
Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

tomcat wont start in debug

where as tomcat is staring fine in regular mode.

i increased time out from 45 to 450 still similar error.

Server Tomcat v8.0 Server at localhost was unable to start within 450 seconds. If the server requires more time, try increasing the timeout in the server editor.
i wonder why server starts in regular mode but takes forever to start in debug mode.

regular startup happens in 10 seconds asap.

Aug 14, 2017 5:40:21 PM org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:wsdlfirstws' did not find a matching property.
Aug 14, 2017 5:40:21 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server version:        Apache Tomcat/8.0.39
Aug 14, 2017 5:40:21 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server built:          Nov 9 2016 08:48:39 UTC
Aug 14, 2017 5:40:21 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server number:         8.0.39.0
Aug 14, 2017 5:40:21 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: OS Name:               Windows 10
Aug 14, 2017 5:40:21 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: OS Version:            10.0
Aug 14, 2017 5:40:21 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Architecture:          amd64
Aug 14, 2017 5:40:21 PM org.apache.catalina.startup.VersionLoggerListener log…
0
Hello,
I am using javascript on frevvo.
How can I find cell value when a row is clicked on a table.

Regards
0
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
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
Survive A High-Traffic Event with Percona
LVL 3
Survive A High-Traffic Event with Percona

Your application or website rely on your database to deliver information about products and services to your customers. You can’t afford to have your database lose performance, lose availability or become unresponsive – even for just a few minutes.

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
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
How to Use the Help Bell
LVL 10
How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

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

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
>