[jboss-user] [Beginner's Corner] - Re: How to install PHP on JBoss 4.0.3SP1 (Linux)?
I haven't used PHP with JBoss AS 4.0.x. All of the instructions I have seen are for 4.2.0 and higher. I imagine that you could possibly install PHP for use with 4.0.3SP1 - take a look at how it is done for 4.2.3 (and get it working with 4.2.3) and mimic that in 4.0.3. By the way, I don't think that installing JBoss Native is a requirement (but I could be wrong). By the way, is there a reason you need to use 4.0.3 and cannot use a more recent version? I am also wondering if Quercus might work for you. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4270278#4270278 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4270278 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: Destination COnfiguration issue with Jboss 5 and Messagi
You can use the JNDIView to see what names are in the JNDI tree. Most likely you are simply using the wrong name. See this: http://www.jboss.org/community/click.jspa?searchID=426554objectType=102objectID=9584 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4269212#4269212 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4269212 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal Users] - Re: jboss on Linux
Does this question relate to JBoss Portal, or are you asking about JBoss Application Server? Why would you expect a 40% performance improvement? My team has done a lot of testing with AS 4.0.5 on various platforms with various databases and the performance differences between JBoss AS running on Windows and on Linux have been minuscule. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4269213#4269213 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4269213 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginner's Corner] - Re: jBoss starting error:Unable to register deployment mbean
Try this: change two lines in the *-ds.xml file that you copied: 1) Give it a different jndi-name value 2) Give it a different database name value (change 'localDB' in connection-url to something else) You will probably have to change your code to reference the new jndi-name. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4269214#4269214 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4269214 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: Deployed application steals logging from JBoss. How to p
I do not know of anything in JBoss AS to prevent this - any code can directly manage log4j. I still think you need to confront the originator of app about this. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4269047#4269047 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4269047 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: Remote and Local JMS Client Access
Why are you setting jboss.bind.address and java.rmi.server.hostname instead of passing -b 0.0.0.0 which should set both? As long as you set java.rmi.server.hostname to something other than 0.0.0.0, RMI connections will be accepted only on the IP address specified (that is, if you say 127.0.0.1, then only localhost can connect, etc.) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4269052#4269052 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4269052 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0 Users] - Re: EJB 3.0 lookup from Pojo and Injection
anonymous wrote : JNDI lookup for a STATELESS session bean i the same transaction will return the SAME instance as a previous call ?? No. Stateless beans are kept in a pool; each time you ask for one via JNDI you could get a different instance. If you need a single bean, then look it up once and pass it to the methods that need to interact with it. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268831#4268831 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268831 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: Which version of el-api?
Here is a line from the META-INF/MANIFEST.MF file in jsp-api.jar: Import-Package: javax.el;version=2.1,... Thus it would appear that this JAR contains EL 2.1 By the way, examining the manifest.mf jar is usually the best way to determine the version number of any components. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268836#4268836 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268836 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Re: jboss Web-Console Memory
anonymous wrote : My jdk is 5 and os is linux. Good. You can use the jmap utility to dump the heap. And install VisualVM - you can download it separately or get it as part of JDK 6 (yes, you can have both JDK 5 and 6 installed at the same time and still use JDK 5 for JBoss AS - just set JAVA_HOME correctly.) Use VisualVM to load the heap dump - it has pretty decent tools for examining the heap contents. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268838#4268838 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268838 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: Deployed application steals logging from JBoss. How to p
You are going to have to first figure out how that app does logging, only then can you come up with a plan to prevent the log hijacking. What app is it? Where did you get it from? If you bought it, have you asked the people you bought it from about this issue? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268839#4268839 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268839 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal Users] - Re: Jboss Instance is up but 8080 port is not listening
Are you getting any errors in your console log? Do you see two lines that looks like this: 2009-11-20 12:03:28,485 INFO [Http11Protocol] (main) Starting Coyote HTTP/1.1 on http-127.0.0.1-8080 2009-11-20 12:03:28,516 INFO [AjpProtocol] (main) Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009 They should appear right before the started in xxx seconds message. What OS are you using? And which version of JBoss AS? See if this helps: https://www.jboss.org/community/wiki/DebugBindException View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268576#4268576 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268576 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal Users] - Re: Web Service client runs into Error invoking http client
Why are you asking this in the Portal forum? You would more likely get a reply if you asked this on the Web Services forum: http://www.jboss.org/index.html?module=bbop=viewforumf=200 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268582#4268582 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268582 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: How to provide the bind address when running JBoss as a
Edit the service.bat file and add the -b option to the command the runs the app server: :cmdStart | . . . | call run.bat -b 0.0.0.0 .r.lock run.log 21 | . . . | goto cmdEnd | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268368#4268368 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268368 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginner's Corner] - Re: JBoss (Apr) jboss-native :: linux
See if this discussion helps: http://www.jboss.org/index.html?module=bbop=viewtopict=147583 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268126#4268126 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268126 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginner's Corner] - Re: JBoss (Apr) jboss-native :: linux
The problem is that the sh script overwrites the library path, rather than appending to it. The first thing you should try is to modify the sh scrip to fix that - then the global .so file should be in the path again and will get picked up. You can use the ldd command to determine which shared object an app depends on. Also, search the forums for linux native apr - you'll get several hits many of which provide additional insight. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268178#4268178 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268178 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: Problem changing from Hypersonic to MS SQL
What version of JBoss AS? Each one has lsightly different steps one replacing HSQLDB with another database. Here are some discussions for AS 5.0 and 5.0.1: http://www.jboss.org/index.html?module=bbop=viewtopicp=4224936#4224936 http://www.jboss.org/index.html?module=bbop=viewtopict=141835 And a wiki entry relate to 4.x (it's for MySQL, but the general steps still apply): http://www.jboss.org/index.html?module=bbop=viewtopict=141835 Also, the log entries you posted are from the deployment report and usually do not provide enough information to pinpoint the problem. There should be an exception stack trace earlier in the console log. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4267915#4267915 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4267915 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Web Services Users] - Re: JBossWS is Java EE 5 compliant?
As far as I know, JBoss AS 5.x is Java EE 5 compliant. I believe that the standard configuration supplied in 5.x is the one that passed the certification tests. anonymous wrote : the 2007 whitepaper which states that JBossWS is not fully Java EE 5 compliant Given that AS 5.0.0 was not released until the end of 2008 (Nov or Dec), it doesn't surprise me that a 2007 whitepaper would state such a thing. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4267917#4267917 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4267917 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: Doc for adding queues and topics
You need to create a *-service.xml file and place it into the deploy directory. You can see an example file in the messaging 1.4.2 binary download at examples/destinations/jbm-examples-destinations-service.xml. In the docs, in the PDF look at section 6.6, Configuring Destinations. Caveat: I have 1.4.4, not 1.4.2 - I hope that the locations I have given have not changed between 1.4.2 and 1.4.4. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4267332#4267332 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4267332 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI and Naming] - Re: automate jboss jndi creation
anonymous wrote : always from the console, if we modifying the DataSource is actually modified the file under the directory data / attachments / This statement is confusing. What console? In Jboss AS, embedded jopr is the admin console, and you just now stated that embedded jopr places datasource config files (*-ds.xml) in the server/xxx/deploy directory. And yes you can modify the *-ds.xml files using any text editor. That is the usual mechanism for editing those files (embedded jopr is new and previously all configuration was done by editing the config files directly using any text editor). View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4267064#4267064 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4267064 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI and Naming] - Re: automate jboss jndi creation
OK, now I see what you are saying. When using the admin console: * if you create a new data source, it is places in server/xxx/deploy as jndiname-ds.xml * if you edit an existing data source (including one you just created a few seconds ago) then the modifications (or actually, a whole new set of config settings) is placed in server/xxx/data/attachment/datasourcename-ds.xml-randomid/org.jboss.resource.metadata.mcf.ManagedConnectionFactoryDeploymentGroup.attachment.xml What you would like to do is merge the changes that appear in the org.jboss.resource.metadata.mcf.ManagedConnectionFactoryDeploymentGroup.attachment.xml file into the server/xxx/deploy/*-ds.xml file. I would hate to tell you to write an XSLT to convert org.jboss.resource.metadata.mcf.ManagedConnectionFactoryDeploymentGroup.attachment.xml into *-ds.xml. Perhaps the embedded jopr developers would have a better idea, or you could suggest this functionality as a desired enhancement (who knows, they may already have something like this planned). You could ask in the embedded jopr forum: http://www.jboss.org/index.html?module=bbop=viewforumf=294 I suspect that Jopr and JON operate the same ways as they share this admin code. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4267087#4267087 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4267087 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: global web access to fckeditor
anonymous wrote : Renaming the directory to fckeditor.war does work, but I find this a bit odd. This is the correct way. Unlike Tomcat which supports only one app type (WAR apps), Jboss AS supports many app types and the suffix (.war) on the directory is necessary to identify the app type. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4267090#4267090 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4267090 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: Exception DynamicAOPStrateg
Try using JBoss Tattletale (http://www.jboss.org/tattletale)- it will list your dependencies, including transitive dependencies. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4267093#4267093 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4267093 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Advanced Documentation] - Re: How to Configure Jboss4.2.2 using Https
How do you do what? Replace the acme/ReadHttpsURL2 class with your main class? Or are you asking about something else? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4267118#4267118 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4267118 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: How to create a new profile outside theJboss-as/server d
Yes, you can do this - just set the appropriate system properties to let the app server know where to look. For example, if you copy server/default to /opt/myconfig, then when starting up the app server, add the following to the JAVA_OPTS: -Djboss.server.base.dir=/opt/myconfig -Djboss.server.base.url=file:///opt/myconfig/ That should be the only two you have to set. For a list of most of the properties: http://www.jboss.org/community/wiki/JBossProperties Or use the jmx-console and the SystemProperites mbean to see everything. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4266933#4266933 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266933 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Re: Upgraded jboss As 4.1 to 5.1 and performance degrated
Do you mean just slow startup times, or response times in general? If the former, check the JBoss AS Users forum - it contains a lot of entries related to this issue. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4266935#4266935 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266935 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: Examples Using Topic
I find it hard to believe that all of the tutorials are incorrect, especially if they are specific to JMS on JBoss AS. Perhaps if you shared the code you have and the exception you are getting, we could help you. Also mention the version of JBoss AS, and the version of Messaging if you installed another version than what comes with JBoss AS. Mentioning your OS and JDK might help also. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4266798#4266798 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266798 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginner's Corner] - Re: jboss installation
First, why are you installing 4.0.5? That is an ancient version. You should install 5.1.0 instead. Second, what do you mean by nothing is happen? Do you mean that after 8 hours the download has not finished? Or do you mean something else? If it is a download problem, what URL are you getting the downloads from? I just now downloaded 4.0.5 and it took only about 12 minutes. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4266355#4266355 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266355 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginner's Corner] - Re: jboss installation
anonymous wrote : o after downloading the 5.0 version what i have to do after that. Unzip the zip file. See this: http://www.jboss.org/index.html?module=bbop=viewtopicp=4205258 That is for an older version on Linux, but the steps still apply (on Windows, ignore step 4 and use run.bat in step 5) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4266385#4266385 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266385 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginner's Corner] - Re: jboss installation
Why did you try the chmod command? I said to ignore step 4. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4266391#4266391 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266391 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginner's Corner] - Re: jboss installation
I also said to use run.bat in step 5. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4266394#4266394 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266394 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginner's Corner] - Re: jboss installation
You are trying to run with a JRE, you need to set JAVA_HOME to where you installed a JDK. Either that or edit the run.bat file to remove the check for the 'server' JVM - to do that, comment out these lines: %JAVA% -server -version 21 | findstr /I hotspot nul | if not errorlevel == 1 ( | set JAVA_OPTS=%JAVA_OPTS% -server | ) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4266405#4266405 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266405 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginner's Corner] - Re: jboss installation
If you see the home page, it is installed. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4266407#4266407 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266407 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginner's Corner] - Re: jboss installation
My post about commenting out the code was in regards to your earlier post about the 'server' JVM. Since you stated that you now have it running, you can ignore that post. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4266420#4266420 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266420 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: How to add files to application classpath?
What do you mean by specific for each domain? Properties files can be placed in a JAR file in your app, in WEB-INF/classes, or even the server/xxx/conf directory. Your point #3 mentioned you tried the conf directory but you did not elaborate on what did not work for you. A specific example of what you did and what you expected would help. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4266089#4266089 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266089 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Re: How to tuning JBoss for 1500 vistior in peak?
Scan through this forum, there are lots of tuning suggestions in the various posts. What performance testing have you done? What efforts have you made to identify the bottleneck? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4266094#4266094 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266094 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: configuration issue in Adding APR to JBoss
anonymous wrote : 11:27:09,170 INFO [ServerInfo] Java VM: GNU libgcj 4.1.2 20080704 (Red Hat 4.1.2-44),Free Software Foundation, Inc. The GNU JVM is not a certified JVM and cannot run JBoss AS. You need to install either the Sun JDK or OpenJDK, and set your JAVA_HOME to reference it. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4265879#4265879 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4265879 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginner's Corner] - Re: protect HTTP INVOOKER JBOSS 4.2.3.ga
See if this helps: http://www.jboss.org/community/wiki/SecureTheInvokers View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4265882#4265882 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4265882 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginner's Corner] - Re: JBoss + PostgreSQL services startup on Windows
When this error happens, if you try to start the JBoss AS service again, is it successful? Or do you have to first do something with PostgreSQL? If PostgreSQL is taking too much time to start up properly, then the start of the JBoss AS service needs to be delayed until PostgreSQL is fully functional. Note that some services tell Windows that they are running before they are fully functional. Apparently, PostgreSQL does this (most of the tools used to run Java apps as services do the same thing - JBoss AS is rarely up and running when Windows thinks it is). Are you using PostgreSQL as your DefaultDS? If not, can you change the configuration for your apps to not establish the database connections until the first user request? Or simply add in a delay before getting the connections (if you have a startup mbean doing this). What tool are you using to run JBoss AS as a service? Perhaps that tool provides a mechanism to delay the startup. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4265745#4265745 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4265745 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Web Services Users] - Re: Starting up JBossWS 3.2.1 on Jboss 5.1.0.GA MINIMAL
The 'minimal' configuration does not contain enough basic services to support web services. I'm not sure if the 'web' configuration does, but that might be something worth trying (assuming you are not using EJBs for your web services.). Otherwise, you will have to use 'default' and follow the slimming guidelines to remove unwanted services: http://www.jboss.org/community/wiki/JBoss5xTuningSlimming View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4265595#4265595 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4265595 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence] - Re: Dropped JDBC Connections in JBoss
The 15 minutes sounds like the setting for idle-timeout-minutes in *-ds.xml. Do you have a check-valid-connection-sql setting in your *-ds.xml? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4265299#4265299 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4265299 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0 Users] - Re: EJB 3 1.1.5 bundle released with JBoss AS 5.1.0.GA
EJB3 (including MDB support) is built into JBoss AS 5.1.0, you do not need to install anything extra. Also, all of the server JAR files moved to common/lib, they are no longer in server/xxx/lib. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4265371#4265371 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4265371 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: Does Jboss have inbuilt HTTP Server ?
JBoss AS uses JBoss Web, which is a variation of Tomcat, as the HTTP server. You can find the mime types in server/xxx/deployers/jbossweb.deployer/web.xml, at the end of the file. As far as I know, there is no way to add webdav support to JBoss Web. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4265073#4265073 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4265073 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Re: GC does not appear to be running
I do not see anything obviously wrong with your settings. Looks like it is debugging time... View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4265117#4265117 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4265117 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Web Services Users] - Re: HTTP 1.0 Config
anonymous wrote : turn off the chunking by changing the http://org.jboss.ws/http#chunksize to 0 in the Standard Client element Having dealt with this issue a few months ago, it would appear that this is the only way to do this. At least I could not come up with any alternatives. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4264882#4264882 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4264882 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: changing java options for jboss
Which version of JBoss AS? In 5.1 the JAVA_OPTS are in run.conf.bat. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4264926#4264926 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4264926 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginner's Corner] - Re: jboss with website root which sits deep in the app
Wow, resurrecting this discussion one year later. I have no idea on how to get this scheme to work, or even what AS 5.1 would do with finding a web app nested inside another web app. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4264611#4264611 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4264611 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Re: Jboss 5.0.0 GA application server not responding after
Sounds like you could be in an endless garbage collection loop. Have you monitored garbage collection? What is the CPU usage for the app server? If you scan this forum you will come across many suggestions on how to monitor gc and how to go about debugging this situation (thread dumps come to mind). View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4264612#4264612 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4264612 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: JBOSS 4.3 EAP NOT PICKING UP TNSNAMES.ORA
JBoss AS simply passes the connection URL to the JDBC driver - it is the driver that makes the database connection. Does the Oracle JDBC driver you are using support the jdbc:oracle:oci:@ORCL connection URL? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4264613#4264613 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4264613 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools Users] - Re: help! attempting to refactor a method casues OutOfMemory
Try increasing the -Xmx size, say to -Xmx1200m. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4264614#4264614 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4264614 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Re: GC does not appear to be running
Try taking the dash out of the name. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4264620#4264620 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4264620 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: JBOSS 4.3 EAP NOT PICKING UP TNSNAMES.ORA
It has nothing to do with JBoss AS. It is the JDBC driver that makes the connection. Can the driver find the necessary files? How do you tell the driver where to look to find those files? All of that should be in the documentation for the Oracle JDBC driver you are using. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4264646#4264646 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4264646 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools Users] - Re: help! attempting to refactor a method casues OutOfMemory
How much free memory do you have available (before running Eclipse)? Did you also increase the permgen size? The JVM will refuse to run if it determines there is not enough memory to allocate the heap and permgen. If you have plenty of memory, you might want to play around with the permgen size and max heap size to find a workable combination. It might also help to monitor the heap usage for your original settings. A tool such as jconsole or visualvm should help with that. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4264648#4264648 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4264648 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools Users] - Re: help! attempting to refactor a method casues OutOfMemory
Another thought - how large is your workspace? How many projects? Closing unnecessary projects might free up enough space to let you refactor. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4264650#4264650 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4264650 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: Setting Multiple Instances for JBoss-4.2.3 GA
You changed the port number in the server.xml file to 8480? That is enough for the transform to miss the port and for the sample-bindings.xml not to work. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4263960#4263960 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4263960 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Advanced Documentation] - Re: can I deploy all my shared libs in one single file ?
anonymous wrote : it seems that jboss does not load new shared libs at runtime That is correct. You have to restart the app server to get it to recognize new JAR files placed into server/xxx/lib or common/lib. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4263962#4263962 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4263962 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: ERROR [AjpMessage] Invalid message recieved with signatu
anonymous wrote : what is the correct or desired way to get the necessary files into the myproj.war file, given that I am using Ant? I follow the mechanism used by Maven - I first use the Ant copy task to gather all necessary files for the WAR in an exploded directory, usually at target/myappname.war, and then use the zip task to build the file target/dist/myappname.war. This way, I can have two deploy tasks - one that deploys the exploded directory (my usual preference) and another that deploys the WAR file. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4263966#4263966 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4263966 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: ERROR [AjpMessage] Invalid message recieved with signatu
Typo - replace zip task to built with jar task to build View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4263974#4263974 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4263974 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Re: JBoss 5.1.0.GA performance tuning
anonymous wrote : But I did not see tuning Connection pools and exact file and what parameters need to change Section 14.6.1, configuring datasources anonymous wrote : Thread pools Section 14.6.2, Configuring the HTTP request thread pool anonymous wrote : Object/Component pools If all access is via a web app, the HTTP thread pools are all you need - all objects and component are access via on the HTTP threads. anonymous wrote : is there any way we can decide number of connection pools(min, max etc.) number of threads, min and max cache size etc.. Yes, by running performance tests. See section 14.2. Once you know the performance aspects of your application, then you will be able to decide number of connection pools(min, max etc.) number of threads, min and max cache size etc.. based on the number of incoming requests/out going responses View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4263699#4263699 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4263699 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: Setting Multiple Instances for JBoss-4.2.3 GA
Most likely the XSL transform is failing, which can happen if you modify the server/xxx/deploy/jboss-web.deploy.service.xml file. The transform can be found in sample-bindings.xml, lines 364-387 (or look for the *** tomcat *** section). View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4263726#4263726 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4263726 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: sybase-persistence-service.xml
I don't know Sybase, but it sounds as if the DDL statements to create some of the tables are incorrect. The sybase-persistence-service.xml file contains the DDL statements, try entering them in by hand into Sybase (using a sybase query tool). That should tell you what it wrong with them, so that you can fix them in sybase-persistence-service.xml. Oh, and once you have done that, open a JIRA and attach the patch. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4263739#4263739 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4263739 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Advanced Documentation] - Re: can I deploy all my shared libs in one single file ?
You could do this: unjar all 20-some JARs into a common directory and then JAR the contents of that directory. Then you will have one JAR file which contains all the classes in the 20-some JAR files. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4263740#4263740 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4263740 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: sybase-persistence-service.xml
I would tell you to look in the server.log file because in that file you should see some DEBUG entries (with exception stack traces) that indicate that JMS discovered that the tables did not exist, after which it then creates them. But for some reason AS 5.1.0.GA was released with the logging level set to INFO. So try this - drop the tables from the database and then run the AS using: run -Djboss.server.log.threshold=DEBUG Then look at the JMS-related entries in the server.log. It might also help to turn query logging on in Sybase, that might give more hints as to what it going on. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4263747#4263747 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4263747 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal Users] - Re: Writing a log4j email service
I have always used a valid from field, even the log4j book I have is silent as to if the from address needs to be valid. You don't have to add the extra category - what you did earlier for root should be fine. The one thing I don't see for the SMTPAppender is authentication handling. I know that my ISP requires an account and a password to send email. But I cannot recall how I handled this when I set up the SMTPAppender before (and of course I no longer have that configuration). OK, I looked up the javadoc for SMTPAppender (http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/net/SMTPAppender.html), there is a SMTPUsername and SMTPPassword parameter, which you can set using: appender ... | ... | param name=SMTPUsername value=xxx/ | param name=SMTPPassword value=xxx/ | /appender The stupid book I have doesn't event mention these parameters, nor a few others that are available on SMTPAppender. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4263757#4263757 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4263757 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: sybase-persistence-service.xml
There might be a way to add that option to the URL in the *-ds.xml file. You'll have to check with the Sybase JDBC driver documentation for how to add options to the URL. Or you could use the connection-property element in *-ds.xml to set such properties. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4263808#4263808 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4263808 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginner's Corner] - Re: Run php 5 on Jboss AS under Linux
See if this helps: http://www.jboss.org/index.html?module=bbop=viewtopict=158271 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4263588#4263588 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4263588 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal Users] - Re: Writing a log4j email service
Defining an SMTPAppender should be all that you need. But you must ensure that the SMTP info you provide leads to an SMTP server. Is there one running on your system (your config has 'localhost' as the SMTPHost)? When I tried this a while back I used the SMTP host provided by by ISP and that worked. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4263317#4263317 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4263317 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: when I publish large message , but show error
anonymous wrote : I publish large messageanonymous wrote : | | How big? 1KB? 1MB? 1GB? 1TB? 1PB? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4263199#4263199 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4263199 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: context-root not working?
Try changing it to: attribute name=URLs | deploy/,file:/C:/xxx/apps/biplatform/biplatformear.ear | /attribute Notice that I removed the trailing '/'. With the trailing '/', JBoss AS assumes that you are specifying a directory that must be scanned for apps to deploy. Without it, JBoss AS assumes that the path is to the app itself. Oh wait, I think that without the trailing slash, the path must reference an archive file, not a directory. So try this instead: attribute name=URLs | deploy/,file:/C:/xxx/apps/biplatform/ | /attribute Now it will scan the C:/xxx/apps/biplatform/ directory and deploy the biplatformear.ear app. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4263202#4263202 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4263202 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal Users] - Re: to make jboss-5.1.0.GA stable and run for long period
This forum is for JBoss Portal. The questions you are asking are best asked in the Performance forum: http://www.jboss.org/index.html?module=bbop=viewforumf=121 I recommend that you first scan that forum because the answers to your questions are in there. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4262999#4262999 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4262999 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0 Users] - Re: server port in use 8080 error!!
See https://www.jboss.org/community/wiki/DebugBindException View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4262725#4262725 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4262725 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: Deployment related Issue
I suspect that the mbean you are depending on probably existed in 3.2.5 but no longer exists in 4.2.x. I recommend that you use JndiView to determine what mbeans are available in 4.2.x and choose one of those to depend on. I guess I should have looked at the deployment report you posted earlier a little closer because in this case it did provide enough info to point out the problem. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4262727#4262727 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4262727 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Re: Memory Management in Jboss
What JDK are you using? And what OS are you running? JDK 6 comes with VisualVM which lets you see what is going on in a running JVM. It can take and analyze heap dumps. VisualVM can connect to JDK 5 JVMs also, but the heap dump functionality is not available on Windows. Also, make use of the GC data options (-verbose:gc, -XX:PrintHeapAtGC, etc.) to see what the garbage collector is doing. For an introduction, see my presentation at: http://www.cecmg.de/doc/tagung_2007/agenda07/24-mai/2b3-peter-johnson/index.html View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4262735#4262735 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4262735 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: Deployment related Issue
I have no idea what 3.2.5 did if you did not specify a queue name (or how one could be specified outside the ejb-jar.xml file), but apparently 4.2.3 wants one. I'll leave it to you to look up the config settings. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4262448#4262448 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4262448 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: Deployment related Issue
Looks like you are missing the queue to which the MDB will listen. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4262196#4262196 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4262196 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Web Services Users] - Re: no access to wsdl
Start at http://localhost:8080/jbossws. On that page, in the Runtime Information box there is a View a list of deployed services link. Click that, you will get a page of registered services. Is you service on that page? If not, then your app was not recognized as a web service. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4262062#4262062 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4262062 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Re: Memory Leak - LocalManagedConnection
Please do not post the same question in multiple forums. http://www.jboss.org/index.html?module=bbop=viewtopict=162860 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4262063#4262063 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4262063 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: Deployment related Issue
Is your message-driven bean based on EJB 3 or 2.x? If 2.x, please post the descriptor file. If 3, please post the source code (you can remove the contents of the methods). View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261894#4261894 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261894 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Advanced Documentation] - Re: JBoss configuration to allow CAB and MSI files
Here is an example. Let's say that you have this file within your xxx.war (I'll include the war file in this path to provide context): xxx.war/dirToThe/contents/some.msi Then use this anchor tag: a href=dirToThe/contents/some.msisome.msi/a To directly access the file use this URL in the browser: http://hostname:8080/xxx/dirToThe/contents/some.msi In other works, there is no difference between how an html, css, gif, msi, exe or static file is access within a web app. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261928#4261928 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261928 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: Deployment related Issue
Earlier in the console log there should be an exception and stack trace, please post that. (What you posted is the deployment report which rarely says what went wrong.) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261755#4261755 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261755 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginner's Corner] - Re: Logging in JBoss
Use commons logging http://commons.apache.org/logging/ Your logger would then be declared as: private static final org.apache.commons.logging.Log logger = org.apache.commons.logging.LogFactory.getLog(ErrorBase.class); Commons logging will use Log4J is the JAR file is present, and java.util is not. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261754#4261754 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261754 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JMX] - Re: JNDI lookup for all the mbeans in JBoss
When you deploy a *-ds.xml files to define a data source connection, JBoss AS creates 4 (or 5) MBeans for the data source. I looked at all of those MBeans but could not see the connection URL in any of them. So digging through the MBeans to find that information will not work. The MBeans for a web application will not tell you which data source(s) that web app is using, such information is not kept within the metadata for the application because ti could connect to any data source and there is no need to tell JBoss AS beforehand which data source it will use. On the other hand, I could just be misunderstanding your question... View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261137#4261137 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261137 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Web Services Users] - Re: Multiple Instances, single jvm?
Actually, the following forum would have been a better location (not sure why in the new layout all of the AS-related forums are way down on the page...) http://www.jboss.org/index.html?module=bbop=viewforumf=61 But to answer your question, you need a JVM per instance. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261166#4261166 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261166 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Re: Memory monitoring in JBoss
Runtime.getRuntime().freeMemory() View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4260190#4260190 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4260190 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal Users] - Re: Freeware Jboss Monitor
Perhaps this will do: http://www.jboss.org/jopr View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4260192#4260192 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4260192 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: Password Masking in JBoss 5 xml configuration files
Please do not ask the same question in multiple forums. http://www.jboss.org/index.html?module=bbop=viewtopicp=4260193 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4260194#4260194 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4260194 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: Start JBoss from a remote machine?
Just because you are using a UNC name for run.bat does not mean that the batch file will run on the remote system - instead it means that you would like the remote batch file to run on your local system. The only way to get a batch file to run on a remote Windows system is to log onto that system remotely, either via Remote Desktop or some other remoting system, and run it from there. And then you have to be very careful not to close the remote session or else the remote process (JBossAS in the case) will also be terminated. My recommendation is to set up JBoss AS to run as a service on the remote system. And the use a Windows-native script, such as Powershell, to start/stop the remote service. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4259982#4259982 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4259982 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: Start JBoss from a remote machine?
Just because you are using a UNC name for run.bat does not mean that the batch file will run on the remote system - instead it means that you would like the remote batch file to run on your local system. The only way to get a batch file to run on a remote Windows system is to log onto that system remotely, either via Remote Desktop or some other remoting system, and run it from there. And then you have to be very careful not to close the remote session or else the remote process (JBossAS in the case) will also be terminated. My recommendation is to set up JBoss AS to run as a service on the remote system. And the use a Windows-native script, such as Powershell, to start/stop the remote service. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4259983#4259983 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4259983 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: Start JBoss from a remote machine?
Sorry for the duplicate post - the stupid wireless access point available at this hotel leaves much to be desired. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4259984#4259984 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4259984 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: Multiple JBoss instance as a service
Yes it can be done. The easiest way to explain it to you is to tell you to download the source for JBoss in Action (http://www.manning.com/jamae) and to try the 04 target in the ch15 directory. That target properly set up two JBoss AS instances as services, using the Binding Service to specify different ports for each instance. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4259985#4259985 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4259985 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginner's Corner] - Re: how to change the root url of jboss
Is the URL www.example.com also handled by JBoss AS or by something else? If by JBoss AS then it is not possible, at least, not without changing every context for every app [hmm, I don't even know if you can set /jboss/app1 as a context... - just now tried it - it works - well, ya l'arn somethin' new ev'r' day!] (see next paragraph for an alternative). If it will be handled by something else, then you might be able to do this by front-ending with Apache and have it redirect every request for www.example.com/jboss to JBoss AS, after rewriting the URL. By the way, if all URLs are to be handled by JBoss AS why not change just the context of the home page to /jboss and keep app1 at /app1 (rather than at /jboss/app1)? And then use the / context for the appropriate app. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4259400#4259400 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4259400 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0 Users] - Re: Stateful session beans don't keep state !!!
When the client asks for an EJB, it gets a proxy for the EJB, not the EJB itself. If the proxy is for a stateless bean (SLSB), when the client calls a method on the proxy, the server allocates a bean from a pool. Once the method is completed the bean is placed back in the pool. Any subsequent calls to methods on the SLSB repeat this pattern. If the proxy is for a stateful bean (SFSB) then the server allocate a bean specifically for that proxy. As long as the client calls methods on that proxy the same SFSB will handle the calls. If the client does another lookup, it gets a new proxy and a new SFSB instance for that proxy. Hope that explanation helps. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4259401#4259401 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4259401 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Web Services Users] - Re: Using abstract classes in services: JBOSSWS Native stack
anonymous wrote : public B doIt(B value) Is this a typo? Did you mean public A doIt(A value) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4259405#4259405 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4259405 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: Problem with maven building JBoss AS
I used the tar.gz file from the web page. 1) What OS are you running? 2) What is the full path name to the base source directory? 3) Do you have internet access with no firewall restrictions? 4) Did you verify the download using md5sum? 5) Just to verify: opened a command prompt, cd'ed to the src/build directory, and then ran build.bat 6) How far down the build did it get? In other words, do you get this error almost immediately or does the build go for a while before getting this error? Do all of the third party JARs get downloaded (Explorer tells me that there are 2382 files and 535 folders in the thirdparty directory) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4259411#4259411 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4259411 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat Integration] - Re: Howto deploy a simple Folder
You could place them in ROOT.war. Or you could try this: http://www.jboss.org/community/wiki/ExternalDirectories For external directories on JBoss AS 5, see: http://www.jboss.org/index.html?module=bbop=viewtopicp=4212358#4212358 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4259429#4259429 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4259429 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: Problem with maven building JBoss AS
I double-checked my m2 settings and I don't have the JBoss Maven repository there. I would suspect that the repository is specified in the POMs that need it. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4259447#4259447 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4259447 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools Users] - Re: Eclipse JBoss AS clean/publish
JBoss Tools does not deploy to the app server's deploy directory, instead it deploys apps in a subdirectory of workspace\.metadata\.plugins\org.jboss.ide.eclipse.as.core. Though I believe you can change this behavior... View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4259179#4259179 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4259179 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: PHP on Jboss AS 5
Did you search the forums for PHP? You might hvae found several posts, including: http://www.jboss.org/index.html?module=bbop=viewtopict=158271 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4259182#4259182 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4259182 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: Problem with maven building JBoss AS
It built for me (5.1.0.GA) and the only difference I can see is I am using Maven 2.2.0. Which sources did you use? The tar.gz file form the downloads page or did you checkout from Subversion? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4259194#4259194 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4259194 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools Users] - Re: Can't install JBoss Tools in Eclipse 3.5 SR1
All of the URLs are available at https://www.jboss.org/tools/download.html. I recommend using the one under Development Updates. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4259220#4259220 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4259220 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginner's Corner] - Re: javax.naming.NameNotFoundException: jdbc not bound
anonymous wrote : It would appear the purpose of the these two files is to map a Java EE Environment Naming Context (enc) 'local' entry (ie java:/comp/env/jdbc/MyDataSource) to a jBossNS 'global' naming entry (ie java:/MyDataSource). Have I got this right? Yes. anonymous wrote : Now, is there a way to globally define this mapping for all jBoss web applications in a similar fashion that the *-ds.xml datasource is globally defined? I would like to deliver an application that does not have jBoss specific configuration entries in the web.xml and does not need a jboss-web.xml file. No. The ENC is application-specific. In fact, each web app gets its own ENC. You can verify this by using JNDIView (in the jmx console). And each app can see only its own ENC. anonymous wrote : I know there are applications (I've installed at least one) that work with jBoss that only need the *-ds.xml deployed. What's the trick? You can have the app directly look up java:/MyDatasource instead of using jdbc/MyDatasource. In that case you do not need any of the web.xml or jboss-web.xml entries. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4259221#4259221 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4259221 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user