Hello Justin,

I guess, you need to upgrade to jboss-3.2.2 to use 'keygen' package.
Key generation in 3.2.1 is also supported. The relevant classes are
server/default/lib/jboss.jar.

Could you check whether the classes are in jboss.jar? If they are not
and they are defined in standardjbosscmp-jdbc.xml. Then it is a 'bug'.
Please, describe where did you get your jboss version.

alex

Wednesday, August 13, 2003, 1:47:27 PM, Justin MacCarthy wrote:

> Hi first post, just getting into Jboss...

> I've been looking at an example using CMP2 and JBoss & key generation which
> various DBs.

> For example with SQL server 2000, my bean deploys all right but I get

> 2003-08-12 23:15:23,740 DEBUG [org.jboss.deployment.MainDeployer] End
> deployment start on package: titan.jar
> 2003-08-12 23:15:23,740 INFO  [org.jboss.deployment.MainDeployer] Deployed
> package: file:/C:/jboss-3.2.1/server/default/deploy/titan.jar
> 2003-08-12 23:15:23,740 DEBUG
> [org.jboss.deployment.scanner.URLDeploymentScanner] Watch URL for:
> file:/C:/jboss-3.2.1/server/default/deploy/titan.jar ->
> file:/C:/jboss-3.2.1/server/default/deploy/titan.jar
> 2003-08-12 23:15:23,740 ERROR
> [org.jboss.deployment.scanner.URLDeploymentScanner] MBeanException:
> Exception in MBean operation 'checkIncompleteDeployments()'
> Cause: Incomplete Deployment listing:
> Packages waiting for a deployer:
>   <none>
> Incompletely deployed packages:
>   <none>
> MBeans waiting for classes:
>   <none>
> MBeans waiting for other MBeans:
> [ObjectName: jboss.j2ee:jndiName=CabinHomeRemote,service=EJB
>  state: FAILED
>  I Depend On:
>  Depends On Me: org.jboss.deployment.DeploymentException: Could not load
> class: org.jboss.ejb.plugins.cmp.jdbc.keygen.JDBCSQLServerCreateCommand]


> I'm using this in jbosscmp-jbdc.xml
> <entity-command name="mssql-fetch-key"/>

> in standardjbosscmp-jdbc.xml

> <entity-command name="mssql-fetch-key"

> class="org.jboss.ejb.plugins.cmp.jdbc.keygen.JDBCSQLServerCreateCommand">
>          <!-- uncomment for versions prior to SQL Server 2000
>          <attribute name="pk-sql">SELECT @@IDENTITY</attribute>
>          -->
>       </entity-command>

> So here are my questions.

> 1) Is the DTD declaration in 3.2.1 correct? I noticed in the paid docs, that
> the example CMP bean code has the DTD commented out, and the standard jdbc
> for
> Hypersonic is overridden. Is this needed using the auto-increment for any DB
> / key generation in 3.2.1 ? Has this dtd been updated in the version 4 DR?

> 2)  Are the plugins (e.g.
> org.jboss.ejb.plugins.cmp.jdbc.keygen.JDBCSQLServerCreateCommand) included
> in the standard download of Jboss 3.2.1? What about in v4? What jars are
> they in? If not where can I get them? Where do they need to go?
> servername/lib?
> Where can I get GUID/ UUID

> 3) What exactly is needed in the jbosscmp-jbdc.xml,
> standardjbosscmp-jdbc.xml for key generation in jboss 3.2.1 and jkboss4 ? Is
> there examples or docs anywhere of different jboss/version/db/key gen (eg
> UUID, HiLO)     combinations?  If there isn't if anyone out there wants to send
> me examples of different combinations I'll get them together, write up
> explaination and post it somewhere.

> From a Jboss newbie there seems to some gaps in the basic docs for a newbie
> (including the paid docs I bought). Having said that the paid for docs are
> fascinating from a "inside Jboss"  perspective / advanced level (well
> written too..) Hopefully I'll get up to that level with the help of this
> list :-)

> Thanks all.

> Justin




> -------------------------------------------------------
> This SF.Net email sponsored by: Free pre-built ASP.NET sites including
> Data Reports, E-commerce, Portals, and Forums are available now.
> Download today and enter to win an XBOX or Visual Studio .NET.
> http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to