LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-27-2010, 06:24 AM   #1
dinakumar12
Member
 
Registered: Mar 2010
Location: INDIA (chennai)
Distribution: centos
Posts: 271
Blog Entries: 7

Rep: Reputation: 18
Jboss server


Hi everyone,

As we have planned to implement jboss web server. i am curious gather some information about it.

My question is where jboss stores the deployed file. Because jboss server starts with no error.but i cant able to access my application.Its showing 404 error.

I just want to know the path where jboss stores the deployed file or the any log files that tells the story.

thanks in advance,
Dinesh.
 
Old 08-27-2010, 09:23 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by dinakumar12 View Post
Hi everyone,
As we have planned to implement jboss web server. i am curious gather some information about it.

My question is where jboss stores the deployed file. Because jboss server starts with no error.but i cant able to access my application.Its showing 404 error.

I just want to know the path where jboss stores the deployed file or the any log files that tells the story.
If you're curious about JBoss, how about reading their documentation??

http://docs.jboss.org/jbossas/jboss4...html/ch01.html

First chapter includes file locations and structures, if you had tried to look.
 
Old 08-30-2010, 10:17 AM   #3
dinakumar12
Member
 
Registered: Mar 2010
Location: INDIA (chennai)
Distribution: centos
Posts: 271

Original Poster
Blog Entries: 7

Rep: Reputation: 18
Hi,

Thanks for your reply, i have configured jboss and it seems to run with no errors but while trying to access my web application i get http 404 error.i.e the requested source is not available.

here is my console log while starting jboss server.


20:39:44,686 INFO [AbstractJBossASServerBase] Server Configuration:

JBOSS_HOME URL: file:/usr/local/jboss-6.0.0.20100721-M4/
Bootstrap: $JBOSS_HOME/server/default/conf/bootstrap.xml
Common Base: $JBOSS_HOME/common/
Common Library: $JBOSS_HOME/common/lib/
Server Name: default
Server Base: $JBOSS_HOME/server/
Server Library: $JBOSS_HOME/server/default/lib/
Server Config: $JBOSS_HOME/server/default/conf/
Server Home: $JBOSS_HOME/server/default/
Server Data: $JBOSS_HOME/server/default/data/
Server Log: $JBOSS_HOME/server/default/log/
Server Temp: $JBOSS_HOME/server/default/tmp/

