facebook

Cannot Access Web Application through JBoss

  1. MyEclipse Archived
  2.  > 
  3. Web Development (HTML, CSS, etc.)
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #247567 Reply

    I can successfully deploy my application, start Jboss from eclipse and the connect to the web application using URL http://localhost:8080/appname

    I then moved the project to another machine with the same versions and same locations of all the software but on this new machine when I deploy the application and launch Jboss through eclipse, none of the images are displayed. On one machine, all the images are correctly displayed. I am deploying using a packaged archive.

    #247587 Reply

    Riyad Kalla
    Member

    You sure your images are ending up in your WAR file?

    ALso, try holding down shift and hitting REFRESH at the same time, might be a browser cache issue.

    #247643 Reply

    Looks like the image issue was resolved, I had a (/) slash at the end of .metadata file when specifying the WebRoot. i.e., it was WebRoot/ and when I changed it to /WebRoot the images appeared.

    ######
    <?xml version=”1.0″ encoding=”UTF-8″?>
    <project-module
    type=”WEB”
    name=”fmms”
    id=”myeclipse.1139416497029″
    context-root=”/appname”
    j2ee-spec=”1.4″
    archive=”fmms.war”>
    <attributes>
    <attribute name=”webrootdir” value=”/WebRoot” />
    </attributes>
    </project-module>
    ######

    Now I have another issue. I opened another thread for it. Basically, the application deploys correctly and when I launch JBoss from within MyEclipse, everything is fine. When I launch JBoss using the run.bat file, I get an error when I load access the application URL … see below:

    ######
    C:\Program Files\jboss-4.0.4RC1\bin>run
    JAVA_HOME is not set. Unexpected results may occur.
    Set JAVA_HOME to the directory of your local JDK to avoid this message.
    ===============================================================================
    .
    JBoss Bootstrap Environment
    .
    JBOSS_HOME: C:\Program Files\jboss-4.0.4RC1\bin\\..
    .
    JAVA: java
    .
    JAVA_OPTS: -Dprogram.name=run.bat -Xms128m -Xmx512m
    .
    CLASSPATH: \lib\tools.jar;C:\Program Files\jboss-4.0.4RC1\bin\\run.jar;.;C:\appname\lib\hibernate3.jar;C:\appname\lib\asm.jar;C:\appname\libcglib-2.1.jar;c:\appname\lib\c
    ommons-collections-2.1.1.jar;C:\appname\lib\commons-logging-1.0.4.jar;c:\appname\lib\dom4j-1.6.1.jar;C:\appname\lib\ehcache-1.1.jar;C:\appname\lib\log4j-1.2.9.jar;C:\appname\l
    ib\xerces-2.6.2.jar;c:\appname\lib\jta.jar;c:\appname\.;C:\appname\lib\hsqldb.jar
    .
    ===============================================================================
    .
    18:57:17,843 INFO [Server] Starting JBoss (MX MicroKernel)…
    18:57:17,843 INFO [Server] Release ID: JBoss [Zion] 4.0.4RC1 (build: CVSTag=JBoss_4_0_4_RC1 date=200602071519)
    18:57:17,859 INFO [Server] Home Dir: C:\Program Files\jboss-4.0.4RC1
    18:57:17,859 INFO [Server] Home URL: file:/C:/Program Files/jboss-4.0.4RC1/
    18:57:17,859 INFO [Server] Patch URL: null
    18:57:17,859 INFO [Server] Server Name: default
    18:57:17,859 INFO [Server] Server Home Dir: C:\Program Files\jboss-4.0.4RC1\server\default
    18:57:17,859 INFO [Server] Server Home URL: file:/C:/Program Files/jboss-4.0.4RC1/server/default/
    18:57:17,859 INFO [Server] Server Temp Dir: C:\Program Files\jboss-4.0.4RC1\server\default\tmp
    18:57:17,859 INFO [Server] Root Deployment Filename: jboss-service.xml
    18:57:18,156 INFO [ServerInfo] Java version: 1.5.0_06,Sun Microsystems Inc.
    18:57:18,156 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_06-b05,Sun Microsystems Inc.
    18:57:18,156 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
    18:57:18,734 INFO [Server] Core system initialized
    18:57:19,687 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
    18:57:21,000 INFO [SocketServerInvoker] Invoker started for locator: InvokerLocator [socket://12.24.70.113:3873/]
    18:57:21,734 INFO [AspectDeployer] Deployed AOP: file:/C:/Program Files/jboss-4.0.4RC1/server/default/deploy/ejb3-interceptors-aop.xml
    18:57:23,718 INFO [WebService] Using RMI server codebase: http://servidor:8083/
    18:57:23,859 WARN [EJBTimerServiceImpl] Cannot obtain TransactionManager from JNDI, using TxManager.getInstance(): javax.naming.NameNotFoundException: Transact
    ionManager not bound
    18:57:24,046 INFO [TreeCache] setting cluster properties from xml to: UDP(ip_mcast=true;ip_ttl=64;loopback=false;mcast_addr=228.1.2.3;mcast_port=45551;mcast_re
    cv_buf_size=80000;mcast_send_buf_size=150000;ucast_recv_buf_size=80000;ucast_send_buf_size=150000):PING(down_thread=false;num_initial_members=3;timeout=2000;up_
    thread=false):MERGE2(max_interval=20000;min_interval=10000):FD(down_thread=true;shun=true;up_thread=true):VERIFY_SUSPECT(down_thread=false;timeout=1500;up_threa
    d=false):pbcast.NAKACK(down_thread=false;gc_lag=50;max_xmit_size=8192;retransmit_timeout=600,1200,2400,4800;up_thread=false):UNICAST(down_thread=false;min_thres
    hold=10;timeout=600,1200,2400;window_size=100):pbcast.STABLE(desired_avg_gossip=20000;down_thread=false;up_thread=false):FRAG(down_thread=false;frag_size=8192;u
    p_thread=false):pbcast.GMS(join_retry_timeout=2000;join_timeout=5000;print_local_addr=true;shun=true):pbcast.STATE_TRANSFER(down_thread=false;up_thread=false)
    18:57:24,062 INFO [TreeCache] setEvictionPolicyConfig(): [config: null]
    18:57:24,078 WARN [TreeCache] No transaction manager lookup class has been defined. Transactions cannot be used
    18:57:24,109 INFO [TreeCache] interceptor chain is:
    class org.jboss.cache.interceptors.CallInterceptor
    class org.jboss.cache.interceptors.LockInterceptor
    class org.jboss.cache.interceptors.CacheLoaderInterceptor
    class org.jboss.cache.interceptors.UnlockInterceptor
    class org.jboss.cache.interceptors.ReplicationInterceptor
    class org.jboss.cache.interceptors.CacheStoreInterceptor
    18:57:24,109 INFO [TreeCache] cache mode is REPL_SYNC
    18:57:25,328 INFO [STDOUT]
    ——————————————————-
    GMS: address is 12.24.70.113:2906
    ——————————————————-
    18:57:27,343 INFO [TreeCache] state could not be retrieved (must be first member in group)
    18:57:27,343 INFO [TreeCache] viewAccepted(): new members: [12.24.70.113:2906]
    18:57:27,343 INFO [LRUPolicy] Starting eviction policy using the provider: org.jboss.ejb3.cache.tree.StatefulEvictionPolicy
    18:57:27,359 INFO [TreeCache] new cache is null (maybe first member in cluster)
    18:57:27,359 INFO [LRUPolicy] Starting a eviction timer with wake up interval of (secs) 1
    18:57:27,421 INFO [TreeCache] setting cluster properties from xml to: UDP(ip_mcast=true;ip_ttl=2;loopback=false;mcast_addr=228.1.2.3;mcast_port=43333;mcast_rec
    v_buf_size=80000;mcast_send_buf_size=150000;ucast_recv_buf_size=80000;ucast_send_buf_size=150000):PING(down_thread=false;num_initial_members=3;timeout=2000;up_t
    hread=false):MERGE2(max_interval=20000;min_interval=10000):FD(down_thread=true;shun=true;up_thread=true):VERIFY_SUSPECT(down_thread=false;timeout=1500;up_thread
    =false):pbcast.NAKACK(down_thread=false;gc_lag=50;max_xmit_size=8192;retransmit_timeout=600,1200,2400,4800;up_thread=false):UNICAST(down_thread=false;min_thresh
    old=10;timeout=600,1200,2400;window_size=100):pbcast.STABLE(desired_avg_gossip=20000;down_thread=false;up_thread=false):FRAG(down_thread=false;frag_size=8192;up
    _thread=false):pbcast.GMS(join_retry_timeout=2000;join_timeout=5000;print_local_addr=true;shun=true):pbcast.STATE_TRANSFER(down_thread=false;up_thread=false)
    18:57:27,437 INFO [TreeCache] setEvictionPolicyConfig(): [config: null]
    18:57:28,765 INFO [MailService] Mail Service bound to java:/Mail
    18:57:29,140 INFO [NamingService] Started jndi bootstrap jnpPort=1099, rmiPort=1098, backlog=50, bindAddress=/0.0.0.0, Client SocketFactory=null, Server Socket
    Factory=org.jboss.net.sockets.DefaultSocketFactory@ad093076
    18:57:29,156 INFO [DefaultPartition] Initializing
    18:57:29,187 INFO [STDOUT]
    ——————————————————-
    GMS: address is 12.24.70.113:2909 (additional data: 17 bytes)
    ——————————————————-
    18:57:31,187 INFO [DefaultPartition] Number of cluster members: 1
    18:57:31,187 INFO [DefaultPartition] Other members: 0
    18:57:31,187 INFO [DefaultPartition] New cluster view for partition DefaultPartition (id: 0, delta: 0) : [12.24.70.113:1099]
    18:57:31,187 INFO [DefaultPartition] Fetching state (will wait for 30000 milliseconds):
    18:57:31,187 INFO [DefaultPartition] I am (12.24.70.113:1099) received membershipChanged event:
    18:57:31,187 INFO [DefaultPartition] Dead members: 0 ([])
    18:57:31,187 INFO [DefaultPartition] New Members : 0 ([])
    18:57:31,187 INFO [DefaultPartition] All Members : 1 ([12.24.70.113:1099])
    18:57:31,218 INFO [HANamingService] Started ha-jndi bootstrap jnpPort=1100, backlog=50, bindAddress=/0.0.0.0
    18:57:31,234 INFO [DetachedHANamingService$AutomaticDiscovery] Listening on /0.0.0.0:1102, group=230.0.0.4, HA-JNDI address=12.24.70.113:1100
    18:57:31,296 INFO [EJB3Deployer] Default persistence.properties: {hibernate.transaction.flush_before_completion=true, hibernate.cglib.use_reflection_optimizer=
    false, hibernate.transaction.auto_close_session=false, hibernate.jndi.java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces, hibernate.cache.provider
    _class=org.hibernate.cache.HashtableCacheProvider, hibernate.transaction.manager_lookup_class=org.hibernate.transaction.JBossTransactionManagerLookup, hibernate
    .jndi.java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, hibernate.query.factory_class=org.hibernate.hql.ast.ASTQueryTranslatorFactory, hibern
    ate.connection.release_mode=after_statement}
    18:57:31,328 INFO [TreeCache] interceptor chain is:
    class org.jboss.cache.interceptors.CallInterceptor
    class org.jboss.cache.interceptors.LockInterceptor
    class org.jboss.cache.interceptors.UnlockInterceptor
    class org.jboss.cache.interceptors.ReplicationInterceptor
    18:57:31,328 INFO [TreeCache] cache mode is REPL_SYNC
    18:57:31,343 INFO [STDOUT]
    ——————————————————-
    GMS: address is 12.24.70.113:2912
    ——————————————————-
    18:57:33,343 INFO [TreeCache] viewAccepted(): new members: [12.24.70.113:2912]
    18:57:33,343 INFO [TreeCache] state could not be retrieved (must be first member in group)
    18:57:33,343 INFO [TreeCache] new cache is null (maybe first member in cluster)
    18:57:33,343 INFO [LRUPolicy] Starting eviction policy using the provider: org.jboss.cache.eviction.LRUPolicy
    18:57:33,343 INFO [LRUPolicy] Starting a eviction timer with wake up interval of (secs) 5
    18:57:33,921 INFO [Embedded] Catalina naming disabled
    18:57:34,296 INFO [Http11BaseProtocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080
    18:57:34,296 INFO [Catalina] Initialization processed in 328 ms
    18:57:34,296 INFO [StandardService] Starting service jboss.web
    18:57:34,296 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5.12
    18:57:34,328 INFO [StandardHost] XML validation disabled
    18:57:34,343 INFO [Catalina] Server startup in 47 ms
    18:57:34,640 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=…/deploy/http-invoker.sar/invoker.war/
    18:57:34,906 INFO [WebappLoader] Dual registration of jndi stream handler: factory already defined
    18:57:35,281 INFO [TomcatDeployer] deploy, ctxPath=/ws4ee, warUrl=…/tmp/deploy/tmp6361jboss-ws4ee-exp.war/
    18:57:35,406 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=…/deploy/jbossweb-tomcat55.sar/ROOT.war/
    18:57:35,531 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=…/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
    18:57:35,656 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=…/deploy/management/console-mgr.sar/web-console.war/
    18:57:36,218 INFO [TreeCache] setting cluster properties from xml to: UDP(ip_mcast=true;ip_ttl=8;loopback=false;mcast_addr=230.1.2.7;mcast_port=45577;mcast_rec
    v_buf_size=80000;mcast_send_buf_size=150000;ucast_recv_buf_size=80000;ucast_send_buf_size=150000):PING(down_thread=false;num_initial_members=3;timeout=2000;up_t
    hread=false):MERGE2(max_interval=20000;min_interval=10000):FD_SOCK:VERIFY_SUSPECT(down_thread=false;timeout=1500;up_thread=false):pbcast.NAKACK(down_thread=fals
    e;gc_lag=50;max_xmit_size=8192;retransmit_timeout=600,1200,2400,4800;up_thread=false):UNICAST(down_thread=false;min_threshold=10;timeout=600,1200,2400;window_si
    ze=100):pbcast.STABLE(desired_avg_gossip=20000;down_thread=false;up_thread=false):FRAG(down_thread=false;frag_size=8192;up_thread=false):pbcast.GMS(join_retry_t
    imeout=2000;join_timeout=5000;print_local_addr=true;shun=true):pbcast.STATE_TRANSFER(down_thread=true;up_thread=true)
    18:57:36,218 INFO [TreeCache] interceptor chain is:
    class org.jboss.cache.interceptors.CallInterceptor
    class org.jboss.cache.interceptors.LockInterceptor
    class org.jboss.cache.interceptors.UnlockInterceptor
    class org.jboss.cache.interceptors.ReplicationInterceptor
    18:57:36,218 INFO [TreeCache] cache mode is REPL_ASYNC
    18:57:36,234 INFO [STDOUT]
    ——————————————————-
    GMS: address is 12.24.70.113:2916
    ——————————————————-
    18:57:38,250 INFO [TreeCache] state could not be retrieved (must be first member in group)
    18:57:38,250 INFO [TreeCache] viewAccepted(): new members: [12.24.70.113:2916]
    18:57:38,250 WARN [TreeCache] No transaction manager lookup class has been defined. Transactions cannot be used
    18:57:38,250 INFO [TreeCache] new cache is null (maybe first member in cluster)
    18:57:38,250 INFO [TreeCache] interceptor chain is:
    class org.jboss.cache.interceptors.CallInterceptor
    class org.jboss.cache.interceptors.LockInterceptor
    class org.jboss.cache.interceptors.UnlockInterceptor
    18:57:38,250 INFO [TreeCache] cache mode is local, will not create the channel
    18:57:38,421 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in …/deploy/jboss-ha-local-jdbc.rar
    18:57:38,453 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in …/deploy/jboss-ha-xa-jdbc.rar
    18:57:38,484 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in …/deploy/jboss-local-jdbc.rar
    18:57:38,515 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in …/deploy/jboss-xa-jdbc.rar
    18:57:38,609 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in …/deploy/jms/jms-ra.rar
    18:57:38,656 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in …/deploy/mail-ra.rar
    18:57:39,484 INFO [ConnectionFactoryBindingService] Bound ConnectionManager ‘jboss.jca:service=DataSourceBinding,name=DefaultDS’ to JNDI name ‘java:DefaultDS’
    18:57:39,718 INFO [A] Bound to JNDI name: queue/A
    18:57:39,718 INFO [B] Bound to JNDI name: queue/B
    18:57:39,718 INFO [C] Bound to JNDI name: queue/C
    18:57:39,718 INFO [D] Bound to JNDI name: queue/D
    18:57:39,718 INFO [ex] Bound to JNDI name: queue/ex
    18:57:39,734 INFO [testTopic] Bound to JNDI name: topic/testTopic
    18:57:39,734 INFO [securedTopic] Bound to JNDI name: topic/securedTopic
    18:57:39,734 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic
    18:57:39,734 INFO [testQueue] Bound to JNDI name: queue/testQueue
    18:57:39,781 INFO [UILServerILService] JBossMQ UIL service available at : /0.0.0.0:8093
    18:57:39,828 INFO [DLQ] Bound to JNDI name: queue/DLQ
    18:57:39,953 INFO [ConnectionFactoryBindingService] Bound ConnectionManager ‘jboss.jca:service=ConnectionFactoryBinding,name=JmsXA’ to JNDI name ‘java:JmsXA’
    18:57:40,468 INFO [TomcatDeployer] deploy, ctxPath=/appname, warUrl=…/tmp/deploy/tmp6430appname-exp.war/
    18:57:40,593 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=…/deploy/jmx-console.war/
    18:57:40,734 INFO [Http11BaseProtocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
    18:57:40,796 INFO [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009
    18:57:40,812 INFO [JkMain] Jk running ID=0 time=0/31 config=null
    18:57:40,812 INFO [Server] JBoss (MX MicroKernel) [4.0.4RC1 (build: CVSTag=JBoss_4_0_4_RC1 date=200602071519)] Started in 22s:953ms
    18:57:53,046 INFO [Environment] Hibernate 3.1.2
    18:57:53,062 INFO [Environment] loaded properties from resource hibernate.properties: {hibernate.connection.driver_class=org.hsqldb.jdbcDriver, hibernate.cglib
    .use_reflection_optimizer=true, hibernate.cache.provider_class=org.hibernate.cache.HashtableCacheProvider, hibernate.max_fetch_depth=1, hibernate.dialect=org.hi
    bernate.dialect.HSQLDialect, hibernate.jdbc.use_streams_for_binary=true, hibernate.format_sql=true, hibernate.query.substitutions=yes ‘Y’, no ‘N’, hibernate.pro
    xool.pool_alias=pool1, hibernate.connection.username=sa, hibernate.cache.region_prefix=hibernate.test, hibernate.connection.url=jdbc:hsqldb:hsql://localhost/fmm
    s, hibernate.connection.password=****, hibernate.jdbc.batch_versioned_data=true, hibernate.connection.pool_size=20}
    18:57:53,062 INFO [Environment] using java.io streams to persist binary types
    18:57:53,062 INFO [Environment] using CGLIB reflection optimizer
    18:57:53,062 INFO [Environment] using JDK 1.4 java.sql.Timestamp handling
    18:57:53,125 INFO [Configuration] configuring from resource: /hibernate.cfg.xml
    18:57:53,125 INFO [Configuration] Configuration resource: /hibernate.cfg.xml
    18:57:53,140 INFO [Configuration] Reading mappings from resource: com/bechemeko/appname/persistence/FmAssign.hbm.xml
    18:57:53,218 INFO [HbmBinder] Mapping class: com.bechemeko.appname.persistence.FmAssign -> FM_ASSIGN
    18:57:53,218 INFO [Configuration] Reading mappings from resource: com/bechemeko/appname/persistence/FmAssignStatus.hbm.xml
    18:57:53,234 INFO [HbmBinder] Mapping class: com.bechemeko.appname.persistence.FmAssignStatus -> FM_ASSIGN_STATUS
    18:57:53,234 INFO [Configuration] Reading mappings from resource: com/bechemeko/appname/persistence/FmContact.hbm.xml
    18:57:53,265 INFO [HbmBinder] Mapping class: com.bechemeko.appname.persistence.FmContact -> FM_CONTACT
    18:57:53,265 INFO [Configuration] Reading mappings from resource: com/bechemeko/appname/persistence/FmVendorContact.hbm.xml
    18:57:53,281 INFO [HbmBinder] Mapping class: com.bechemeko.appname.persistence.FmVendorContact -> FM_VENDOR_CONTACT
    18:57:53,281 INFO [Configuration] Reading mappings from resource: com/bechemeko/appname/persistence/FmWorkOrder.hbm.xml
    18:57:53,296 INFO [HbmBinder] Mapping class: com.bechemeko.appname.persistence.FmWorkOrder -> FM_WORK_ORDER
    18:57:53,296 INFO [Configuration] Reading mappings from resource: com/bechemeko/appname/persistence/FmWorkOrderNote.hbm.xml
    18:57:53,312 INFO [HbmBinder] Mapping class: com.bechemeko.appname.persistence.FmWorkOrderNote -> FM_WORK_ORDER_NOTE
    18:57:53,312 INFO [Configuration] Reading mappings from resource: com/bechemeko/appname/persistence/FmWorkOrderStatus.hbm.xml
    18:57:53,328 INFO [HbmBinder] Mapping class: com.bechemeko.appname.persistence.FmWorkOrderStatus -> FM_WORK_ORDER_STATUS
    18:57:53,328 INFO [Configuration] Reading mappings from resource: com/bechemeko/appname/persistence/FmWoStatusHistory.hbm.xml
    18:57:53,343 INFO [HbmBinder] Mapping class: com.bechemeko.appname.persistence.FmWoStatusHistory -> FM_WO_STATUS_HISTORY
    18:57:53,343 INFO [Configuration] Reading mappings from resource: com/bechemeko/appname/persistence/FmEquipment.hbm.xml
    18:57:53,359 INFO [HbmBinder] Mapping class: com.bechemeko.appname.persistence.FmEquipment -> FM_EQUIPMENT
    18:57:53,359 INFO [Configuration] Reading mappings from resource: com/bechemeko/appname/persistence/FmEquipmentType.hbm.xml
    18:57:53,359 INFO [HbmBinder] Mapping class: com.bechemeko.appname.persistence.FmEquipmentType -> FM_EQUIPMENT_TYPE
    18:57:53,359 INFO [Configuration] Reading mappings from resource: com/bechemeko/appname/persistence/FmFacility.hbm.xml
    18:57:53,375 INFO [HbmBinder] Mapping class: com.bechemeko.appname.persistence.FmFacility -> FM_FACILITY
    18:57:53,375 INFO [Configuration] Reading mappings from resource: com/bechemeko/appname/persistence/FmFacilityEquipment.hbm.xml
    18:57:53,390 INFO [HbmBinder] Mapping class: com.bechemeko.appname.persistence.FmFacilityEquipment -> FM_FACILITY_EQUIPMENT
    18:57:53,390 INFO [Configuration] Reading mappings from resource: com/bechemeko/appname/persistence/FmFacilityRelation.hbm.xml
    18:57:53,406 INFO [HbmBinder] Mapping class: com.bechemeko.appname.persistence.FmFacilityRelation -> FM_FACILITY_RELATION
    18:57:53,406 INFO [Configuration] Reading mappings from resource: com/bechemeko/appname/persistence/FmWorkOrderEquipment.hbm.xml
    18:57:53,406 INFO [HbmBinder] Mapping class: com.bechemeko.appname.persistence.FmWorkOrderEquipment -> FM_WORK_ORDER_EQUIPMENT
    18:57:53,406 INFO [Configuration] Reading mappings from resource: com/bechemeko/appname/persistence/FmWorkOrderType.hbm.xml
    18:57:53,421 INFO [HbmBinder] Mapping class: com.bechemeko.appname.persistence.FmWorkOrderType -> FM_WORK_ORDER_TYPE
    18:57:53,421 INFO [Configuration] Reading mappings from resource: com/bechemeko/appname/persistence/FmWorkOrderNotification.hbm.xml
    18:57:53,421 INFO [HbmBinder] Mapping class: com.bechemeko.appname.persistence.FmWorkOrderNotification -> FM_WORK_ORDER_NOTIFICATION
    18:57:53,437 INFO [Configuration] Reading mappings from resource: com/bechemeko/appname/persistence/FmWorkOrderPriority.hbm.xml
    18:57:53,437 INFO [HbmBinder] Mapping class: com.bechemeko.appname.persistence.FmWorkOrderPriority -> FM_WORK_ORDER_PRIORITY
    18:57:53,437 INFO [Configuration] Reading mappings from resource: com/bechemeko/appname/persistence/FmContactNotificationCriteria.hbm.xml
    18:57:53,453 INFO [HbmBinder] Mapping class: com.bechemeko.appname.persistence.FmContactNotificationCriteria -> FM_CONTACT_NOTIFICATION_CRITERIA
    18:57:53,453 INFO [Configuration] Reading mappings from resource: com/bechemeko/appname/persistence/FmVendor.hbm.xml
    18:57:53,453 INFO [HbmBinder] Mapping class: com.bechemeko.appname.persistence.FmVendor -> FM_VENDOR
    18:57:53,453 INFO [Configuration] Configured SessionFactory: null
    18:57:53,515 INFO [DriverManagerConnectionProvider] Using Hibernate built-in connection pool (not for production use!)
    18:57:53,515 INFO [DriverManagerConnectionProvider] Hibernate connection pool size: 20
    18:57:53,515 INFO [DriverManagerConnectionProvider] autocommit mode: false
    18:57:53,515 INFO [DriverManagerConnectionProvider] using driver: org.hsqldb.jdbcDriver at URL: jdbc:hsqldb:hsql://localhost/appname
    18:57:53,515 INFO [DriverManagerConnectionProvider] connection properties: {user=sa, password=}
    18:57:53,515 INFO [SettingsFactory] RDBMS: HSQL Database Engine, version: 1.8.0
    18:57:53,515 INFO [SettingsFactory] JDBC driver: HSQL Database Engine Driver, version: 1.8.0
    18:57:53,531 INFO [Dialect] Using dialect: org.hibernate.dialect.HSQLDialect
    18:57:53,546 INFO [TransactionFactoryFactory] Using default transaction strategy (direct JDBC transactions)
    18:57:53,546 INFO [TransactionManagerLookupFactory] No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level
    cache is not recommended)
    18:57:53,546 INFO [SettingsFactory] Automatic flush during beforeCompletion(): disabled
    18:57:53,546 INFO [SettingsFactory] Automatic session close at end of transaction: disabled
    18:57:53,546 INFO [SettingsFactory] JDBC batch size: 15
    18:57:53,546 INFO [SettingsFactory] JDBC batch updates for versioned data: enabled
    18:57:53,546 INFO [SettingsFactory] Scrollable result sets: enabled
    18:57:53,546 INFO [SettingsFactory] JDBC3 getGeneratedKeys(): disabled
    18:57:53,546 INFO [SettingsFactory] Connection release mode: auto
    18:57:53,546 INFO [SettingsFactory] Maximum outer join fetch depth: 1
    18:57:53,546 INFO [SettingsFactory] Default batch fetch size: 1
    18:57:53,546 INFO [SettingsFactory] Generate SQL with comments: disabled
    18:57:53,546 INFO [SettingsFactory] Order SQL updates by primary key: disabled
    18:57:53,546 INFO [SettingsFactory] Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
    18:57:53,546 INFO [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory
    18:57:53,546 INFO [SettingsFactory] Query language substitutions: {no=’N’, yes=’Y’}
    18:57:53,546 INFO [SettingsFactory] Second-level cache: enabled
    18:57:53,546 INFO [SettingsFactory] Query cache: disabled
    18:57:53,546 INFO [SettingsFactory] Cache provider: org.hibernate.cache.HashtableCacheProvider
    18:57:53,546 INFO [SettingsFactory] Optimize cache for minimal puts: disabled
    18:57:53,546 INFO [SettingsFactory] Cache region prefix: hibernate.test
    18:57:53,546 INFO [SettingsFactory] Structured second-level cache entries: disabled
    18:57:53,562 INFO [SettingsFactory] Statistics: disabled
    18:57:53,562 INFO [SettingsFactory] Deleted entity synthetic identifier rollback: disabled
    18:57:53,562 INFO [SettingsFactory] Default entity-mode: pojo
    18:57:53,578 INFO [SessionFactoryImpl] building session factory
    18:57:53,671 ERROR [[GWorkOrderPortal]] Servlet.service() for servlet GWorkOrderPortal threw exception
    java.lang.NoClassDefFoundError
    at org.hibernate.tuple.EntityMetamodel.class$(EntityMetamodel.java:41)
    at org.hibernate.tuple.EntityMetamodel.<init>(EntityMetamodel.java:122)
    at org.hibernate.persister.entity.AbstractEntityPersister.<init>(AbstractEntityPersister.java:412)
    at org.hibernate.persister.entity.SingleTableEntityPersister.<init>(SingleTableEntityPersister.java:108)
    at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55)
    at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:215)
    at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1176)
    at com.bechemeko.persistence.HibernateSessionFactory.currentSession(HibernateSessionFactory.java:57)
    at com.bechemeko.appname.Facility.getAllFacilities(Facility.java:68)
    at com.bechemeko.appname.servlets.GWorkOrderPortal.doGet(GWorkOrderPortal.java:56)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
    at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:54)
    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:174)
    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:868)
    at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:663)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
    at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.ClassNotFoundException: net.sf.cglib.transform.impl.InterceptFieldEnabled
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    … 31 more
    ######

    The browser displays the following:
    ######
    HTTP Status 500 –

    ——————————————————————————–

    type Exception report

    message

    description The server encountered an internal error () that prevented it from fulfilling this request.

    exception

    javax.servlet.ServletException: Servlet execution threw an exception
    org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

    root cause

    java.lang.NoClassDefFoundError
    org.hibernate.tuple.EntityMetamodel.class$(EntityMetamodel.java:41)
    org.hibernate.tuple.EntityMetamodel.<init>(EntityMetamodel.java:122)
    org.hibernate.persister.entity.AbstractEntityPersister.<init>(AbstractEntityPersister.java:412)
    org.hibernate.persister.entity.SingleTableEntityPersister.<init>(SingleTableEntityPersister.java:108)
    org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55)
    org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:215)
    org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1176)
    com.bechemeko.persistence.HibernateSessionFactory.currentSession(HibernateSessionFactory.java:57)
    com.bechemeko.fmms.Facility.getAllFacilities(Facility.java:68)
    com.bechemeko.fmms.servlets.GWorkOrderPortal.doGet(GWorkOrderPortal.java:56)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

    note The full stack trace of the root cause is available in the Apache Tomcat/5.5.12 logs.

    ——————————————————————————–

    Apache Tomcat/5.5.12
    ######

    Please respond to this of the other post.

    #247644 Reply

    Riyad Kalla
    Member

    We don’t provide generic JBoss support. If JBoss is working fine from within MyEclipse that is all we can help you with. Please check with the JBoss forums if you continue to have problems running JBoss externally.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Cannot Access Web Application through JBoss

You must be logged in to post in the forum log in