Application Servers

An application server is a software framework that provides both facilities to create applications and a server environment to run them. Most application server frameworks contain a comprehensive service layer model, acting as a set of components accessible to the software developer through an API defined by the platform itself. For Web applications, these components are usually performed in the same running environment as their web server(s), and their main job is to support the construction of dynamic pages. However, many application servers target much more than just Web page generation: they implement services like clustering, fail-over, and load-balancing.

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

Sign up to Post

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,

I am planning to use Infinispan (Jboss) cache for 2nd level hibernate caching in my spring-hibernate application. Is it mandatory for me to use JTA transactions or is it possible through using org.springframework.orm.hibernate.HibernateTransactionManager.
Please suggest!!
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
Hi all,

for a customer I have to set up a JBoss application server cluster running 24/7 with 99.95% availablility. This means if we have to install a new version of the application we have to do this without downtime. The development partner proposed a round robin installation. So the proposal is to create e.g. three server groups within the cluster. During installation of the application first one of the server groups will be shut down => undeploy the old version => deploy the new version => start server group again => repeat this with the second and  third server group. In fact this would lead to always two server groups processing and thus no downtime.

I heard about the OSGI extensions of JBoss and that those extensions are provided to also solve the zero downtime deployment issue. I'm not a Java developer and my OSGI knowledge is just googled.

Any recomendations how to achieve zero downtime deployment with a JBoss application server ?

Regards
Andreas
0
Hi Honorgod,

Am looking for a Script to pull Websphere Configuration to write to a file with the below components.

I see that this is partially accomplished in the post as below,




-- Application servers
Servers
Name
Node Name
list of Ports
java Process Definition


-- Web servers
Web server name  
Port  
Web server installation location
Configuration file name
Plug-in configuration file name  
Plug-in configuration directory and file name  
Log file name  
Plug-in key store directory and file name  

-- Clusters
Cluster members
List of Cluster members

Enterprise Applications
-- name of application and context root

JMS
-- Topic connection factories
    * JMS providers (Names only)
    * Connection factories (Names only)
    * Queue connection factories (Names only)
    * Topic connection factories (Names only)
    * Queues (Names only)
    * Topics (Names only)
    * Activation specifications (Names only)

JDBC
    * JDBC Providers(Names only)
    * Data sources (Names only)
    * Data sources (Names only)

Resource Adapters
    * Resource adapters
    * J2C connection factories
    * J2C activation specifications
    * J2C administered objects

URL
    * URL Providers (List )
    * URLs (List )

JVM Details

JVM Arguments
Classpath
Listenerports
Custom Services
Shared Library for …
0
Hello there,

Good Day!

I would like to have the best suggestion on performance testing  to one of our project.

Well, right now the server response time is 80 responses per sec(80/sec) but our client requirement is 2333 per second.

Kindly need the suggestion what to do in such type of scenarios? what should be the server configuration to achieve the client requirement?

Waiting for the best suggestion.

Have A Nice Day!

Bye.
0
I am receiving following errors when I try to use JSF 1.2 with JBOSS EAP 6.3

13:54:09,643 INFO  [QueuesML] (http-/127.0.0.1:8080-1) >>> jobListAction() ::: Action Method
13:54:09,647 WARNING [javax.enterprise.resource.webcontainer.jsf.lifecycle] (http-/127.0.0.1:8080-1) Error calling action method of component with id queueSummaryPageForm:queueGroups:15:j_id_jsp_1457028890_22: javax.faces.FacesException: Error
        at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:74) [myfaces-all.jar:]
       at javax.faces.component.UICommand.broadcast(Unknown Source) [jsf-api-1.2_15-b01-redhat-11.jar:1.2_15-b01-redhat-11]
        at javax.faces.component.UIData.broadcast(Unknown Source) [jsf-api-1.2_15-b01-redhat-11.jar:1.2_15-b01-redhat-11]
        at javax.faces.component.UIViewRoot.broadcastEvents(Unknown Source) [jsf-api-1.2_15-b01-redhat-11.jar:1.2_15-b01-redhat-11]
        at javax.faces.component.UIViewRoot.processApplication(Unknown Source) [jsf-api-1.2_15-b01-redhat-11.jar:1.2_15-b01-redhat-11]
        at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(Unknown Source) [jsf-impl-1.2_15-b01-redhat-11.jar:1.2_15-b01-redhat-11]
        at com.sun.faces.lifecycle.Phase.doPhase(Unknown Source) [jsf-impl-1.2_15-b01-redhat-11.jar:1.2_15-b01-redhat-11]
        at com.sun.faces.lifecycle.LifecycleImpl.execute(Unknown Source) [jsf-impl-1.2_15-b01-redhat-11.jar:1.2_15-b01-redhat-11]
        at …
0
Hi

I am getting following error when use JSF 1.2 in an application deployed on JBOSS 6.3.

I have tried to point JBOSS toJSF 1.2 by changing

C:\jboss-eap-6.3\modules\system\layers\base\com\sun\jsf-impl\1.2\module.xm & 
C:\jboss-eap-6.3\modules\system\layers\base\javax\faces\api\1.2

19:07:14,975 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host]] (http-/127.0.0.1:8080-2) JBWEB000313: Exception processing error page /pages/error.jsf: javax.servlet.ServletException: java.lang.NoSuchMethodError: com.sun.faces.taglib.jsf_core.SubviewTag.setJspId(Ljava/lang/String;)V
        at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:848) [jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]
        at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:777) [jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]
        at org.apache.jsp.pages.error_jsp._jspService(error_jsp.java:123)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:69) [jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-1.jar:1.0.2.Final-redhat-1]
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:365) [jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]
        at …
0
Hello,

We've got 2 applications calling Client and Server running on the same instance server on WAS6.1, recently with an update of the application, CPU reaches 95% to 98%, checking the logs I've  got many of "java.io.IOException: Async IO operation failed, reason: RC: 32  Broken pipe".

Client application is an X-Fire application calling Webservices on Server application running both of them on the same instance.

Making some research I found that this error could happen if "HttpInboundPersistReadTimeout" is exceeded.
Is there any tunning to do except raising up the value of this propertie.

Developpers said that the function didn't change with the application update and it consist of running an Oracle Package to send answers to the cleint side.

Any help please.

Rachid,
error-log
0
Write an application that creates an array, fill it with random values (0 - 100) , asks the
user to enter a number and check if it exists in the array or not. Use a method IsFound
to search the content of its input array parameter for a target value and returns true if the
value exists in the array and false otherwise.
0
I have created a Guided Score Card in Red Hat JBoss BRMS 6.0 by following the below video tutorial and User Guide,

create Guided Score Card in Red Hat JBoss BRMS 6.0
Red Hat JBoss BRMS 6.0 User Guide

CarsCoreCard.png
I have registered Decision Server/Kie-server and added the project as a container, tried to post input as web service and not getting the expected result.
Ref: Decision server

Is there any way I can check/consume/access (as RESTapi) the Scorecard and get the result as an output?
0
I want to learn how to setup multiple tomcat instance in a single Linux box and understand how does it work?

Recently, in one of the production environment I seen that two VMs are running 2-2 tomcats hosting same web application. It's bit confusing. Could someone help me understand the concept.
0
which application or software need to display (in single LED Screen)150 smartphones(Employees) tracking & Monitoring working under one power plant.
Basically our requirement is to view the location of our employees working inside our power plant in one single LED Screen. and how the setup to link with smartphones

Any help on this will be highly appreciated.

Best Regards
Abdul Raheem
0
I have a Tomcat client using java 1.7  and  Websphere 7.5 using  java 1.6  having mutual SSL setup. Tomcat client calls REST web services hosted on websphere ( having apache webs server running on the same box) .  Tomcat is configured as Windows service with location of both keystore and truststore jks files configured in windows registry.

The setup works for 2 hour ( sometimes 1 month) then starts throwing "Handshake Failure". Once we restarts tomcat then it start working again for 1 hour or so ( totally random) .  The TLS config on  Tomcat is TLS1 whereas Websphere it is SSLv3.

Upon turning on SL debug on tomcat and going throught F5 log, we found that when challenged by Websphere , Tomcat sometimes fails to present Client Certificate to Websphere. Once Tomcat is restarted, the SSL  setup starts working again.    

Not sure why tomcat randomly fails to present client certificate during handshake causing handshake failure  but starts working once tomcat is restarted.  

We downgraded java version to 1.6 ( from 1.7) on tomcat  and we have not seen the hadnshake failure so far ( alomost 1 week now)  but I am not sure if this has fixed the issue.

 We can not upgrade  Websphere java version to 1.7 ( from 1.6) due to product support.  

we really would like to keep java version on tomcat to 1.7 or 1.8  as some component of app are using java 1.7 library.

Please advise.
0
the web/app admin for one of our websites has contacted us at the oracle team for random slowness at the website browsing..
we have looked at the database and all related sql and activity nothing there(this DB is our biggest system with lots of resources and the schema in question runs very fast simple queries that last less than 4 MS)..

looking at the graphs we have been sent it looks like whenever there is a slow response time from the DB in like 5 minutes we start to rack up connections and the app/web response goes bad..

connection pool settingsperformance graphs sent by app web admin
0
Hi, we are using jboss eap 6.2 for one of our custom project. And we are deploying everything as a individual module to jboss server as we are not planning to use ear. So, we have a JPA jar file with all entities and persistence.xml file deployed  and also a separate ejb module which contains DAO access classes that refers to JPA entities and persistence unit. But the problem is during deployment of ejb module it is throwing following exception