20:39:44,689 INFO [AbstractServer] Starting: JBossAS [6.0.0.20100721-M4 "Neo"]
20:39:46,514 INFO [ServerInfo] Java version: 1.6.0_0,Sun Microsystems Inc.
20:39:46,515 INFO [ServerInfo] Java Runtime: OpenJDK Runtime Environment (build 1.6.0_0-b16)
20:39:46,515 INFO [ServerInfo] Java VM: OpenJDK Server VM 14.0-b16,Sun Microsystems Inc.
20:39:46,515 INFO [ServerInfo] OS-System: Linux 2.6.18-128.el5,i386
20:39:46,516 INFO [ServerInfo] VM arguments: -Djava.awt.headless=true -Xms256M -Xmx512M -XX:MaxPermSize=512M -Djava.net.preferIPv4Stack=true -Dprogram.name=run.sh -Djava.library.path=/usr/local/jboss-6.0.0.20100721-M4/bin/native/lib -Djava.endorsed.dirs=/usr/local/jboss-6.0.0.20100721-M4/lib/endorsed
20:39:46,575 INFO [JMXKernel] Legacy JMX core initialized
20:39:52,871 INFO [AbstractServerConfig] JBoss Web Services - Stack CXF Server 3.4.0.Beta1
20:39:53,398 INFO [JSFImplManagementDeployer] Initialized 2 JSF configurations: [Mojarra-1.2, Mojarra-2.0]
20:40:02,568 INFO [JMXConnector] starting JMXConnector on host 127.0.0.1:1090
20:40:02,668 INFO [MailService] Mail Service bound to java:/Mail
20:40:04,004 INFO [HornetQServerImpl] live server is starting..
20:40:04,081 INFO [JournalStorageManager] Using AIO Journal
20:40:04,106 WARNING [HornetQServerImpl] Security risk! It has been detected that the cluster admin user and password have not been changed from the installation default. Please see the HornetQ user guide, cluster chapter, for instructions on how to do this.
20:40:04,917 INFO [NettyAcceptor] Started Netty Acceptor version 3.2.0.Final-r2292 127.0.0.1:5455 for CORE protocol
20:40:04,921 INFO [NettyAcceptor] Started Netty Acceptor version 3.2.0.Final-r2292 127.0.0.1:5445 for CORE protocol
20:40:04,923 INFO [HornetQServerImpl] HornetQ Server version 2.1.1.Final (Stripey, 119) started
20:40:05,002 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083/
20:40:06,376 INFO [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/local/jboss-6.0.0.20100721-M4/bin/native/lib
20:40:06,537 INFO [ModClusterService] Initializing mod_cluster 1.1.0.CR3
20:40:06,554 INFO [TomcatDeployment] deploy, ctxPath=/invoker
20:40:07,559 INFO [RARDeployment] Required license terms exist, view vfs:/usr/local/jboss-6.0.0.20100721-M4/server/default/deploy/jboss-local-jdbc.rar/META-INF/ra.xml
20:40:07,576 INFO [RARDeployment] Required license terms exist, view vfs:/usr/local/jboss-6.0.0.20100721-M4/server/default/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml
20:40:07,641 INFO [RARDeployment] Required license terms exist, view vfs:/usr/local/jboss-6.0.0.20100721-M4/server/default/deploy/jms-ra.rar/META-INF/ra.xml
20:40:08,132 INFO [HornetQResourceAdapter] HornetQ resource adaptor started
20:40:08,138 INFO [RARDeployment] Required license terms exist, view vfs:/usr/local/jboss-6.0.0.20100721-M4/server/default/deploy/mail-ra.rar/META-INF/ra.xml
20:40:08,150 INFO [RARDeployment] Required license terms exist, view vfs:/usr/local/jboss-6.0.0.20100721-M4/server/default/deploy/quartz-ra.rar/META-INF/ra.xml
20:40:08,233 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: Thread-2
20:40:08,275 INFO [SchedulerSignalerImpl] Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
20:40:08,275 INFO [QuartzScheduler] Quartz Scheduler v.1.8.0 created.
20:40:08,278 INFO [RAMJobStore] RAMJobStore initialized.
20:40:08,280 INFO [QuartzScheduler] Scheduler meta-data: Quartz Scheduler (v1.8.0) 'JBossQuartzScheduler' with instanceId 'NON_CLUSTERED'
Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
NOT STARTED.
Currently in standby mode.
Number of jobs executed: 0
Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 10 threads.
Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persistence. and is not clustered.

20:40:08,281 INFO [StdSchedulerFactory] Quartz scheduler 'JBossQuartzScheduler' initialized from an externally opened InputStream.
20:40:08,281 INFO [StdSchedulerFactory] Quartz scheduler version: 1.8.0
20:40:08,281 INFO [QuartzScheduler] Scheduler JBossQuartzScheduler_$_NON_CLUSTERED started.
20:40:08,923 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'javaefaultDS'
20:40:09,249 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
20:40:09,292 INFO [PersistenceUnitValueMetaData] iDependOn persistence.unit:unitName=#timerdb
20:40:09,308 INFO [PersistenceUnitDeployment] Starting persistence unit persistence.unit:unitName=#timerdb
20:40:09,399 INFO [Version] Hibernate Annotations 3.5.2-Final
20:40:09,429 INFO [Environment] Hibernate 3.5.2-Final
20:40:09,433 INFO [Environment] hibernate.properties not found
20:40:09,439 INFO [Environment] Bytecode provider name : javassist
20:40:09,449 INFO [Environment] using JDK 1.4 java.sql.Timestamp handling
20:40:10,176 INFO [Version] Hibernate Commons Annotations 3.2.0.Final
20:40:10,193 INFO [Version] Hibernate EntityManager 3.5.2-Final
20:40:10,251 INFO [Ejb3Configuration] Processing PersistenceUnitInfo [
name: timerdb
...]
20:40:10,274 WARN [Ejb3Configuration] Persistence provider caller does not implement the EJB3 spec correctly. PersistenceUnitInfo.getNewTempClassLoader() is null.
20:40:10,384 INFO [AnnotationBinder] Binding entity from annotated class: org.jboss.ejb3.timerservice.mk2.persistence.TimerEntity
20:40:10,462 INFO [EntityBinder] Bind entity org.jboss.ejb3.timerservice.mk2.persistence.TimerEntity on table timer
20:40:10,660 INFO [AnnotationBinder] Binding entity from annotated class: org.jboss.ejb3.timerservice.mk2.persistence.CalendarTimerEntity
20:40:10,664 INFO [EntityBinder] Bind entity org.jboss.ejb3.timerservice.mk2.persistence.CalendarTimerEntity on table Calendar_Timer
20:40:10,701 INFO [AnnotationBinder] Binding entity from annotated class: org.jboss.ejb3.timerservice.mk2.persistence.TimeoutMethod
20:40:10,707 INFO [EntityBinder] Bind entity org.jboss.ejb3.timerservice.mk2.persistence.TimeoutMethod on table Timeout_Method
20:40:10,817 INFO [Version] Hibernate Validator 3.1.0.GA
20:40:10,877 INFO [Version] Hibernate Validator 4.0.2.GA
20:40:10,929 INFO [DefaultTraversableResolver] Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver.
20:40:11,125 INFO [DefaultTraversableResolver] Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver.
20:40:11,133 INFO [HibernateSearchEventListenerRegister] Unable to find org.hibernate.search.event.FullTextIndexEventListener on the classpath. Hibernate Search is not enabled.
20:40:11,136 INFO [DefaultTraversableResolver] Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver.
20:40:11,161 INFO [ConnectionProviderFactory] Initializing connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
20:40:11,167 INFO [InjectedDataSourceConnectionProvider] Using provided datasource
20:40:11,171 INFO [SettingsFactory] RDBMS: HSQL Database Engine, version: 1.8.0
20:40:11,171 INFO [SettingsFactory] JDBC driver: HSQL Database Engine Driver, version: 1.8.0
20:40:11,241 INFO [Dialect] Using dialect: org.hibernate.dialect.HSQLDialect
20:40:11,264 INFO [JdbcSupportLoader] Disabling contextual LOB creation as JDBC driver reported JDBC version [3] less than 4
20:40:11,279 INFO [TransactionFactoryFactory] Transaction strategy: org.hibernate.ejb.transaction.JoinableCMTTransactionFactory
20:40:11,285 INFO [TransactionManagerLookupFactory] instantiating TransactionManagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup
20:40:11,291 INFO [TransactionManagerLookupFactory] instantiated TransactionManagerLookup
20:40:11,291 INFO [SettingsFactory] Automatic flush during beforeCompletion(): disabled
20:40:11,292 INFO [SettingsFactory] Automatic session close at end of transaction: disabled
20:40:11,292 INFO [SettingsFactory] JDBC batch size: 15
20:40:11,292 INFO [SettingsFactory] JDBC batch updates for versioned data: disabled
20:40:11,294 INFO [SettingsFactory] Scrollable result sets: enabled
20:40:11,294 INFO [SettingsFactory] JDBC3 getGeneratedKeys(): disabled
20:40:11,294 INFO [SettingsFactory] Connection release mode: auto
20:40:11,296 INFO [SettingsFactory] Default batch fetch size: 1
20:40:11,297 INFO [SettingsFactory] Generate SQL with comments: disabled
20:40:11,297 INFO [SettingsFactory] Order SQL updates by primary key: disabled
20:40:11,297 INFO [SettingsFactory] Order SQL inserts for batching: disabled
20:40:11,297 INFO [SettingsFactory] Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
20:40:11,304 INFO [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory
20:40:11,304 INFO [SettingsFactory] Query language substitutions: {}
20:40:11,304 INFO [SettingsFactory] JPA-QL strict compliance: enabled
20:40:11,304 INFO [SettingsFactory] Second-level cache: enabled
20:40:11,304 INFO [SettingsFactory] Query cache: disabled
20:40:11,320 INFO [SettingsFactory] Cache region factory : org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge
20:40:11,320 INFO [RegionFactoryCacheProviderBridge] Cache provider: org.hibernate.cache.HashtableCacheProvider
20:40:11,325 INFO [SettingsFactory] Optimize cache for minimal puts: disabled
20:40:11,325 INFO [SettingsFactory] Cache region prefix: persistence.unit:unitName=#timerdb
20:40:11,325 INFO [SettingsFactory] Structured second-level cache entries: disabled
20:40:11,342 INFO [SettingsFactory] Statistics: disabled
20:40:11,343 INFO [SettingsFactory] Deleted entity synthetic identifier rollback: disabled
20:40:11,343 INFO [SettingsFactory] Default entity-mode: pojo
20:40:11,343 INFO [SettingsFactory] Named query checking : enabled
20:40:11,343 INFO [SettingsFactory] Check Nullability in Core (should be disabled when Bean Validation is on): disabled
20:40:11,431 INFO [SessionFactoryImpl] building session factory
20:40:11,770 INFO [SessionFactoryObjectFactory] Factory name: persistence.unit:unitName=#timerdb
20:40:11,773 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.namingrg.jnp.interfaces}
20:40:11,777 INFO [SessionFactoryObjectFactory] Bound factory to JNDI name: persistence.unit:unitName=#timerdb
20:40:11,777 WARN [SessionFactoryObjectFactory] InitialContext did not implement EventContext
20:40:11,793 INFO [SchemaUpdate] Running hbm2ddl schema update
20:40:11,793 INFO [SchemaUpdate] fetching database metadata
20:40:11,795 INFO [SchemaUpdate] updating schema
20:40:11,798 INFO [DefaultTraversableResolver] Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver.
20:40:11,852 INFO [TableMetadata] table found: PUBLIC.CALENDAR_TIMER
20:40:11,852 INFO [TableMetadata] columns: [dayofmonth, second, autotimer, hour, timeoutmethod_id, minute, id, timezone, startdate, month, dayofweek, year, enddate]
20:40:11,852 INFO [TableMetadata] foreign keys: [fkeded5b04b7de2d8a, fkeded5b04e6e6ef93]
20:40:11,852 INFO [TableMetadata] indexes: [sys_idx_57, sys_idx_55, sys_idx_48]
20:40:11,871 INFO [TableMetadata] table found: PUBLIC.TIMEOUTMETHOD_METHODPARAMS
20:40:11,871 INFO [TableMetadata] columns: [methodparams, timeoutmethod_id]
20:40:11,871 INFO [TableMetadata] foreign keys: [fkf294c964b7de2d8a]
20:40:11,871 INFO [TableMetadata] indexes: [sys_idx_59]
20:40:11,895 INFO [TableMetadata] table found: PUBLIC.TIMEOUT_METHOD
20:40:11,895 INFO [TableMetadata] columns: [id, methodname, cachedtostring, declaringclass]
20:40:11,895 INFO [TableMetadata] foreign keys: []
20:40:11,896 INFO [TableMetadata] indexes: [sys_idx_51]
20:40:11,921 INFO [TableMetadata] table found: PUBLIC.TIMER
20:40:11,922 INFO [TableMetadata] columns: [id, interval, previousrun, initialdate, timedobjectid, timerstate, nextdate, info]
20:40:11,922 INFO [TableMetadata] foreign keys: []
20:40:11,922 INFO [TableMetadata] indexes: [sys_idx_53]
20:40:11,925 INFO [SchemaUpdate] schema update complete
20:40:11,928 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.namingrg.jnp.interfaces}
20:40:12,737 INFO [xnio] XNIO Version 2.1.0.CR2
20:40:12,746 INFO [nio] XNIO NIO Implementation Version 2.1.0.CR2
20:40:12,949 INFO [remoting] JBoss Remoting version 3.1.0.Beta2
20:40:13,039 INFO [TomcatDeployment] deploy, ctxPath=/
20:40:13,427 INFO [TomcatDeployment] deploy, ctxPath=/project
20:40:13,568 INFO [TomcatDeployment] deploy, ctxPath=/sample
20:40:13,806 INFO [service] Removing bootstrap log handlers
20:40:13,972 INFO [org.apache.coyote.http11.Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080
20:40:13,976 INFO [org.apache.coyote.ajp.AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
20:40:13,977 INFO [org.jboss.bootstrap.impl.base.server.AbstractServer] JBossAS [6.0.0.20100721-M4 "Neo"] Started in 29s:284ms


from log u can see that my application file project.war is deployed and sample application sample.war is also deployed without any error, but i can able to access the sample application but cannot able to access project.

404 error.

I dont know what went wrong. Can any one suggest me how to proceed.

urls http://localhost:8080/project
http://localhost:8080/sample

Thanks in advance,
Dinesh.

Last edited by dinakumar12; 08-30-2010 at 10:22 AM.
 
Old 08-30-2010, 11:44 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by dinakumar12 View Post
Hi,
Thanks for your reply, i have configured jboss and it seems to run with no errors but while trying to access my web application i get http 404 error.i.e the requested source is not available.

here is my console log while starting jboss server.

from log u can see that my application file project.war is deployed and sample application sample.war is also deployed without any error, but i can able to access the sample application but cannot able to access project.

404 error.

I dont know what went wrong. Can any one suggest me how to proceed.

urls http://localhost:8080/project
http://localhost:8080/sample
Spell your words out. And the URL's you provided are meaningless, since they point to YOUR local computer.

A 404 error is plain...the page doesn't exist where you're trying to access it. So, change the port, the path name, etc., and point to the correct location.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
JBoss Application Server 4.2.3 cannot startup sleepyhomme Linux - Server 6 01-19-2012 11:16 AM
JBoss Application Server saran_redhat Linux - Server 2 06-25-2009 06:21 PM
Jboss Application Server saran_redhat Linux - Server 0 05-28-2009 09:05 AM
need help on Jboss server raghupal Linux - Server 8 11-13-2008 03:02 AM
Not able to start JBOSS server raajesh_ak Linux - Newbie 1 01-03-2006 04:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration