application-server

Is there a restriction on the maximum size of post data on a web application server?

ぐ巨炮叔叔 提交于 2019-12-24 12:29:10
问题 In my web application there is a form which can contain a huge amount of data (this depends on the result of a previous query). When the form reaches a certain size, the servlet cannot cope and an exception is thrown. It seems that the first attempt to fetch a request parameter causes the problem. I have tried to reproduce the problem on my test server but do not get a problem even when the data size is greater than on the production server. As a result, I am now wondering if there is a

How to store mail password on server side?

梦想的初衷 提交于 2019-12-24 01:53:55
问题 I need to send e-mails from my application that is deployed on Weblogic 10.0. I try to put mail session properties on server side. Properties like mail.host or mail.debug work OK. But how do I configure password? Now I have it in spring configuration file: <bean id="mailSender" class="org.springframework.mail.javamail.JavaMailSenderImpl"> <property name="session" ref="mailSession"/> <property name="username" value="myLogin"></property> <property name="password" value="myPassword"></property>

Comparison of application server startup times?

廉价感情. 提交于 2019-12-22 11:27:50
问题 Some months ago I read a blog post which had a comparison of different (Java) application servers, with focus on the time it took to start/restart the servers after deploying a new/changed piece of code, and a discussion of the lost developer productivity all this restarting caused. I forgot to bookmark the blog post; I've tried Google, but I am not able to find the original article. Has anyone else seen/read this article, or have links to similar articles/statistics? 回答1: I think you are

Glassfish AppServer or JBoss AppServer which is better for Production Environment?

房东的猫 提交于 2019-12-22 10:14:06
问题 I would like to know about pros and cons of glassfish server and jboss (glassfish v3 vs jboss 7.0) in using in production environment, i know more people use jboss as the application server, but glassfish has more features and stability over jboss do you agree with me? 回答1: Ask the question on the GlassFish forums and you'll get GlassFish as an answer. Ask the question on the JBoss forums and you'll get JBoss as an answer. Ask here, and you'll likely get both :-) Stability. I can tell you

Does a war file size affect in some way the application and/or application server performance?

纵饮孤独 提交于 2019-12-22 05:07:32
问题 we've bean struggling here at work by somebody suggestion that we should decrease the size of our war file, specifically the WEB-INF/lib directory size, in order to improve our production JBoss instance performance. Something I'm still suspicious about. We have around 15 web apps deploy in our application server, each about 15 to 20 MB in size. I know there are a lot of variables involved on this, but has anyone of you actually deal with this situation? Does the .war files size actually has a

How to stop/start specfic WebSphere-deployed EAR from command line?

て烟熏妆下的殇ゞ 提交于 2019-12-21 12:50:14
问题 I'm throwing a dependency jar into my exploded EAR on WebSphere app server. I need to stop/start the EAR to get WS to execute the new code. Is there a way to do this from command line? 回答1: Try running something like this: /opt/ibm/websphere/appserver/profiles/<MyProfileName>/bin/wsadmin.sh -c "AdminControl.invoke(AdminControl.queryNames('type=ApplicationManager,process=<MyServerName>,*'),'stopApplication','MyAppName')" -lang jython It will prompt you for a WAS Userid and password (in case

How to stop/start specfic WebSphere-deployed EAR from command line?

纵然是瞬间 提交于 2019-12-21 12:50:10
问题 I'm throwing a dependency jar into my exploded EAR on WebSphere app server. I need to stop/start the EAR to get WS to execute the new code. Is there a way to do this from command line? 回答1: Try running something like this: /opt/ibm/websphere/appserver/profiles/<MyProfileName>/bin/wsadmin.sh -c "AdminControl.invoke(AdminControl.queryNames('type=ApplicationManager,process=<MyServerName>,*'),'stopApplication','MyAppName')" -lang jython It will prompt you for a WAS Userid and password (in case

Threading in an Application Server

僤鯓⒐⒋嵵緔 提交于 2019-12-21 07:35:49
问题 I have a Java program/thread that I want to deploy into an Application Server (GlassFish). The thread should run as a "service" that starts when the Application Server starts and stops when the Application Server closes. How would I go about doing this? It's not really a Session Bean or MDB. It's just a thread. 回答1: Check out the LifecycleListener interface: http://glassfish.java.net/nonav/docs/v3/api/index.html?com/sun/appserv/server/LifecycleListener.html http://docs.oracle.com/cd/E18930_01

Enabling gzip compression for Jboss

僤鯓⒐⒋嵵緔 提交于 2019-12-20 09:31:30
问题 How is gzip compression for Jboss 5.1.0 enabled? Within the tomcat http connector right? I cant remember where this file is stored, server.xml? 回答1: The file is under server.xml and you are correct in stating that you have to updated the http connector. Following link is info for tomcat, but same applies to JBoss except location of server.xml file. I believe you need to update the server.xml under deploy\jbossweb.sar\ http://viralpatel.net/blogs/2008/11/enable-gzip-compression-in-tomcat.html

Tomcat is web server or application server? [closed]

痞子三分冷 提交于 2019-12-20 08:26:52
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 7 years ago . Is Tomcat a web server or an application server? 回答1: Tomcat is a web server (can handle HTTP requests/responses) and web container (implements Java Servlet API, also called servletcontainer) in one. Some may call it an application server, but it is definitely not an fullfledged Java EE application server (it