<depends>jboss.jca:service=LocalTxCM,name=PostgresDS</depends>
bisa minta contoh nya jboss-service.xml nya
trimakasih
hasyim
On Saturday 16 October 2004 09:14 am, Achmad Arif Rachim wrote:
> kok jboss saya bisa ya ???? binunnn ???
>
> On Fri, 15 Oct 2004 14:40:39 -0400, hasyim <[EMAIL PROTECTED]> wrote:
> > Bapak2 semua
> >
> > saya buat aplikasi j2ee pake jboss dan hibernate
> > dan udah jalan dengan baik tapi ketika pindah dari
> > jboss 3.2.X ke jboss 4.0 ada masalah ketika
> > jboss nya di restart, sepertinya hibernate service saya
> > di deploy sebelum data source nya.
> >
> > file jboss-service.xml nya
> >
> > <?xml version="1.0" encoding="UTF-8"?>
> > <!DOCTYPE server>
> > <server>
> > <mbean code="net.sf.hibernate.jmx.HibernateService"
> > name="jboss.jca:service=Hibernate">
> > <depends>jboss.jca:service=RARDeployer</depends>
> > <depends>jboss.jca:service=LocalTxCM,name=PostgresDS</depends>
> > <attribute name="MapResources"></attribute>
> > <attribute name="JndiName">java:/hibernate/ash-shams</attribute>
> > <attribute name="Datasource">java:PostgresDS</attribute>
> > <attribute
> > name="Dialect">net.sf.hibernate.dialect.PostgreSQLDialect</attribute>
> > <attribute name="UseOuterJoin">true</attribute>
> > <attribute name="ShowSql">false</attribute>
> > <attribute name="UserTransactionName">UserTransaction</attribute>
> > <attribute
> > name="TransactionStrategy">net.sf.hibernate.transaction.JTATransactionFac
> >tory</attribute> <attribute
> > name="TransactionManagerLookupStrategy">net.sf.hibernate.transaction.JBos
> >sTransactionManagerLookup</attribute> <attribute
> > name="CacheProvider">net.sf.ehcache.hibernate.Provider</attribute>
> > </mbean>
> >
> > </server>
> >
> > pesan error:
> >
> > com.model.security.Operator.operatorLimit -> operatorlimit
> > 14:25:35,962 INFO [Configuration] processing one-to-one association
> > property references
> > 14:25:35,962 INFO [Configuration] processing foreign key constraints
> > 14:25:36,088 INFO [Dialect] Using dialect:
> > net.sf.hibernate.dialect.PostgreSQLDialect
> > 14:25:36,091 INFO [SettingsFactory] Use outer join fetching: true
> > 14:25:36,176 INFO [NamingHelper] JNDI InitialContext properties:{}
> > 14:25:36,179 FATAL [DatasourceConnectionProvider] Could not find
> > datasource: java:PostgresDS
> > javax.naming.NameNotFoundException: PostgresDS not bound
> > at org.jnp.server.NamingServer.getBinding(NamingServer.java:495)
> > at org.jnp.server.NamingServer.getBinding(NamingServer.java:503)
> >
> > Thanks
> > hasyim
> >
> >
> > Kalau mau keluar dari mailing list ini, caranya kirim sebuah email ke
> > [EMAIL PROTECTED]
> >
> > Jangan lupa, website JUG Indonesia adalah http://www.jug.or.id
> >
> >
> > Yahoo! Groups Links
>
>
> Kalau mau keluar dari mailing list ini, caranya kirim sebuah email ke
> [EMAIL PROTECTED]
>
> Jangan lupa, website JUG Indonesia adalah http://www.jug.or.id
>
>
> Yahoo! Groups Links
>
>
>
Kalau mau keluar dari mailing list ini, caranya kirim sebuah email ke [EMAIL PROTECTED]
Jangan lupa, website JUG Indonesia adalah http://www.jug.or.id
| Yahoo! Groups Sponsor | |
|
|
Yahoo! Groups Links
- To visit your group on the web, go to:
http://groups.yahoo.com/group/jug-indonesia/
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