java.lang.IllegalArgumentException: JBAS011441: Can't find a persistence unit named /deployment.entities.jar#nmp-unit at deployment "JPADataAccess.jar"
org.jboss.as.jpa.container.PersistenceUnitSearch.getPersistenceUnit(PersistenceUnitSearch.java:207)
org.jboss.as.jpa.container.PersistenceUnitSearch.resolvePersistenceUnitSupplier(PersistenceUnitSearch.java:57)
org.jboss.as.jpa.processor.JPAAnnotationProcessor.getPersistenceUnit(JPAAnnotationProcessor.java:358)
org.jboss.as.jpa.processor.JPAAnnotationProcessor.getBindingSource(JPAAnnotationProcessor.java:289)
org.jboss.as.jpa.processor.JPAAnnotationProcessor.processField(JPAAnnotationProcessor.java:167)
org.jboss.as.jpa.processor.JPAAnnotationProcessor.processPersistenceAnnotations(JPAAnnotationProcessor.java:134)
org.jboss.as.jpa.processor.JPAAnnotationProcessor.deploy(JPAAnnotationProcessor.java:96)
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:120) [jboss-as-server-7.3.0.Final-redhat-14.jar:7.3.0.Final-redhat-14]
 5 more

we also …
0
Hi

I am try to implement the SSO and LTPA for Mobile First Platform, but I don't know how to achieve this.

we are using the Websphere Liberty 8.5.3 and it's running on Linux red-hat.

Could somebody give me some good materials or link for this.
0
I have deployed the applications through dmgr console, and syncronized the nodes, node sync was successful, but in one of the node out of 4 nodes applications are not getting updated in installedApss, other 3 nodes its getting updated. i have tries with manual sync also on that node, syncronization was successful but still the application not updating in that node in installed apps. need help.
0
we are making request with SOAP HEADER to one of our application which is running on IBM WebSphere Application server version 7 .
 Header Request :
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:int="http://www.aftermarket.org/InternetPartsOrder">
<soapenv:Header>
        <wsse:Security soapenv:mustUnderstand = "1" xmlns:wsse = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
            <wsse:UsernameToken>
                <wsse:Username>usernameTest</wsse:Username>
                <wsse:Password Type = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">password</wsse:Password>
            </wsse:UsernameToken>
        </wsse:Security>
    </soapenv:Header>


If request contains soapenv:mustUnderstand = "1" (if it is  soapenv:mustUnderstand = "0", works perfect)  in SOAP Header, WAS server is not able to process the message.

Getting below error in the logs

Did not understand "MustUnderstand" header(s):{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}Security

at com.ibm.ws.webservices.engine.handlers.jaxrpc.JAXRPCSOAPHandler.checkSOAPSemantics(JAXRPCSOAPHandler.java:356).


Please help me in this one. I appreciate your help
0
I have 3 win 2012 R2 servers on vmware with same version of tomcat 8 and same application.
My Dev and Stage are loading fine and dont crash.
But my new prod server which isn't live yet keeps freezing.

Ive ruled out any network or firewall issue. I have another server on same subnet and it wont load the page either.

When the application freezes the only way to unfreeze is it restart tomcat or load the page from localhost server browser. As soon as I do that all other browser sessions load right away.

When its working its working great everywhere, but its freezing every few min.

My old server was tomcat 6 and jvm had 1GB ram alocated, the new server has 2GB.
CPU and memory usage are low so its not a server performance thing.

I do have this error in the logs but it also shows on dev and stage servers too, but they dont have any issues.

02-Feb-2015 10:56:57.559 WARNING [PUBLIC-IP-startStop-2] org.apache.catalina.session.StandardSession.doWriteObject Cannot serialize session attribute domain.com.controller.staff.report.SearchInstitutionProfiles.session.table-listing-criteria for session 767775D8E32CF707B21A6AF94D2D013D
 java.io.NotSerializableException: domain.com.controller.staff.report.CriteriaBuilder$Criterion
	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1184)
	at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348)
	at java.util.ArrayList.writeObject(ArrayList.java:747)
	at 

Open in new window

0

Application Servers

An application server is a software framework that provides both facilities to create applications and a server environment to run them. Most application server frameworks contain a comprehensive service layer model, acting as a set of components accessible to the software developer through an API defined by the platform itself. For Web applications, these components are usually performed in the same running environment as their web server(s), and their main job is to support the construction of dynamic pages. However, many application servers target much more than just Web page generation: they implement services like clustering, fail-over, and load-balancing.

Top Experts In
Application Servers
<
Monthly
>