appserver

Are java app servers able to destroy threads? If yes, how?

Destroying threads is deprecated in Java (and not implemented according to javadoc), and interrupting it is only a suggestion which upon the thread is expected to quit, but might not do so. (Not to provide any way to kill a thread inside the J*VM* is a disturbing design, but my question is not design related.) How do Java application se...

Why bind hibernate SessionFactory to a JNDI resource?

In my current adventure of learning hibernate and setting it up to use an appserver's connection pool, most examples and resources out there point you in the direction of binding the SessionFactory to a JNDI resource in your appserver in the process. I wondering what the benefit of this is? Since the you can access a the connection pool...

loader.InputStreams with no valid reference is closed

While upgrading sun application server 8.2 to a new patch level an exception occurred and I don't know why. Following a code snippet from a servlet: public void init() throws ServletException { Properties reqProperties = new Properties(); try { reqProperties.load( this.getClass().getResourceAsStream( "/someFile.prope...

SAP Netweaver JEE AS

Where is it possible to download a trial/community/developer version of SAP Netweaver Java EE Application Server? Thanks a lot! ...

Trusted certificates becomes invalid

In a Sun Glassfish server I have deployed an application that communicates with an external webservice over SSL. I have manually imported certificates in cacerts.jks with java keytool cli (keytool -import -trustcacerts -keystore cacerts.jks -alias somealias -file somecert.cer). I verify that everything works, but then after a longer wh...

loggerI18N throws WARN messages

13:03:51,062 WARN [loggerI18N] [com.arjuna.ats.internal.jta.resources.arjunacor e.norecoveryxa] [com.arjuna.ats.internal.jta.resources.arjunacore.norecoveryxa] Could not find new XAResource to use for recovering non-serializable XAResource < 131075, 28, 26, 49454551102535510210110256581009954585299489749101999758495549 455110253551021011...

Federated Nodeagent doesn't look as running in managment console

Hi, I'm using websphere 7.0.0.9 over windows with a topology like this: physical-server-1 Cell01 DMgr Node01 w/Server01 physical-server-2 Node02 w/Server02 The Node02 is federated to Cell01 and works fine for a few weeks (i'm testing a clustered application over server01 and server02, nothing special) But now in administrative cons...

What are the downsides of using non-managed threads in a managed environment?

What are the disadvantages of creating my own threads inside a managed environment like a weblogic application server? I have always used managed threads (using the WorkManager api) whenever i am working inside an application server. However I am unclear on the disadvantages or issues that might be caused by using non-managed threads ins...

How do I run system wide operations on a cluster of app-servers?

I am running my application on a group of unclustered tomcat servers. It serves restlet web-services. As per restful paradigm, each call is stateless. In this environment, I want the application to periodically review the database for status changes and take action. Since one of the actions is to fire off an email, I want to ensure t...