Thank you for the quick follow-up.
Unfortunately, using your methods I was able to repeat each message you listed
for confirmation, but I still cannot see the application.
I made the recommended changes to the TrailBlazer IDE code as referenced in
your reply and previous posting, and repackaged after confirming with Window
Explorer on my running JBoss instance that the files were undeployed, and got
this back:
| Buildfile: C:\workspace\articles\packaging-build.xml
| N65540:
| [jar] Building jar: C:\workspace\articles\authors-beans.ejb3
| N65557:
| [jar] Building jar: C:\workspace\articles\authors-web.war
| _packaging_generation_:
| BUILD SUCCESSFUL
| Total time: 1 second
|
After successful deployment, I redeployed each file individually, first
authors-web.war ...
20:23:14,005 INFO [TomcatDeployer] deploy, ctxPath=/authors-web,
warUrl=.../tmp/deploy/tmp10024authors-web-exp.war/
and then ...
| 20:23:35,056 INFO [JaccHelper] Initialising JACC Context for deployment:
authors-beans.ejb3
| 20:23:35,116 INFO [Ejb3AnnotationHandler] found EJB3:
ejbName=org.jboss.ejb3demo.AuthorsBean, class=org.jboss.ejb3demo.AuthorsBean,
type=STATELESS
| 20:23:35,276 INFO [JaccHelper] org.jboss.ejb3demo.AuthorsBean has no
@SecurityDomain - skipping JACC configuration
| 20:23:35,296 INFO [Ejb3Deployment] default entity manager name:
authors-beans
| 20:23:35,306 INFO [Ejb3Configuration] found EJB3 Entity bean:
org.jboss.ejb3demo.Article
| 20:23:35,306 INFO [Ejb3Configuration] found EJB3 Entity bean:
org.jboss.ejb3demo.Author
| 20:23:35,346 INFO [Configuration] processing extends queue
| 20:23:35,346 INFO [Configuration] processing collection mappings
| 20:23:35,346 INFO [CollectionBinder] Mapping collection:
org.jboss.ejb3demo.Author.articles -> ARTICLES
| 20:23:35,346 INFO [Configuration] processing association property
references
| 20:23:35,346 INFO [Configuration] processing foreign key constraints
| 20:23:35,396 INFO [Configuration] processing extends queue
| 20:23:35,396 INFO [Configuration] processing collection mappings
| 20:23:35,396 INFO [Configuration] processing association property
references
| 20:23:35,396 INFO [Configuration] processing foreign key constraints
| 20:23:35,396 INFO [ConnectionProviderFactory] Initializing connection
provider: org.hibernate.ejb.InjectedDataSourceConnectionProvider
| 20:23:35,406 INFO [InjectedDataSourceConnectionProvider] Using provided
datasource
| 20:23:35,406 INFO [SettingsFactory] RDBMS: HSQL Database Engine, version:
1.8.0
| 20:23:35,406 INFO [SettingsFactory] JDBC driver: HSQL Database Engine
Driver, version: 1.8.0
| 20:23:35,416 INFO [Dialect] Using dialect:
org.hibernate.dialect.HSQLDialect
| 20:23:35,416 INFO [TransactionFactoryFactory] Using default transaction
strategy (direct JDBC transactions)
| 20:23:35,416 INFO [TransactionManagerLookupFactory] instantiating
TransactionManagerLookup:
org.hibernate.transaction.JBossTransactionManagerLookup
| 20:23:35,416 INFO [TransactionManagerLookupFactory] instantiated
TransactionManagerLookup
| 20:23:35,416 INFO [SettingsFactory] Automatic flush during
beforeCompletion(): disabled
| 20:23:35,416 INFO [SettingsFactory] Automatic session close at end of
transaction: disabled
| 20:23:35,416 INFO [SettingsFactory] JDBC batch size: 15
| 20:23:35,416 INFO [SettingsFactory] JDBC batch updates for versioned data:
disabled
| 20:23:35,416 INFO [SettingsFactory] Scrollable result sets: enabled
| 20:23:35,416 INFO [SettingsFactory] JDBC3 getGeneratedKeys(): disabled
| 20:23:35,416 INFO [SettingsFactory] Connection release mode:
after_statement
| 20:23:35,416 INFO [SettingsFactory] Default batch fetch size: 1
| 20:23:35,416 INFO [SettingsFactory] Generate SQL with comments: disabled
| 20:23:35,416 INFO [SettingsFactory] Order SQL updates by primary key:
disabled
| 20:23:35,416 INFO [SettingsFactory] Query translator:
org.hibernate.hql.ast.ASTQueryTranslatorFactory
| 20:23:35,416 INFO [ASTQueryTranslatorFactory] Using
ASTQueryTranslatorFactory
| 20:23:35,416 INFO [SettingsFactory] Query language substitutions: {}
| 20:23:35,416 INFO [SettingsFactory] Second-level cache: enabled
| 20:23:35,416 INFO [SettingsFactory] Query cache: disabled
| 20:23:35,416 INFO [SettingsFactory] Cache provider:
org.hibernate.cache.HashtableCacheProvider
| 20:23:35,416 INFO [SettingsFactory] Optimize cache for minimal puts:
disabled
| 20:23:35,416 INFO [SettingsFactory] Structured second-level cache entries:
disabled
| 20:23:35,416 INFO [SettingsFactory] Statistics: disabled
| 20:23:35,416 INFO [SettingsFactory] Deleted entity synthetic identifier
rollback: enabled
| 20:23:35,426 INFO [SettingsFactory] Default entity-mode: POJO
| 20:23:35,446 INFO [SessionFactoryImpl] building session factory
| 20:23:35,687 INFO [SessionFactoryObjectFactory] Not binding factory to
JNDI, no JNDI name configured
| 20:23:35,687 INFO [Configuration] processing extends queue
| 20:23:35,687 INFO [Configuration] processing collection mappings
| 20:23:35,687 INFO [Configuration] processing association property
references
| 20:23:35,687 INFO [Configuration] processing foreign key constraints
| 20:23:35,687 INFO [Configuration] processing extends queue
| 20:23:35,687 INFO [Configuration] processing collection mappings
| 20:23:35,687 INFO [Configuration] processing association property
references
| 20:23:35,687 INFO [Configuration] processing foreign key constraints
| 20:23:35,687 INFO [SchemaExport] Running hbm2ddl schema export
| 20:23:35,687 INFO [SchemaExport] exporting generated schema to database
| 20:23:35,697 INFO [SchemaExport] schema export complete
| 20:23:35,697 INFO [Configuration] processing extends queue
| 20:23:35,697 INFO [Configuration] processing collection mappings
| 20:23:35,697 INFO [Configuration] processing association property
references
| 20:23:35,697 INFO [Configuration] processing foreign key constraints
| 20:23:35,707 INFO [Configuration] processing extends queue
| 20:23:35,707 INFO [Configuration] processing collection mappings
| 20:23:35,707 INFO [Configuration] processing association property
references
| 20:23:35,707 INFO [Configuration] processing foreign key constraints
| 20:23:35,707 INFO [NamingHelper] JNDI InitialContext
properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory,
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
| 20:23:35,707 INFO [SessionFactoryImpl] Checking 0 named queries
| 20:23:35,707 INFO [Ejb3Deployment] Create EntityManager with JNDI name:
authors-beans
| 20:23:35,707 INFO [JaccHelper] JACC Policy Configuration for deployment
has been put in service
| 20:23:35,707 INFO [Ejb3Deployment] EJB3 deployment time took: 651
| 20:23:36,307 INFO [ProxyDeployer] no declared remote bindings for :
org.jboss.ejb3demo.AuthorsBean
| 20:23:36,317 INFO [ProxyDeployer] there is remote interfaces for
org.jboss.ejb3demo.AuthorsBean
| 20:23:36,338 INFO [ProxyDeployer] default remote binding has jndiName of
org.jboss.ejb3demo.Authors
| 20:23:36,438 INFO [EJB3Deployer] Deployed:
file:/C:/jboss-4.0.3SP1/server/all/deploy/authors-beans.ejb3
|
Now, I have found an error in my JBoss server startup which I haven't been able
to correct. I set my environment variables as suggested using a clean copy
Windows XP SP2, using the exact path names, installation suggestions, etc...
the machine I'm using is not connected to the Internet in any way. I am still
able to log into the jmx-console but I did spot this error on JBoss startup...
[HANamingService] Started ha-jndi bootstrap jnpPort=1100, backlog=50,
bindAddress=/0.0.0.0
| 19:54:31,680 WARN [HANamingService] Failed to start AutomaticDiscovery
| java.net.SocketException: error setting options
| at java.net.PlainDatagramSocketImpl.join(Native Method)
| at java.net.PlainDatagramSocketImpl.join(Unknown Source)
| at java.net.MulticastSocket.joinGroup(Unknown Source)
| at
org.jboss.ha.jndi.DetachedHANamingService$AutomaticDiscovery.start(DetachedHANamingService.java:495)
| at
org.jboss.ha.jndi.DetachedHANamingService.startService(DetachedHANamingService.java:332)
| at
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274)
| at
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:230)
| at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
| at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
| at
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:943)
| at $Proxy0.start(Unknown Source) .......
Thanks for your patience with me, I am attempting to use the instructions
explicitly to get a single example deployed so I can do away with my EJB2.1
code :)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3918790#3918790
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3918790
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user