[JBoss-user] [EJB 3.0] - Re: TrialBlazer is not working!

2006-07-10 Thread PeterJ
How did you install JBoss? To use EJB3, you must either use the installer jar file, and select EJB3 from the installation options, or download the source package (tar.gz file) and compile it with a 5.0 JVM (it builds both the standrad distribution and the EJB3 distribution). The EJB3

[JBoss-user] [EJB 3.0] - Re: java.lang.ClassNotFoundException: No ClassLoadres found

2006-07-10 Thread PeterJ
Please post the contents of your ejb jar file by entering this command: jar tf jar-file-name My guess is that the class file is not in the correct location. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3956604#3956604 Reply to the post :

[JBoss-user] [EJB 3.0] - Re: Remote Client to EJB 3.0 fail .. :( javax.naming.Communi

2006-07-10 Thread PeterJ
Did you, by any chance, change the JNDI port? What operating system are you running on? Are you running a firewall and have your configured it properly? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3956606#3956606 Reply to the post :

[JBoss-user] [Installation, Configuration Deployment] - Re: NoClassDefFoundError:org/dom4j/xpath/DefaultXPath in dep

2006-07-10 Thread PeterJ
The dom4j jar file packaged with JBoss do not contain the xpath components (I recall reading the JIRA associated with this change (was it in 4.0.3???) but could not find it again). You will have to package the dom4j jar file with your app (that is what I did). View the original post :

[JBoss-user] [Beginners Corner] - Re: some questions about JBoss and Catalina

2006-07-10 Thread PeterJ
Documentation for the log4j properties file can be found at the log4j web site: http://logging.apache.org/log4j/docs/manual.html JBoss-specific logging guidelines can be found at http://wiki.jboss.org/wiki/Wiki.jsp?page=Logging View the original post :

[JBoss-user] [Beginners Corner] - Re: java.util.zip.ZipException: error in opening zip file

2006-07-10 Thread PeterJ
Try changing the folder name to C:\jboss-4.0.3\server\default\deploy\greeterapp.war. In Tomcat, all archives are war files, so you don't have to say that they are. In JBoss, you can deploy many different types of archives (war, ear, sar, etc) so you must identify them by their extension.

[JBoss-user] [EJB 3.0] - Re: Remote Client to EJB 3.0 fail .. :( javax.naming.Communi

2006-07-10 Thread PeterJ
Looking at the original post again, I see that you have a standalone client app from which you are attempting to look up the EJB. When you run that client app, are you providing the necessary jar files in the classpath? I thought I had a script file that ran an EJB3 client, but I cannot seem

[JBoss-user] [EJB 3.0] - Re: Interceptors not fired on methods called from within bea

2006-07-10 Thread PeterJ
Interceptors only work if you call the method via a bean reference (i.e., one you got from JNDI). By calling the method via a bean reference, the server has a chance to determine that an interceptor exists and can deflect the method call to the interceptor. But, within the bean, if you call

[JBoss-user] [EJB 3.0] - Re: Remote Client to EJB 3.0 fail .. :( javax.naming.Communi

2006-07-10 Thread PeterJ
Deploying an ear file is fine, that is how I usually deploy my ejbs. What are the contents of your ear file? Run jar tf ear-file-name and post the results. If the ear file contains a jar file (or a war file), repeat the jar tf for those files (you will have to unpack the ear first). You can

[JBoss-user] [EJB 3.0] - Re: Remote Client to EJB 3.0 fail .. :( javax.naming.Communi

2006-07-10 Thread PeterJ
The entry you found in the jmx-console was not for the EJB, but rather for the mbean that was automatically created for the EJB. To look at the JNDI namespace, in the jmx-console, click on the service=JNDIView entry under the jboss namespace, then click on the Invoke button under the list()

[JBoss-user] [JBoss Getting Started Documentation] - Re: jboss postgresql pooling

2006-07-06 Thread PeterJ
IR stands for Injection Rate, a term used in SpecJAppServer to signify the amount of load placed on the system. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3955891#3955891 Reply to the post :

[JBoss-user] [JBoss Getting Started Documentation] - Re: JBOSS Pooling sizes

2006-07-06 Thread PeterJ
The recommendation is specific to that particular benchmark. Since the load on the server is constant during the course of the benchmark, setting min and max to the same value prevents JBoss from attemting to allocate more connections, or throw away connections, during the benchmark run. For

[JBoss-user] [Installation, Configuration Deployment] - Re: Problem creating service jboss.system:Service=MainDeploy

2006-07-06 Thread PeterJ
Please post the console output. It is hard to solve the problem without the specific error messages. Also, indicate how you installed JBoss (via the installer.jar file or by unzipping the zip file). View the original post :

[JBoss-user] [Installation, Configuration Deployment] - Re: Problem creating service jboss.system:Service=MainDeploy

2006-07-06 Thread PeterJ
The missing class (BasicMBeanRegistry) is found in the ./lib/jboss-jmx.jar file. Have you checked the access controls on the files in that directory? On my system, my user account owns all of the files and has full rights (755). However, the fact that you are getting JVM dumps leads me to

[JBoss-user] [JBoss Getting Started Documentation] - Re: JBOSS Hypersonic

2006-07-06 Thread PeterJ
To disable Hypersonic, remove the hsqldb-ds.xml file from the deploy directory. Of course, you will then also have to disable or change any services that depent on DefaultDS, such as the EJB timer service and JMS. View the original post :

[JBoss-user] [Beginners Corner] - Re: Left Bracket

2006-07-05 Thread PeterJ
Embedded the XML text within code brackets, as follows: base | |itemfoo/item | |itembar/item | | /base View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3955547#3955547 Reply to the post :

[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Re: unprocessed jstl tags

2006-07-05 Thread PeterJ
Do you also have standard.jar in the WEB-INF/lib directory. It is standard.jar that contains the *.tld files. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3955548#3955548 Reply to the post :

[JBoss-user] [JBoss Getting Started Documentation] - Re: JMX MBean View

2006-07-05 Thread PeterJ
You do have to keep your application busy to see the InUseConnectionCount be other than 0. I use JMeter to simulate a load and then I can see InUseConnectionCount set to something other than 0. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3955566#3955566

[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Re: unprocessed jstl tags

2006-07-05 Thread PeterJ
Looks like you are setting the taglibs in your web.xml file. I haven't done that in a while, so I couldn't say exactly how to fix that. So instead, let me tell you how I use taglibs in my app. In my jsp files, I have: %@ taglib prefix=f uri=http://java.sun.com/jstl/fmt% | %@ taglib

[JBoss-user] [EJB 3.0] - Re: ClassLoader problems while deploying a EJB3

2006-07-05 Thread PeterJ
Could you post the contents of your ejb jar file? Enter the following command: jar tf jar-file-name and post the results. I suspect that your class file is not where it should be. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3955620#3955620 Reply to the

[JBoss-user] [Beginners Corner] - Re: Any idea why ELs, like ${user.email}, wouldn't work in J

2006-07-05 Thread PeterJ
Shouldn't you first reference the standard tag libraries in your jsp page, such as: %@ taglib prefix=c uri=http://java.sun.com/jstl/core% and then use the core 'out' function, such as: Welcome, c:out value=${user.firstName} /! And you will need jstl.jar and standard.jar in WEB-INF/lib. View

[JBoss-user] [Beginners Corner] - Re: Left Bracket

2006-07-05 Thread PeterJ
I just noticed that my supposedly nicely formatted post, which previewed properly, got totally screwed up in the final message. So here it is again: #91;code#93;base |itemfoo/item |itembar/item | /base#91;/code#93; View the original post :

[JBoss-user] [JBoss Getting Started Documentation] - Re: jboss postgresql pooling

2006-07-05 Thread PeterJ
1) I think MAX_INT (or MAX_LONG). :-) 2) You probably will not want to use MAX_INT because each pooled resource uses memory (space in the Java heap) and you only have so much available. How many you should set really depends on how many concurrent users you think that your application will

[JBoss-user] [Beginners Corner] - Re: Any idea why ELs, like ${user.email}, wouldn't work in J

2006-07-05 Thread PeterJ
Are you sure that it is in Tomcat? I just checked 5.5.17 and none of the jars contain the javax.el.* package. (Just wondering if you enhanced Tomcat or installed as part of some other package, and that is how you got javax.el.*. I know that kind of a situation has happened to me before.)

[JBoss-user] [Beginners Corner] - Re: Problem deploying EJB to JBoss

2006-06-29 Thread PeterJ
Looks like it is in server\default\lib\jboss-backport-concurrent.jar. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3954405#3954405 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3954405 Using Tomcat but need to do more?

[JBoss-user] [Management, JMX/JBoss] - Re: Does JBoss allow PERSISTENT changes to MBean Attributes?

2006-06-29 Thread PeterJ
You have to change the configuration file. Changes made via JMX are not persisted. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3954408#3954408 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3954408 Using Tomcat but need

[JBoss-user] [EJB 3.0] - Re: Creating MBeans using EJB 3.0

2006-06-29 Thread PeterJ
There are two ways to get EJB 3 support in JBoss. First, download and run the installer jar file. One of the installation opitons will be EJB3 support (I think selecting 'all' also installs EJB3 support). Second, download the source tar.gz file and build JBoss using JVM 5.0 (go to the build

[JBoss-user] [Beginners Corner] - Re: Problem deploying EJB to JBoss

2006-06-29 Thread PeterJ
Oops, sorry, seem to have replied to the wrong post. I guess those things happen when you have way to many browser windows and tabs open. Sigh. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3954430#3954430 Reply to the post :

[JBoss-user] [Beginners Corner] - Re: in which jar is ...

2006-06-29 Thread PeterJ
Looks like it is in server\default\lib\jboss-backport-concurrent.jar. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3954431#3954431 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3954431 Using Tomcat but need to do more?

[JBoss-user] [Installation, Configuration Deployment] - Re: Jboss works sloppy!!! java.io.EOFException: Unexpected e

2006-06-27 Thread PeterJ
How big is your war file? How long does it take to deploy? The reason that I ask is that if it takes a while to copy the file, then JBoss could attempt to deploy it before the copy is complete, which could result in the error message you are seeing. An alternative would be to copy the war

[JBoss-user] [Management, JMX/JBoss] - Re: Problem locating an MBeanServer

2006-06-26 Thread PeterJ
You cannot get a reference. Instead, all operations on an mbean must be done through the MBeanServerConnection instance. Thus, to make the example method call, you would write: ObjectName name = new ObjectName(--name of your 'world' mbean--); | mconn.invoke(name, tell, null, null); See

[JBoss-user] [Management, JMX/JBoss] - Re: Problem locating an MBeanServer

2006-06-23 Thread PeterJ
Oops, my instructions were not completely correct. The correct data source name is DefaultDS, not ds/DefaultDS. The easiest way to find out the name of the mbean you are looking for it to use the jmx-console: http://localhost:8080/jmx-console. Then you simple replace the object name text

[JBoss-user] [Installation, Configuration Deployment] - Re: Problem creating service jboss.system:Service=MainDeploy

2006-06-23 Thread PeterJ
I have JBoss running on FC5. It would help if you posted the full console output so that I could see what class is missing. I do know that JBoss will not run with the JVM that ships with FC5, you will need to download and install a JVM from Sun before you can use JBoss. View the original

[JBoss-user] [Installation, Configuration Deployment] - Re: Are env variables like $JBOSS_HOME required?

2006-06-23 Thread PeterJ
I don't have JBOSS_HOME set. I have probably a dozen installations of JBoss on my Windows XP box. I always run JBoss from the bin directory (of the version I want to run) and have never run into problems. View the original post :

[JBoss-user] [JNDI/Naming/Network] - Re: Remote / LocalHome Interface issue - How smart is JBoss?

2006-06-23 Thread PeterJ
This is not a definitive answer since I have not looked at the JBoss code for this, but in my testing I have found that whether I am using LocalHome or RemoteHome to access EJBs on the same server that the performance is that same, so my guess is that JBoss does perform magic under the covers.

[JBoss-user] [JBoss Getting Started Documentation] - Re: jsp 2 output a variable

2006-06-22 Thread PeterJ
Just out of curiousity, what did you have in web.xml and how did you correct it? What I am wondering is if you have any taglib descriptors and if that is what you changed. The reason I ask is that you really don't need any taglib descriptors in web.xml, the two lines declaring the taglib in

[JBoss-user] [Performance Tuning] - Re: JBoss gets 'stuck' on Win2K

2006-06-22 Thread PeterJ
What I usally do is redirect stdout and stderr to a file, this usually does the trick. You can either edit run.bat to do this all the time (this is what I do), or just remember to do it every time you run run.bat. If you need to keep tabs on the console output, you can always use the tail

[JBoss-user] [Management, JMX/JBoss] - Re: Problem locating an MBeanServer

2006-06-22 Thread PeterJ
See http://www.jboss.com/index.html?module=bbop=viewtopict=84303 for a complete program. The mbean name I used was based on my data source, but you could subsistutue DefaultDS for ProductDS and it should work. Or pick a name from the jmx-console. View the original post :

[JBoss-user] [Installation, Configuration Deployment] - Re: Failed to reach an application on JBOSS AS running on a

2006-06-22 Thread PeterJ
What are your firewall settings? I ran into the same problem until I configured iptables to open port 8080. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3952786#3952786 Reply to the post :

[JBoss-user] [JNDI/Naming/Network] - Local EJB found when remote EJB rexpected

2006-06-22 Thread PeterJ
I am trying to access an EJB on server1 from an EJB on server2 (each server is running on its own PC). I first packaged the entire application (war and ejb-jar files) in one ear file and deployed it to server1, and verified that I could access the EJB from my web application. I then deployed

[JBoss-user] [Performance Tuning] - Re: JBoss gets 'stuck' on Win2K

2006-06-22 Thread PeterJ
I've been using tail on windows for years. It was one of the must-have utliities that I obtained when I was forced off of unix and onto windows in the early 90's. Never had a problem with it, I can even delete the file I am doing a tail on with no problems, though then I wonder why it isn't

[JBoss-user] [Performance Tuning] - Re: JBoss Performance Tuning

2006-06-22 Thread PeterJ
chwang, since your question is not relevant to the topic of this thread, you should start a new topic. Also, since your question is not performance related, you should post the question to a different forum, either [Beginners Corner] or [Installation, Configuration Deployment] (but not to

[JBoss-user] [Installation, Configuration Deployment] - Re: Failed to reach an application on JBOSS AS running on a

2006-06-22 Thread PeterJ
Here are the lines I added to /etc/sysconfig/iptables for JBoss: # Ports used by JBoss | -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 8080 -j ACCEPT Then I restarted iptables: /etc/init.d/iptables restart View the original post :

[JBoss-user] [Management, JMX/JBoss] - Re: Problem locating an MBeanServer

2006-06-21 Thread PeterJ
The no security manager error sure looked familiar, but it took me some time to find it. I ran into the same error when I wrote mbean client code that I ran on my Linux box attempting to connect to JBoss running on my Windows box. Here is what I did. I added the following lines before the

[JBoss-user] [JBoss Getting Started Documentation] - Re: jsp 2 output a variable

2006-06-21 Thread PeterJ
I am using jstl in my jsps. I don't have any extra stuff added to the web-app token in my web.xml file. But the following works for me. In my jsps, I have the lines: %@ taglib prefix=f uri=http://java.sun.com/jstl/fmt% | %@ taglib prefix=c uri=http://java.sun.com/jstl/core% | | h1c:out

[JBoss-user] [Management, JMX/JBoss] - Re: Problem locating an MBeanServer

2006-06-21 Thread PeterJ
The org.jboss.jmx.adaptor.rmi.RMIAdaptor class is in these jar files, all found in jboss_home/client: * jbossall-client.jar * jbossjmx-ant.jar * jmx-invoker-adaptor-client.jar Include one of these in your classpath (I use jbossall-client). View the original post :

[JBoss-user] [Installation, Configuration Deployment] - Re: Blank Language Selection Window

2006-06-21 Thread PeterJ
Three possible options (pick one): 1) Install on another system and copy the jboss_home directory over to your FC5 system (I've done this a few times, works fine) 2) Download the zip file instead, and unzip it. (This is what I usually do, but this option doesn't contain the EJB3 bits.) 3)

[JBoss-user] [Beginners Corner] - Re: Unable to see a deployed JSP

2006-06-20 Thread PeterJ
What is the contents of Helloworld.war? If Helloworld.war is a file, list its content using jar -l, otherwise do a dir, and post the results. What URL ar you using? Based on your post, it order for things to work, Helloworld.war should contain a file named helloworld.jsp and you should access

[JBoss-user] [Management, JMX/JBoss] - Re: Problem locating an MBeanServer

2006-06-20 Thread PeterJ
Are you trying to get the mbean server for JBoss? If so, I usually use the following code: Hashtable env = new Hashtable(); | String factory = org.jnp.interfaces.NamingContextFactory; | env.put(Context.INITIAL_CONTEXT_FACTORY, factory); | String url1 = jnp://localhost:1099; |

[JBoss-user] [Beginners Corner] - Re: Deploying web app

2006-06-19 Thread PeterJ
It would appear that you are using the url http://locahost:8080/test.war/date.jsp. You should, instead, be using http://locahost:8080/test/date.jsp. Note that JBoss uses the .war extension to identify the type of component being deployed, but that extension does not appear in the web

[JBoss-user] [Management, JMX/JBoss] - Re: Concern over JBOSS / JMX removal

2006-06-19 Thread PeterJ
At JBossWorld in Vegas, Dimitris gave an excellent presentation on the JBoss POJO-based MicroContainer architecture and one of its prime benefits - the ability to run various components outside the app server. (Many of the other presentations reflected back on this fact also.) It would be

[JBoss-user] [Beginners Corner] - Re: how do i know when the server starts these no of connect

2006-06-19 Thread PeterJ
You can use jmx-console, or twiddle, to view the mbean. Note that the attribute I mentioned gives the number of active threads, not the number of active connections. I haven't found the active connection count yet. Maybe someone else knows where it is? View the original post :

[JBoss-user] [Beginners Corner] - Re: jboss 4 install continual scroll on run.bat

2006-06-16 Thread PeterJ
I would re-install the JVM to some place other than Program Files. I know that it wants to install there by default, but I change it to install elsewhere (on my laptop, it is at c:\apps\jdk1.5.0_06). Spaces in file/directory names gives some Java code fits. If that doesn't work, post the

[JBoss-user] [Beginners Corner] - Re: how do i know when the server starts these no of connect

2006-06-16 Thread PeterJ
The mbean named jboss.system:type=serverInfo contains an ActiveThreadCount attribute. Is that what you are looking for? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3951346#3951346 Reply to the post :

[JBoss-user] [Beginners Corner] - Re: jboss 4 install continual scroll on run.bat

2006-06-14 Thread PeterJ
Did the error message include th bad directory/file name? If so, could you post that? Also, where is JBoss installed? Where is the JVM installed? What do you have JAVA_HOME and JBOSS_HOME set to? View the original post :

[JBoss-user] [Beginners Corner] - Re: Url rewriting ?

2006-06-14 Thread PeterJ
If you have a private network and have control over the DNS, you can specify www.myappli.jsp as a host name and assign it the same IP address as jupiter. Or if you need to access this application from only one computer you could change the hosts file on that computer. If you want this to be

[JBoss-user] [JBoss Getting Started Documentation] - Re: HTTP Status 404 - Servlet action is not available jboss

2006-06-14 Thread PeterJ
Based on the error message, I assume that you are using Struts. I think that somewhere (action within a web page or within code) you are referencing an action named jboss but no such action is defined in the struts-config.xml file. View the original post :

[JBoss-user] [Beginners Corner] - Re: Url rewriting ?

2006-06-14 Thread PeterJ
The other part of the solution is to define a jboss-web.xml file and set the context-root to /. See http://wiki.jboss.org/wiki/Wiki.jsp?page=ChangeTheContextOfAWAR View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3950983#3950983 Reply to the post :

[JBoss-user] [Beginners Corner] - Re: About conflict between deploy the site and upload new im

2006-06-14 Thread PeterJ
Would something like what I proposed in http://www.jboss.com/index.html?module=bbop=viewtopict=84440 help you? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3950984#3950984 Reply to the post :

[JBoss-user] [Performance Tuning] - Re: Where can I download the jboss operations network module

2006-06-14 Thread PeterJ
JBoss ON is available only thru a JBoss subscription, and thus the page to access it is available to JBoss support subscribers only. If you attend a JBoss ON Road Show, you will get a CD with a limited time license. View the original post :

[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Undeploy exploded web app

2006-06-13 Thread PeterJ
OK, let's try something else. Try undeploying your application via the undeploy method on the jboss.system:service=MainDeployer mbean. The undeploy method takes a URL, which you can find using the listDeployedURLs method in the jboss.deployment:flavor=URL,type=DeploymentScanner mbean. Do

[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Re:

2006-06-12 Thread PeterJ
Do you have both the jstl.jar and standard.jar files located in WEB-INF/lib? Standard.jar contains the *.tld files which contain the URI that is being requested. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3950474#3950474 Reply to the post :

[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Undeploy exploded web app

2006-06-12 Thread PeterJ
Nick, you state that some jar files cannot be deleted. Is that because they are in use? If so, the most likely cause is that the app server is holding on to session information for sessions that have not yet timed out. Try this. Set the session-timeout in web.xml to a low number, like 1.

[JBoss-user] [Performance Tuning] - Re: JBoss Performance Tuning

2006-06-12 Thread PeterJ
I have to disagree with your proposed heap settings. You have set the young generation to use most of the heap, and have allowed for only a very small tenured generation. Using your settings, every collection will be a major collection -- the Sun JVM performs a major collection if there is

[JBoss-user] [EJB/JBoss] - Re: Jboss taking long time to start after deploying EJB

2006-06-12 Thread PeterJ
Try taking some thread dumps of the JVM during that 20 minute delay. That should tell you where in your application the time is being spent. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3950488#3950488 Reply to the post :

[JBoss-user] [Installation, Configuration Deployment] - Re: Configuration files outside of war file

2006-06-12 Thread PeterJ
I know that the Spring Framework enables you to do that, though there you have a single configuration file where you specify the property values of all of your beans. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3950497#3950497 Reply to the post :

[JBoss-user] [Installation, Configuration Deployment] - Re: Jboss running in 64 bits server

2006-06-12 Thread PeterJ
Yes, it will run just fine. We have run it with both Windows Server 2003 and Linux (RedHat 4 and SUSE 9). Java (and thus JBoss) are processor agnostic. If the JVM runs on the processor, then typically any Java app will run. View the original post :

[JBoss-user] [Beginners Corner] - Re: Problem Starting JBoss with Fedora Core 5

2006-06-11 Thread PeterJ
djordan, please don't hijack others posts. (If you ask in a new post, I will provide some hints as to what might have gone wrong.) deguzmandaz, is the name of your system caaserver? I seem to recall a similar problem a while back, and adding the caaserver name to the /etc/hosts file might

[JBoss-user] [Beginners Corner] - Re: Deploying web app

2006-06-09 Thread PeterJ
The problem is with the url-pattern. According to the error message, clicking on the submit button requests a resource named /pnp/PnpAuth. But the url-pattern identifies a resource whose name would be /pnp/mmmi_pnp.jsp. Change your url-pattern to /PnpAuth (the prefix /pnp is assumed based on

[JBoss-user] [Installation, Configuration Deployment] - Re: temp data dir...

2006-06-09 Thread PeterJ
How will the images be accessed by the user? Will the web page contain links directly to the images, or will the web page contain a link to a servlet that will then access and return the image? If the former, then you should deploy an expanded ear file (as a directory) with an expanded war

[JBoss-user] [Beginners Corner] - Re: How do I disable twiddle.log when using twiddle.sh?

2006-06-09 Thread PeterJ
You are not, by any chance, attempting to run the jboss-nagios plugin? And getting a security error in creating the log file? I wish that the error message would tell me where it was attempting to create the file! Anyway, what I did was changed log4j.properties within twiddle.jar to put the

[JBoss-user] [Installation, Configuration Deployment] - Re: Installing and runing JBoss without JDK

2006-06-08 Thread PeterJ
Um, the tmp and work directories exist in 4.0.2 (and 4.0.3 and 3.2.6 and 3.2.7 and ...). Here is how I set JAVA_HOME: set JAVA_HOME=C:\Program Files\Java\j2re1.4.2_11 This is the default location where the JRE is installed. The batch file is used is the run.bat that came with JBoss, no

[JBoss-user] [Beginners Corner] - Re: Deploying web app

2006-06-08 Thread PeterJ
Here are the contents of one of my war files, as listed by jar: jar -tf info.war | META-INF/ | META-INF/MANIFEST.MF | WEB-INF/ | WEB-INF/jsp/ | WEB-INF/lib/ | image/ | image/blue/ | WEB-INF/info-servlet.xml | WEB-INF/jsp/footer.jsp | WEB-INF/jsp/header.jsp |

[JBoss-user] [Beginners Corner] - Re: Deploying web app

2006-06-08 Thread PeterJ
One more thing. If you want to find out what goes into a war file and how all of the parts work, one good resource is http://pdf.moreservlets.com/ View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3949886#3949886 Reply to the post :

[JBoss-user] [Installation, Configuration Deployment] - Re: Installing and runing JBoss without JDK

2006-06-07 Thread PeterJ
You do not need a JDK, only a JRE. It tried it, its works. My setup was Windows XP, JRE 1.4.2_11 and JBoss 4.0.4GA. I set JAVA_HOME to my JRE, cleaned out the temp and work directories under server/default, launched the server, and accessed my JSPs just fine. Took me all of 2 minutes to

[JBoss-user] [Installation, Configuration Deployment] - Re: JBoss non-root

2006-06-06 Thread PeterJ
I never run JBoss as root. As long as you have your directory and file permissions set up correctly, you should have no problems. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3949387#3949387 Reply to the post :

[JBoss-user] [Installation, Configuration Deployment] - Re: Upgrading to 4.0.4 No Minimal or All?

2006-06-06 Thread PeterJ
The installation wizard creates only one server configuration - the one you ask for. If you download the zip file it contains the typical three configurations. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3949428#3949428 Reply to the post :

[JBoss-user] [Beginners Corner] - Re: Two Errors: jmx-console and JSP examples

2006-06-05 Thread PeterJ
I'm probably too late to stop you from uninstalling JBoss, but if you inherited the setup and somebody already handled the configuration, and it was working correctly with Tomcat on the same machine, what you should do is determine which port JBoss has open. One way to do this is look at the

[JBoss-user] [Installation, Configuration Deployment] - Re: blue screen

2006-06-05 Thread PeterJ
I think that your JVM installation might be corrupt, or one of the Windows system files might be corrupt (image what would happen with a bad winsock.dll). Try re-installing the JVM. Go to the Windows Update site and make sure you have all of the patches (that might fix a corrupted file).

[JBoss-user] [Beginners Corner] - Re: Deploying without WAR/EAR?

2006-06-05 Thread PeterJ
I haven't worked with Cocoon so I don't know how soemthing built with Coccon is deployed, but maybe this will help. Deploy your app as an exploded set of files within directories, rather than packaged up within war and ear files. For example, assume you have xxx.ear which contains aaa.war and

[JBoss-user] [Beginners Corner] - Re: Two Errors: jmx-console and JSP examples

2006-06-05 Thread PeterJ
Is your reference to Tomcat 3.3 a typo? JBoss 4.0.4 comes with Tomcat 5.5, not 3.3. You say that http://127.0.0.1:8080/index.html brings up the Tomcat home page? Well, it shouldn't. Instead you should see a page with the JBoss logo and the following text/links: JBoss Online Resources |

[JBoss-user] [Beginners Corner] - Re: Maven 2

2006-06-05 Thread PeterJ
If the Maven2 repository doesn't have the specific library I want (there is no consistency, some libraries go up to 4.0.2, others are still at 3.2.3), I followed the 3rd-party library steps to load the desired JBoss libraries into my local repository

[JBoss-user] [Management, JMX/JBoss] - Re: Problem obtaining MBeanServerConnection object

2006-06-05 Thread PeterJ
I wonder if your problem is more related to the part of the error message that states no security manager: RMI class loader disabled. I ran into something like this a couple of weeks ago and had to read up about security managers and the java.policy file and other such fun topics. Googling

[JBoss-user] [Installation, Configuration Deployment] - Re: cannot build jboss from sources

2006-06-05 Thread PeterJ
Did you download the jboss-head module from CVS? Are you in the build directory when you run build.sh? By the way, the jboss-head module is the latest alpha version of 5.0. If you want to compile a released version of JBoss, download one of the source distributions from the download area.

[JBoss-user] [Installation, Configuration Deployment] - Re: Configuration files outside of war file

2006-06-05 Thread PeterJ
Try this: String jbossHome = System.getProperties(jboss.home.dir); | Properties props = new Properties().load(new FileInputStream(jbossHome + / + propFileName )); where propFileName is the name of your properties file. View the original post :

[JBoss-user] [Installation, Configuration Deployment] - Re: Configuration files outside of war file

2006-06-05 Thread PeterJ
Oops, change the file name in the last lin to read: jbossHome + /configs + propFileName View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3949129#3949129 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3949129

[JBoss-user] [Beginners Corner] - Re: [Jboss qualification Preliminary Question] Installing Jb

2006-06-02 Thread PeterJ
Yes, the system I described is running Windows. On my Linux box I have almost the same setup (MySQL, PostgreSQL, JBoss) except I haven't installed Oracle there. However, on another box in our lab we have had various combinations of Oracle (9i and 10g), JBoss (3.2.3 through 4.0.3SP1), and

[JBoss-user] [Installation, Configuration Deployment] - Re: ExecuteQueue logs?

2006-06-02 Thread PeterJ
I think the data you are looking for is in the mbean named jboss.system:type=ServerInfo, attribute named ActiveThreadCount. You can view this data online via the jmx-console. Or you can use twiddle (http://docs.jboss.org/jbossas/jboss4guide/r5/html/ch2.chapter.html#d0e3901) to access the

[JBoss-user] [Installation, Configuration Deployment] - Re: Why are these files still in use?

2006-06-02 Thread PeterJ
Based on the file names, I am guessing that you are running on Windows. If so, get FileMon from SysInternals (http://www.sysinternals.org/) and run it, that should tell you what is using those files. From personal experience, I ran into this situation in two ways: 1) my anti-virus software

[JBoss-user] [Beginners Corner] - Re: Want to change listening interface (eth0, eth1, etc)

2006-06-02 Thread PeterJ
Try this: run -b 10.1.1.10 See http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossRunParameters View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3948784#3948784 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3948784

[JBoss-user] [Management, JMX/JBoss] - Re: JMX RMI Connector from JDK1.5

2006-06-02 Thread PeterJ
Yes, you can easily write a Java app to access MBeans within JBoss, and you don't need JDK 5 to do it. Here is some simple code that prints out the attribute value of a particular mbean: package foo.bar; | import java.util.Hashtable; | import javax.management.MBeanServerConnection; |

[JBoss-user] [Management, JMX/JBoss] - Re: JMX RMI Connector from JDK1.5

2006-06-02 Thread PeterJ
Will this approach work with other app servers? Probably. I am in the middle of preparing a presentation for a conference in December (paper deadline is June 16th!) and I cover JMX (which is why I had a small example app already prepared). I was going to try it with other app servers so I

[JBoss-user] [Installation, Configuration Deployment] - Re: JBoss 4.0.4 deployment exception: Could not open jboss-s

2006-06-01 Thread PeterJ
I guess I should also ask how you installed JBoss: via the installer jar file or did you download and unzip the zip file? If you used the installer jar file, what did you name your server (i.e., what directories appear under jboss-4.0.4.ga/server)? View the original post :

[JBoss-user] [Installation, Configuration Deployment] - Re: Server stop --- Undeploying application

2006-05-31 Thread PeterJ
I was just making sure you were not using JSR-88 to deploy, and you are not, which is good. Now I will echo the question that jaikiran already posted: What sort of post configuration are you doing in your application? And more importantly, how are you doing those changes (i.e., via MBEan

[JBoss-user] [Installation, Configuration Deployment] - Re: Hibernate and webservice deployment

2006-05-31 Thread PeterJ
Here is what I did. In my har file I have only the hibernate-service.xml file and the maping (*.hbm.xml) files. In my ear file I have the har file, a jar file that contains the data model (all the data classes, the hibernate DAO classes, etc.), the war file, and another jar file that contains

[JBoss-user] [Installation, Configuration Deployment] - Re: Hibernate and webservice deployment

2006-05-31 Thread PeterJ
I only thing I can see is that my application.xml file contains: application ... | module | web | web-uri.war/web-uri | context-root/context-root | /web | /module | module | java_data.jar/java | /module

[JBoss-user] [Installation, Configuration Deployment] - Re: Hibernate and webservice deployment

2006-05-31 Thread PeterJ
All of my manifest.mf file are plain, no classpaths there. I have run on 4.0.3SP1 and 4.0.4RC2 (for the later I had to switch back to the axis-based web services as noted in the readme.html). I haven't had the chance to convert my code to the newer JBossWS architecture. (I based my code on

[JBoss-user] [Installation, Configuration Deployment] - Re: DeploymentException: Trying to install an already regist

2006-05-30 Thread PeterJ
My first question on reading your post was: are you using Hibernate? But whether you are or not, I have never noticed the behavior you have documented. And I have deployed both applications that have used Hibernate and those that have used straight JDBC. One way to track it down is to set

[JBoss-user] [Performance Tuning] - Re: nagios plugin to monitor tomcat

2006-05-30 Thread PeterJ
I tried the following: 1) Did a search on nagios plugin on the JBoss web site. 2) Googled jboss nagois plugin. Both returned the web page that contains the nagios plugin. Why ask about something on the forum and have to wait 3 days for a reply when a simple search gets you the reply within 10

[JBoss-user] [Installation, Configuration Deployment] - Re: Server stop --- Undeploying application

2006-05-30 Thread PeterJ
How are you deploying your application? The diferent ways I know of are 1) via jmx-console, 2) copying to deploy directory, 3) via jsr-88 api. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3947712#3947712 Reply to the post :

  1   2   3   >