[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Putting a simple HTML file
So where is the problem? HTML files will be handle by apache and war, ear and so on by JBoss. The only thing you may do is configuring apache to foward some request to JBoss. You may use mod_proxy_ajp for this purpouse. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4167835#4167835 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4167835 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Apache2 + JBoss 4.2.2 + mod_jk
For now mod_jk starts but it deosn't work properly My mod_jk.conf: | LoadModule jk_module /usr/lib/apache2/modules/mod_jk.so | JkWorkersFile /etc/apache2/conf.d/workers.properties | JkShmFile /var/log/apache2/mod_jk.shm | JkLogFile /var/log/apache2/mod_jk.log | JkLogLevel debug | JkLogStampFormat "[%a %b %d %H:%M:%S %Y] " | JkRequestLogFormat "%w %V %T" | JkMountFile /etc/apache2/conf.d/uriworkermap.properties | JkMount /web-console/* worker1 | JkMount /jmx-console/* worker1 | My workers.properties: | worker.list=worker1 | worker.worker1.type=ajp13 | worker.worker1.host=127.0.0.1 | worker.worker1.port=8009 | my uriworkermap.properties: | /jmx-console=worker1 | /jmx-console/*=worker1 | /web-console=worker1 | /web-console/*=worker1 | but my mod_jk log means: missing uri map for jbossvm.localdomain:/jmx-console/ View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4167809#4167809 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4167809 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Apache2 + JBoss 4.2.2 + mod_jk
"gabewong" wrote : Ditch mod_jk and use mod_proxy instead. | I'm using mod_proxy_ajp now, but I#d like to have a performance comparision between mod_jk and mod_proxy_ajp View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4167804#4167804 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4167804 ___ 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 Tomcat Native Lib
"PeterJ" wrote : The reason I asked for the info I did was because I have seen this issue before on Linux (as pointed out by the posts mentioned by jaikiran). Unfortunately, as you saw in those posts, there was no known solution. | Yeah, but the pointed thread is useless anonymous wrote : | Did the long pause happen the first time you started JBossAS after a system reboot? My experience has been that the first time jbossas starts just fine but hangs at this point on every subsequent start, until I reboot my system. | I was rebooting for several times. The shortest time for JBoss start was about 20 minutes. Before the fix. anonymous wrote : | How did you come across the RANDFILE setting as a solution? | Tomcat native lib uses APR, APR uses SSL - so then ;-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166879#4166879 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166879 ___ 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 Tomcat Native Lib
Solved!!! The solution is quite simple, I've just added following in my run.sh script: | export RANDFILE=/dev/urandom | And now it works as usual (starting in 22 seconds instead of 50 minutes) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166605#4166605 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166605 ___ 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 Tomcat Native Lib
"jaikiran" wrote : See these | | http://www.jboss.com/index.html?module=bb&op=viewtopic&t=134284 | | http://www.jboss.com/index.html?module=bb&op=viewtopic&t=134163 These two don't really help me... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166599#4166599 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166599 ___ 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 Tomcat Native Lib
"PeterJ" wrote : Which version of JBossAS? | Which version of JBoss Native? | What operating system and version? Oh, sorry: Jboss 4.2.2 JBoss Native: jboss-native-2.0.4-linux2-x86-ssl.tar.gz OS: Ubuntu server 8.04 (in a virtual box) and it doesnt hang, it takes very long to start: | [Server] JBoss (MX MicroKernel) [4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)] Started in 49m:21s:689ms | Wohaaa, nearly 1 hour to start JBoss, great ! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166587#4166587 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166587 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Problem with Tomcat Native Lib
Hello all, I'm just trying to get JBoss working with Apache Tomcat Native library after reading and follwing instruction from the JBoss Wiki @ http://wiki.jboss.org/wiki/HowToAddAprToJBoss The JBoss starrt isn't complete and is not responding, during starting JBoss is hanging: | INFO [AprLifecycleListener] Loaded Apache Tomcat Native library 1.1.13. | 09:33:04,303 INFO [AprLifecycleListener] APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true]. | and it's all. How to fix it ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166410#4166410 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166410 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Apache2 + JBoss 4.2.2 + mod_jk
I'm trying to setup Apache2 forwarding to Jboss using the wiki page: http://wiki.jboss.org/wiki/UsingMod_jk1.2WithJBoss But it fails, during restarting apache I'm getting: | Syntax error on line 5 of /etc/apache2/conf.d/uriworkermap.properties: | Invalid command '/jmx-console=worker1', perhaps misspelled or defined by a module not included in the server configuration | I'm on Ubuntu Servwer 8.04 my workers.properties: | worker.list=worker1 | worker.worker1.type=ajp13 | worker.worker1.host=localhost | worker.worker1.port=8009 | and the uriworkermap.properties: | /jmx-console=worker1 | /jmx-console/*=worker1 | /web-console=worker1 | /web-console/*=worker1 | any ideas how to solve this problem ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166140#4166140 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166140 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - How To Dump jboss.system.ServerInfo attributes?
Hello all! with a little help of twiddle script I'm able to dump for example CPU utilzation. | twiddle.sh - localhost:8080 invoke "jboss.system:type=ServerInfo" listThreadCpuUtilization > CPU.html | but how to get the MBean attributes ??? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4161459#4161459 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4161459 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Jboss installtion error on Solaris
"mvarghese" wrote : run.sh: Missing file: /lib/tools.jar | run.sh: Unexpected results may occur. Make sure JAVA_HOME points to a JDK and not a JRE. | | ... | | Have you properly set $JAVA_HOME? What are you getting when you invoke echo $JAVA_HOME on prompt ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4161456#4161456 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4161456 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - [JBoss 4.2.2GA] Flat file or SQLite as Default
Hi folks, After greping thru the Docs and Wiki I've found just nothing how to set a flat file (or SQLite) as DefaultDS. Is it possible? How to make it ? Thnx in advance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4161051#4161051 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4161051 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Latest Jboss deployment package
"ebayne" wrote : Where can I find the latest GA version of Jboss for a x86 machine in a exe format? | Nowhere, seriously. JBoss is Java Based so to run it you will need JDK (you will find it at http://java.sun.com/javase/downloads/) Then just Run JBoss as described at http://wiki.jboss.org/wiki/StartStopJBoss View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4160949#4160949 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4160949 ___ 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.2.2GA]Problem with PostgreSQL as DefaultDS
OK, now everything is working In deploy/jms I had only: - rename hsqldb-jdbc-state-service.xml into jbossmq-destinations-service.xml - copy postgres-jdbc2-service.xml form $JBOSS_HOME/docs/examples/jms into deploy/jms and lightly adapt it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4160893#4160893 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4160893 ___ 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.2.2GA]Problem with PostgreSQL as DefaultDS
"jaikiran" wrote : jdbc:postgresql://[servername]:[port]/[database name] | | This is incorrect. You have replace the servername, port, database with the actual values corresponding to your database server. I'm so silly... OK, the connection is working but I'm still getting ERRORS: | WARN [ServiceController] Problem starting service jboss.mq:service | =PersistenceManager | org.jboss.mq.SpyJMSException: Could not resolve uncommited transactions. Messag | e recovery may not be accurate; - nested throwable: (org.postgresql.util.PSQLExc | eption: ERROR: syntax error at or near "TXID") | OK, probably I've to remove hsqldb-jdbc2-service.xml and hsqldb-jdbc2-service.xml from deploy/jms but what shall I put instead of them ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4160882#4160882 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4160882 ___ 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.2.2GA]Problem with PostgreSQL as DefaultDS
"jaikiran" wrote : What does your datasource file look like? And also which jars did you copy to the server/< serverName>/lib folder? | My postgres-ds.xml looks: | | | | | | | DefaultDS | jdbc:postgresql://[servername]:[port]/[database name] | org.postgresql.Driver | jboss | jboss | | | | | | | PostgreSQL 8.0 | | | | | I copied postgresql-8.1-412.jdbc3.jar into lib directory (I'm using PostgreSQL 8.1.11 on Solaris10) A DB connection with psql client works fine View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4160866#4160866 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4160866 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - [JBoss 4.2.2GA]Problem with PostgreSQL as DefaultDS
Hi all, After editing postgres-ds.xml in deploy direcotry and mapping Postgres as DefaultDS in standardjbosscmp-jdbc.xml and putting the JDBC jar drivers in the lib directory I'm still getting connection problems: | WARN [JBossManagedConnectionPool] Throwable while attempting to ge | t a new connection: null | org.jboss.resource.JBossResourceException: Could not create connection; - nested | throwable: (org.jboss.resource.JBossResourceException: Apparently wrong driver | class specified for URL: class: org.postgresql.Driver, url: jdbc:postgresql://[s | ervername]:[port]/[database name]) | ..and much more exceptions from JBoss ... Any solutions ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4160851#4160851 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4160851 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user