jboss

deployment time of "ear" annoying using jboss,ant, jsp's and prehistoric pc

I am developing a web based java app, running on jboss and sql server. I seem to find myself spending an inordinate amount of time recompiling/deploying just to tweak the interface in jquery/javascript/css/html. Any tips for reducing the turnaround ? Its deployed to an ear file, so I can not alter the jsps/javascript after deployme...

What is difference between Tomcat and JBoss and Glassfish?

I am starting to look into Enterprise Java and the book I am following mentions that it will use JBoss. Netbeans ships with Glassfish. I have used Tomcat in the past. What are the differences between these three programs? ...

JBoss automatic redeploying

As I understand it, JBoss* monitors a variety of file types in /deploy and performs certain actions when the file changes. For example, JBoss will redeploy an EAR when its last-modified time changes. Therefore, I could use some really nasty code to make an EAR redeploy itself, like this: URL url = this.getClass().getClassLoader().getR...

Serializer is not defined in XSQL configuration file

I am trying to write some custom Serializers for an Oracle XSQL Servlet. I'm trying to keep my two serializers within the local .ear because they are still being developed and tested and I don't want to hurt production code. However, I am getting the following error XML-25021: Serializer XLSv2 is not defined in XSQL configuration file ...

Too Many open file exception while indexin using solr

Hi, I am using SOLR for indexing documents in my web application and solr.war is deployed on the jboss server. But while indexing i am getting too many files open exception. Below is some of exceptions stack trace: 12:31:33,267 ERROR [STDERR] Exception in thread "Lucene Merge Thread #0" 12:31:33,267 ERROR [STDERR] org.apache.lucene.ind...

How to add radius to jboss ldap authentication?

This is a long shot but I thought it was worth a try. We have designed a java servlet running on jboss and authenticating using ldap (edit: via JAAS). Now the customer wants to change to radius authentication for some of the users who uses one-time generated passwords. but still only have the two login fields; username and password. Si...

Recommended profiling method for J2EE deployed in JBoss AS 5

Greetings, I'm attempting to profile a J2EE project (EJBs, Servlet, JSP) which is deployed in JBoss Application Server 5. I would like to find the methods which use the most cpu and memory. What are the recommended methods and tutorials? Thanks in advance, Ken ...

Enabling gzip compression for JBoss cluster with mod_jk load balancer

We have a JBoss configured in cluster with Apache HTTP+mod_jk as a load balancer. Do we need to configure anything on Apache side in addition to configuring compression in JBoss configuration for connector? ...

Do the JBoss attributes ActiveThreadCount and ActiveThreadGroupCount have maximums?

Hi, In JBoss 5, there is the mbean jboss.system:type=ServerInfo Which has the properties ActiveThreadCount and ActiveThreadGroupCount. Does anyone know if there are maximum values for either or both of these properties, and if there are, how to find them out? I am happy parsing configuration files if necessary. Looking at the sourc...

hibernate's objects eating up jboss's jvm heap

hi folks, am seeing consistent Out of Memory Exceptions due to Hibernate objects consuming over 50% of the heap. (over 500M) Am using EntityManager for persistence PersitanceBag and Collection Entry are some of them and there are some HashMaps as well contributed by Hibernate. Please advise if there is any procedure to get rid of them...

File name charset problem in java

Trying to open a file it states it cannot be found, due to a charset mismatch, when file names have accents. I work using UTF-8 on a linux system (/etc/locales sets UTF-8 as well). Running jboss with -Dfile.encoding=UTF-8 and environment variable JBOSS_ENCODING="UTF-8" With a JSP I am getting the name of the file : String fileName =...

JBoss MBean NotificationListener problems

Hi, I'm having some trubles with NotificationListener on JBoss. I'm have a MBean on an JBoss, I can connet and call their methods. But when I'm trying to add Notifications y get the next exception: org.jboss.invocation.JBossLazyUnmarshallingException: getArguments failed at org.jboss.invocation.MarshalledInvocation.getArguments(Ma...

Improving Jboss 4.2 very slow startup..

Hi, Jboss takes hell lot of time for startup. Same Jboss settings and app takes no time to start in my collegaue system. E:\jboss-4.2.2.GA\bin>run -c ags7.3Ingrn =============================================================================== JBoss Bootstrap Environment JBOSS_HOME: E:\jboss-4.2.2.GA JAVA: C:\Program Files\Java...

server log file not getting generated when jboss server is started?

hi when i start my server this is the last line which is showed in the console 15:46:18,686 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml serverlog file is not getting generated and system.out.println is also not working.. can someone plz help me with this??? ...

Java Web Service with backend stuff going on..

Hi Everyone, I'm thinking about developing a Java Web Service using RESTEasy. I am going to follow this example: http://technicalmumbojumbo.wordpress.com/2009/10/13/restful-webservices-using-jboss-resteasy-tutorial/ Now, that's very well and good for getting the server to reply back with a simple response, however how do I get some "ba...

How to serve jar files over http with JBoss

Hi, The title is a little bit general so let me give you some background: Our application consists of: A client-side swing executable (core.jar) which downloads modules (jar files) via http The modules which provide the GUI and initiate server interaction (war files) And the server infrastructure (war files) which host modules (jars ...

no persistent classes found for query class

Hello friends, I am creating web application using zkoss 5.0.4, Spring 3.0.3, Hibernate 3 and JpA 1.0 with JBOSS 5.1 GA(with jdk support). project compiles fine with JBOSS. But it seems that persitence is not applying for some reason. When I run an application in console it gives following 10:07:35,265 WARN [QuerySplitter] no persis...

Spring Framework filter, bean not injected

There are 2 entries for a Servlet Filter, one in web.xml and one in Spring applicationContext.xml I added the filter into applicationContext.xml because I wanted to inject creditProcessor bean into it. The only problem is that the entry in web.xml got picked up by JBoss and then used, so creditProcessor is null. Do I have to use Sprin...

Integrating Spring-MVC for page navigation & RESTEasy for REST service calls (Ajax)

Hi, I'm on a project that requires Spring-MVC for page navigation (possibly with webflow) where certain pages use RESTEasy to make Ajax calls (with JSON). I found an approach on DZone JavaLobby and followed it's approach (server is JBoss): I have configured the project so that it uses Spring MVC for page navigation and REST calls as re...

jco initialization error in eclipse

im trying to retrieve data from SAP and it goes to a blank page showing the below exception when i run my application when the complier reads the below line JCO.Table table = new JCO.Table() it shows the exception as java.lang.NoClassDefFoundError: com/sap/mw/jco/JCO$Table can someone help me out on this........pls....... ...