Results 1 to 11 of 11
  1. #1
    Join Date
    Jun 2006
    Posts
    63

    Unanswered: Seeking advice on JBoss

    Hi folks,

    JBoss is completely new to me. I expect to explore it getting to know its application. Folks having experience on it please advise;

    1) Which packages shall I download for testing at start?

    2) I shall run Ubuntu-alternate-6.06 as OS. Unless I must build the OS myself then I shall head LFS -> BLFS. Can I use OS off the shelf?

    3) Do I need Eclipse to run JBoss application?

    4) What will be the package on JBoss equivalent to Crystal Vision and Xcelsius, dashboard, of Business Object

    5) Are JBoss packages available on 64 bits?

    TIA

    B.R.
    satimis

  2. #2
    Join Date
    Aug 2006
    Posts
    5
    You know JBoss is a Java J2EE app server, not a database, right? It's a Java app, so it's based on the Java JVM installed on the OS, not the OS itself really. I don't run Ubuntu myself, but Java and JBoss should run fine on it - not sure about the 64 bit stuff though. We run JBoss on Fedora Core 2 and 4 without any problems connecting our app to MySQL and MS-SQL on Windows servers. JBoss connects great to MySQL on running on Windows or Linux.

  3. #3
    Join Date
    Jun 2006
    Posts
    63
    Hi shwango,

    Tks for your advice.

    Do you know whether JBoss has good connectiong to PostgreSQL? Tks

    B.R.
    satimis

  4. #4
    Join Date
    Aug 2006
    Posts
    5
    Yes, it has good support for PostgreSQL, althought I have not used it personally. I do know of some JBoss apps using PostgreSQL. As long as there is a good JDBC driver or other Java support, most databases will work fine with JBoss.

    Check out: http://jdbc.postgresql.org/
    And here: http://wiki.jboss.org/wiki/Wiki.jsp?...figDataSources

  5. #5
    Join Date
    Jun 2006
    Posts
    63
    Hi shwango,

    Your advice noted with tks. Tks for your URL

    satimis

  6. #6
    Join Date
    Jun 2006
    Posts
    63
    Hi shwango,

    I can't get JBoss started.

    $ export JAVA_HOME=/home/satimis/jrockit-R26.4.0-jdk1.5.0_06
    $ sudo jboss-4.0.4.GA/bin/run.sh
    Code:
    =========================================================================
    
      JBoss Bootstrap Environment
    
      JBOSS_HOME: /home/satimis/jboss-4.0.4.GA
    
      JAVA: /home/satimis/jrockit-R26.4.0-jdk1.5.0_06/bin/java
    
      JAVA_OPTS: -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dprogram.name=run.sh
    
      CLASSPATH: /home/satimis/jboss-4.0.4.GA/bin/run.jar:/home/satimis/jrockit-R26.4.0-jdk1.5.0_06/lib/tools.jar
    
    =========================================================================
    
    10:40:03,721 INFO  [Server] Starting JBoss (MX MicroKernel)...
    10:40:03,758 INFO  [Server] Release ID: JBoss [Zion] 4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000)
    10:40:03,761 INFO  [Server] Home Dir: /home/satimis/jboss-4.0.4.GA
    10:40:03,762 INFO  [Server] Home URL: file:/home/satimis/jboss-4.0.4.GA/
    10:40:03,764 INFO  [Server] Patch URL: null
    10:40:03,765 INFO  [Server] Server Name: default
    10:40:03,765 INFO  [Server] Server Home Dir: /home/satimis/jboss-4.0.4.GA/server/default
    10:40:03,767 INFO  [Server] Server Home URL: file:/home/satimis/jboss-4.0.4.GA/server/default/
    10:40:03,770 INFO  [Server] Server Log Dir: /home/satimis/jboss-4.0.4.GA/server/default/log
    10:40:03,772 INFO  [Server] Server Temp Dir: /home/satimis/jboss-4.0.4.GA/server/default/tmp
    10:40:03,774 INFO  [Server] Root Deployment Filename: jboss-service.xml
    10:40:05,390 INFO  [ServerInfo] Java version: 1.5.0_06,BEA Systems, Inc.
    10:40:05,390 INFO  [ServerInfo] Java VM: BEA JRockit(R) R26.4.0-63-63688-1.5.0_06-20060626-2259-linux-x86_64,BEA Systems, Inc.
    10:40:05,390 INFO  [ServerInfo] OS-System: Linux 2.6.15-23-amd64-generic,amd64
    10:40:06,812 INFO  [Server] Core system initialized
    10:40:08,756 INFO  [WebService] Using RMI server codebase: http://ubuntu:8083/
    10:40:08,824 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
    10:40:09,626 INFO  [NamingService] JNDI bootstrap JNP=/0.0.0.0:1099, RMI=/0.0.0.0:1098, backlog=50, no client SocketFactory, Server SocketFactory=class org.jboss.net.sockets.DefaultSocketFactory
    10:40:12,404 INFO  [Embedded] Catalina naming disabled
    10:40:12,499 INFO  [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set.
    10:40:12,503 INFO  [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set.
    10:40:12,809 INFO  [Http11BaseProtocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080
    10:40:12,815 INFO  [Catalina] Initialization processed in 312 ms
    10:40:12,819 INFO  [StandardService] Starting service jboss.web
    10:40:12,828 INFO  [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5.17
    10:40:12,938 INFO  [StandardHost] XML validation disabled
    10:40:13,000 INFO  [Catalina] Server startup in 185 ms
    10:40:13,245 INFO  [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/
    10:40:13,637 INFO  [WebappLoader] Dual registration of jndi stream handler: factory already defined
    10:40:14,389 INFO  [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jbossweb-tomcat55.sar/ROOT.war/
    10:40:14,902 INFO  [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../tmp/deploy/tmp23175jbossws-exp.war/
    10:40:15,182 INFO  [SubscriptionManager] Bound event dispatcher to java:/EventDispatcher
    10:40:15,374 INFO  [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
    10:40:17,297 INFO  [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/
    10:40:18,464 INFO  [MailService] Mail Service bound to java:/Mail
    10:40:18,680 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar
    10:40:18,747 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar
    10:40:18,766 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar
    10:40:18,859 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar
    10:40:18,941 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar
    10:40:19,003 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/mail-ra.rar
    10:40:20,354 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
    10:40:21,103 INFO  [A] Bound to JNDI name: queue/A
    10:40:21,106 INFO  [B] Bound to JNDI name: queue/B
    10:40:21,107 INFO  [C] Bound to JNDI name: queue/C
    10:40:21,107 INFO  [D] Bound to JNDI name: queue/D
    10:40:21,108 INFO  [ex] Bound to JNDI name: queue/ex
    10:40:21,174 INFO  [testTopic] Bound to JNDI name: topic/testTopic
    10:40:21,175 INFO  [securedTopic] Bound to JNDI name: topic/securedTopic
    10:40:21,175 INFO  [testDurableTopic] Bound to JNDI name: topic/testDurableTopic
    10:40:21,179 INFO  [testQueue] Bound to JNDI name: queue/testQueue
    10:40:21,257 INFO  [UILServerILService] JBossMQ UIL service available at : /0.0.0.0:8093
    10:40:21,316 INFO  [DLQ] Bound to JNDI name: queue/DLQ
    10:40:21,459 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
    10:40:21,604 INFO  [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
    10:40:21,812 INFO  [Http11BaseProtocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
    10:40:22,009 INFO  [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009
    10:40:22,026 INFO  [JkMain] Jk running ID=0 time=1/85  config=null
    10:40:22,113 INFO  [Server] JBoss (MX MicroKernel) [4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000)] Started in 18s:235ms
    It hung here. Any advice? TIA

    Remark: mySQL has not been configured yet.


    B.R.
    satimis

  7. #7
    Join Date
    Aug 2006
    Posts
    5
    I don't check this forum often, so I didn't see your post until now.

    Actually JBoss IS running!

    Once you see this:
    Code:
    [Server] JBoss (MX MicroKernel) [4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000)] Started in 18s:235ms
    You're good to go! JBoss is just a server so that's all you get - that's the console and it's output. You can also run it as a service as well.

    Goto http://localhost:8080/ and you should see the JBoss default page.

    I suggest you head over to jboss.org and check out the docs - or search Google.

  8. #8
    Join Date
    Jun 2006
    Posts
    63
    Hi shwango,

    Tks for your advice..

    JBoss is up running whenever evoking "http://localhost:8080/" on a browser. I'll go through relevant documents to learn.

    I'm going to install Gentoo amd64 on an AMD64 box and then have JBoss running on it. I already haven Gentoo install CD "install-amd64-minimal-2006.0.iso' burned on CD.

    A further question on database, if for MySQL, the database, whether I only need to install its main package (latest version). No further packages such as Apache, PHP, etc. are needed. I'm also considering whether to install EnterprizeDB as database. Any advice? TIA

    B.R.
    satimis

  9. #9
    Join Date
    Aug 2006
    Posts
    5
    Sorry again for the late post...

    I think you'll just need MySQL. For developing a JBoss application, JBoss and MySQL are all you'll need. Since JBoss uses Tomcat as it's web server, it's already pretty robust and stable. You can "front" JBoss/Tomcat with the Apache web server if needed, but it's not really necessary - you can Google for more info on this.

    I'm not familiar with "EnterprizeDB" so I can't help you there.

  10. #10
    Join Date
    Jun 2006
    Posts
    63
    Hi shwango,

    Tks for your advice.

    My testing on JBoss seems almost coming to a temporary halt because looking around for a stable 64bit/32bit Linux OS. I have JBoss installed on FedoraCore5 i386 (32bit) which is not working very stable. I tested Ubuntu_amd64 and also FC5_64 (I have another AMD64bit box for testing). They are more less the same. Then I was advised turning to Gentoo_amd64. I did not realise Gentoo has to be built with components. I ran Gentoo about 3~4 years ago. Then it was built on binary downloading from its website.

    Building Gentoo from components was not an easy task. If I understand the situation before start I would build LFS --> BLFS from components instead which is a little bid easier. I made several builds before. Gentoo_amd64 is now up running.

    I think you'll just need MySQL. For developing a JBoss application, JBoss and MySQL are all you'll need. Since JBoss uses Tomcat as it's web server, it's already pretty robust and stable. You can "front" JBoss/Tomcat with the Apache web server if needed, but it's not really necessary - you can Google for more info on this.
    If I understand your advice correctly I need MySQL and Tomcat additional to JBoss.

    http://tomcat.com/
    http://www.virtuas.com/tomcat?OVRAW=...OVMTC=standard

    Tomcat is for monitoring the running software. If I'm wrong please correct me. TIA.

    B.R.
    satimis

  11. #11
    Join Date
    Aug 2006
    Posts
    5
    Tomcat comes as part of JBoss. Tomcat is a web server and JSP/Servlet container. You can use it to monitor some of what JBoss is doing. So if you download JBoss, you have Tomcat already. Tomcat is used for the web stuff that you'll deploy on JBoss. You should really check out some tutorials on Tomcat, JBoss and web applications.

    I don't know much about the 64 bit stuff. I'm pretty sure there's a JVM for 64 bit processors at java.sun.com, but I'm not sure. If you get a 64 bit JVM (Java Virtual Machine) installed, JBoss should run fine.

    I'm running JBoss on Windows XP, Fedora Core 2 & 4 and White Box Linux all on Pentium 4 processors (some dual and hyperthreaded) without problems.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •