I'm using an ICEFaces application that runs over JBOSS, my currently heapsize is set to
-Xms1024m –Xmx1024m -XX:MaxPermSize=256m
what is your recommendation to adjust memory parameters for JBOSS AS 5 (5.0.1 GA) JVM 6?
...
I currently have two separate instances of JBoss installed on a Linux server - v4.2.2 and v4.0.4. When I start v4.2.2, I use the command "sudo ./run.sh -b 0.0.0.0" so that it will listen on all ports. However, I only bind v4.0.4 to localhost when I start it up because I am only going to be using it for API calls. Both start fine, but ...
I'm creating a custom taglib with .tag files. Everything works great, except when I load 2 pages at the same time. It seems the .tag files are re-compiled on every request and the concurrency causes the compilation to fail.
Is this normal behavior for .tag files? I would have expected them to be compiled only once.
Is there some way t...
My webapp needs to auto-login when the user access the app url:
example:
http://myapp/home.xhtml?token={3bcdc006-05fc-4ce1-953a-17375edcf2a2}
on my pages.xml i have the following:
<pages xmlns="http://jboss.com/products/seam/pages"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://jboss.com...
I am calling an exe file called myapp.exe via a Spring Controller; here is the code in the controller:
Runtime.getRuntime().exec("D:\vmd\apps\myapp.exe");
myapp.exe is a C# .NET application. If I click directly on myapp.exe using Windows Explorer, the application opens up and runs; however, if I call the command through a Spring Control...
Does anyone have experiences with both in the real world? How do they compare in terms of performance (memory usage, speed, etc)? Stability?
Does JBoss Seam work well on Glassfish?
...
Ok this is driving me crazy....
Server: JBoss 4.0.5
I have my hibernate-service.xml where I include the:
<attribute name="CacheProviderClass">
org.hibernate.cache.EhCacheProvider
</attribute>
Which seems to work fine in terms of loading and getting the ehcache started, but I do see this pesky message about:
WARNING: No conf...
INITIAL POSITION:
We are using SEAM together with RICHFACES.
We've got the following page configuration with an action (called actionBean.doBefore), that should be executed once on page load:
<page>
<action execute="#{actionBean.doBefore}"/>
<navigation from-action="#{actionBean.doAfter}">
<redirect view-id="/view/component/...
I am using EJB3, JBoss AS 4.2.1 and Oracle 10g. The thing is every time i deploy to the AS the sequence is broken. Ex: when i am looking to the sequence from toad, its last value is 41 but the actual id which is set for the new entry is 1050.
Do you have any idea or a known bug about this issue.
Thanks.
...
Hello everyone.
Inspired by how Log4j reload its configuration files everytime I change it, I wrote a similar mbean task that read my xml file put in server/(myconfig)/conf
Now I need to access it from my web application, which is in the deploy folder packaged as a .war file (it's a SEAM application).
Should I create a method in the ...
Hi there!
Does anyone know how to get programmatically the absolute path in the filesystem for an EAR deployed in JBoss, from Java code within that same EAR?
I need this because I want to copy some files that are inside the EAR to another part of the filesystem, on deploy-time.
Thank you everyone!
...
I am getting an unusual error while running my application, just wondering if anyone has come across this before. I am using google protocol buffers, my servlet takes a request and tries to process it, I have the following code:
InputStream s = request.getInputStream();
AdRequest adRequest = AdRequest.parseFrom(s);
After executing th...
Our JBoss form is posting the parameters in the URL instead of in the request despite being a POST form. I have confirmed that the form is post in the actual page using Firebug. Note that this is within a portlet.
We are submitting the form using javascript like:
function submitForm(action, time)
{
document.getElementById("pageActi...
hi,
I want to set the emulateIE7 tag on per site basis. For that i'l need to set the same tag in http header. I am using jboss. So can anyone please tell me how to add custom http header in jboss..
...
Hi,
I have small application that is uploading pictures to another website via webservice.
My current problem is, that Axis is logging the whole xml message (including the binary data of the picture!) via STDOUT and I can't seem to figure out, how to disable it.
My log4j settings for jboss (jboss-log4j.xml) includes an appender for nor...
We are running portlets in WebSphere 6.01, using Java 1.4. We want to send JMS messages to a JBoss 5 queue, running Java 5 (or maybe 6, but it's certainly newer than 1.4). Trying to connect using JNDI is not working, since we have to include the JBoss client jars in the classpath of the portlet, and they are Java 1.5. So I get an unsuppo...
In our system the user logs in using JBOSSWS and accesses the services using through Web Services. The services themselves are Stateless session beans. Is there a way to get user name/password on calls to the EJB? Also, is there a way to persist any information in session cache or I need to use state full session bean for that?
...
Hi there,
I need to integrate Hibernate with JBoss 4.2.x server. Any articles to let me know how to do the same are highly appreciated.
Thank you
Chaitanya
...
the error is like
Apparently wrong driver class specified for URL: class: oracle.jdbc.driver.OracleDriver
I am using ojdbc14.jar which is the latest jar for oracle driver. The DB server is Oracle 10g. I am using spring framework and refereing the jndi name defined in oracle-ds under jboss installation directory.
I dont know why this err...
Hi All,
I have deployed 2 apps as app1.war and app2.war on jboss. These two apps use a common java package, say, myPackage. Earlier my wars looked like this
========================================================================
app[12].war/
-----web.xml
-----app specific classes (.class files like)
-----appClass1.class
-----appCl...