[jboss-user] [EJB 3.0] - Re: No Dialect mapping for JDBC type

2007-03-12 Thread dhartford
Tested on Jboss 4.0.5.GA from JEMS 1.2.0.GA install.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4027176#4027176

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4027176
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: No Dialect mapping for JDBC type

2007-03-12 Thread dhartford
Exact same problem, except my JDBC type is ''.

Tried to set

  | query.setHint("hibernate.dialect", 
"org.hibernate.dialect.PostgreSQLDialect");
  | 
but did not have an impact.

Note that my query is actually a Stored Procedure, so no JPA-QL work around 
that I know of ;-)

please respond ASAP, thanks,
-D

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4027174#4027174

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4027174
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - To 'admin' user or not to 'admin' user...

2007-02-27 Thread dhartford
Regarding a default 'admin' user regardless of other identity sources.

I have been playing with the identity login modules as mentioned in this thread 
http://jboss.org/index.html?module=bb&op=viewtopic&t=95229&start=20 , and kept 
running into the issue of an LDAP user (my identity source) not having the 
correct permission to manage the portal (I worked around and solved that 
problem, but still brought up a good point).

Then, I saw this open issue:
http://jira.jboss.com/jira/browse/JBPORTAL-1179

Should there be a 1) default 'admin' user for the portal, or 2) should it be 
left completely to the configured identity sources (ldap, db, etc)?



my vote:
1) - default 'admin' user regardless of configured identity sources, and always 
from a local-configured password and will always supercede any 'admin' user 
from configured identity sources.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023081#4023081

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023081
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: JBoss Portal LDAP Setup

2007-02-19 Thread dhartford
That's great bdaw!!

I would like to carry over roles from the LDAP, but since the Portal may have 
new roles I was going with the use-case of moving all the roles to the 
portal-oriented-DB.

With that last option for the SynchronizingLdapLoginModule:
- authenticate against LDAP + synchronize ldap user into portal DB + assign 
such user to specified portal role + try to synchronize all the roles obtained 
for such user from LDAP into portal DB 

That is perfect for my use case, and probably other people with similar 
scenarios.  I look forward to checking out the Beta release (pending the date), 
or may grab from SVN if I have an opportunity.

Do you have a direct-sample related to the last option for the login-config.xml 
and related portal identity-* configs (tieing the two-to-three configs together 
is part of the challenge)?

p.s. I really like the idea of re-using my existing login modules instead of 
re-setting it up in the portal identity files, thank you :-)

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018925#4018925

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4018925
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: JBoss Portal LDAP Setup

2007-02-19 Thread dhartford
Usecase:  

*Use LDAP for username/passwords (authenticate).
*Use DB for roles/ACL/everything else related to Portal (authorization/etc).

I've been poking at this for a while on the 2.6 alpha1, and alpha2.  There are 
some comments in the configs, but no success yet.

Is there a reason not to re-use existing projects like the Jboss SSO or the 
login-modules related to the way Portals work?  I understand the portal schema 
for roles/ACL/customization/personalization does need to be different, but just 
trying to re-use username passwords and pushing everything else to its own DB 
seems too complicated.






View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018873#4018873

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4018873
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: GWT with JBPM

2007-01-05 Thread dhartford
jBPM is a business process management engine.  Not a RAD suite.

if you are looking that uses jBPM to help drive some RAD, one of the more 
promising ones is at:

http://sourceforge.net/projects/taylor/

But, it's not a commercial, buy this and magically gets everything working for 
you solution...instead, just purchase professional services from some place ;-)

-D

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998367#3998367

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998367
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - processdefinition and sub-process - autoupdate

2006-12-27 Thread dhartford
Hi all,
I'm using the jbpm-console, so this may only be related to that webapp.

When I deploy a 'parent' processDefinition with a sub-process, it works fine.  
When I update the sub-process, it looks like the 'parent' process only 
continues to use the last-known-good sub-process from when it was last deployed.

This is fine by default, but would be nice to have an attribute to 
'alwaysUseMostRecent' version of the sub-process, or on the flip side 
'LastGoodSubProcessVersion' to true/false to keep the above described 
behaviour.  I understand there exists a version attribute, but would be easier 
to have the jbpm understand the intent instead of always manually changing the 
version number.

thanks,
-D

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996524#3996524

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996524
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: processdefinition and sub-process - autoupdate

2006-12-27 Thread dhartford
darn, forgot versions:

jbpm 3.2Alpha2

JEMS-installed Jboss 4.0.5GA w/ EJB3 profile


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996525#3996525

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996525
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Example uses superstate

2006-12-27 Thread dhartford
And maybe also a comparison/contrast with Process Composition/sub-process  to 
superstates. It may be that people start using one based on poor/incorrect 
assumptions that could be corrected with proper documentation.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996505#3996505

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996505
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Example uses superstate

2006-12-27 Thread dhartford
http://docs.jboss.org/jbpm/v3/userguide/processmodelling.html#superstates
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3972282#3972282

The academic version of 


  |   
  | 
  |   
  | 

needs to be flushed out show a real-world example.  Is the "invite murphy" 
state a non-start/non-stop state just hanging in the same processdefinition? 
Within the same processdefinithin within the start/stop flow process?  Is it in 
a different processdefinintion file...if so, how do you point to it? Does the 
superstate have its own start/stop mechanics before transisitioning?



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996504#3996504

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996504
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - 3.2alpha2 enterprise / JTA exceptions

2006-12-18 Thread dhartford
Hey all,
I'm playing with the enterprise-version in SCM and just came across two issues 
to share:

1. The jbpm-console.war within the .ear package may want to have the 
javassist.jar under WEB-INF/lib removed as it already exists in the Jboss AS.

2. JTA issue on a JEMS-installed JBoss 4.0.5.GA-EJB3 profile server:


  | 11:53:12,518 ERROR [STDERR] Dec 18, 2006 11:53:12 AM 
com.sun.facelets.FaceletViewHandler handleRenderException
  | SEVERE: Error Rendering View[/main/user/usertasklist.xhtml]
  | javax.el.ELException: /search/form/formtemplate.xhtml @14,73 
session="#{jbpmBean.jbpmContext.session}": org.hibernate.Hi
  | bernateException: Unable to locate current JTA transaction
  | at 
com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:76)
  | at org.jbpm.webapp.tag.jbpm.ui.Search.getSession(Search.java:47)
  | at 
org.jbpm.webapp.tag.jbpm.ui.UICriteria.initialize(UICriteria.java:70)
  | at 
org.jbpm.webapp.tag.jbpm.ui.UICriteria.initialize(UICriteria.java:110)
  | at 
org.jbpm.webapp.tag.jbpm.ui.UICriteria.getSearchBean(UICriteria.java:203)
  | at org.jbpm.webapp.tag.jbpm.ui.Search.initialize(Search.java:187)
  | at org.jbpm.webapp.tag.jbpm.ui.Search.encodeBegin(Search.java:92)
  | 
  | ...
  | Caused by: org.hibernate.HibernateException: Unable to locate current JTA 
transaction
  | at 
org.hibernate.context.JTASessionContext.currentSession(JTASessionContext.java:61)
  | at 
org.hibernate.impl.SessionFactoryImpl.getCurrentSession(SessionFactoryImpl.java:542)
  | at 
org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistenceService.java:103)
  | at org.jbpm.JbpmContext.getSession(JbpmContext.java:467)
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994738#3994738

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994738
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Problems jbpm 3.2alpha2 & ejb3 rc9

2006-12-14 Thread dhartford
More full details with some original missing information:

For installing jbpm 3.2alpha2 on JEMS jboss 4.0.5.GA-EJB3 server.

*Copy to /deploy jboss-console.war
-modify jboss-console.war and remove /WEB-INF/lib/javassist.jar.  This is 
already in the jboss AS classpath and will cause ClassCastExceptions.

*Copy to /deploy jbpm-ds.xml (may also want to overwrite the hsqldb-ds.xml from 
the 3.2alpha2 starter kit to the AS).

*delete $JBOSS_HOME/server/<>/data directory. Replace with 
$JBPM_STARTERKIT/server/jbpm/data directory.

*Copy the $JBPM_STARTERKIT/server/jbpm/conf/login-config.xml fragment "Other" 
policy to override the $JBOSS_HOME/server/<>/conf/login-config.xml "Other".

Start playing (testing) at http://localhost:8080/jbpm-console/




View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3993989#3993989

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3993989
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: 3.2alpha2 unable to load process archives

2006-12-14 Thread dhartford
solved - the solution was in the error more 'literally' than expected.

Two javaassist.jar's in my path :-P

removed one and all good!

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3993987#3993987

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3993987
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: 3.2alpha2 unable to load process archives

2006-12-14 Thread dhartford
actually, looking further down the trace I'm gonna go check out a couple of 
things


  | 
  | Caused by: java.lang.ClassCastException: 
org.jbpm.graph.def.Node_$$_javassist_59
  | at 
org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.getProxy(JavassistLazyInitializer.java:126)
  | at 
org.hibernate.proxy.pojo.javassist.JavassistProxyFactory.getProxy(JavassistProxyFactory.java:48)
  | at 
org.hibernate.tuple.entity.AbstractEntityTuplizer.createProxy(AbstractEntityTuplizer.java:379)
  | at 
org.hibernate.persister.entity.AbstractEntityPersister.createProxy(AbstractEntityPersister.java:3388)
  | at 
org.hibernate.event.def.DefaultLoadEventListener.createProxyIfNecessary(DefaultLoadEventListener.java:255)
  | at 
org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:189)
  | at 
org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:101)
  | at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:878)
  | at org.hibernate.impl.SessionImpl.internalLoad(SessionImpl.java:846)
  | at 
org.hibernate.type.EntityType.resolveIdentifier(EntityType.java:266)
  | at org.hibernate.type.EntityType.resolve(EntityType.java:303)
  | at 
org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:116)
  | at 
org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:842)
  | at org.hibernate.loader.Loader.doQuery(Loader.java:717)
  | at 
org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:224)
  | at org.hibernate.loader.Loader.doList(Loader.java:2144)
  | at 
org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2028)
  | at org.hibernate.loader.Loader.list(Loader.java:2023)
  | at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:393)
  | at 
org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:338)
  | at 
org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:172)
  | at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1121)
  | at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
  | at 
org.hibernate.impl.AbstractQueryImpl.uniqueResult(AbstractQueryImpl.java:780)
  | at 
org.jbpm.db.GraphSession.findLatestProcessDefinition(GraphSession.java:153)
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3993983#3993983

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3993983
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Problems jbpm 3.2alpha2 & ejb3 rc9

2006-12-14 Thread dhartford
Try the reverse - take a running EJB3 jboss and add in:

jboss-console.war
jbpm-ds.xml

Also, may want to start clean and copy the /server/jbpm/data folder to override 
your EJB3's /server//data folder as it does not seem to auto-create the JBPM 
database at the moment.

This isn't foolproof as I'm presently having process archive deployment issues, 
but that may be just me ;-)

-D

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3993939#3993939

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3993939
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - 3.2alpha2 unable to load process archives

2006-12-14 Thread dhartford
Hello all,
I'm experiencing some problems with the 3.2alpha2 whenever I deploy a process 
archive.

Server log:

  | 15:50:43,773 ERROR [GraphSession] java.lang.ClassCastException: 
org.jbpm.graph.def.Node_$$_javassist_59
  | 15:50:43,773 ERROR [[ProcessUploadServlet]] Servlet.service() for servlet 
ProcessUploadServlet threw exception
  | org.jbpm.JbpmException: couldn't find process definition '<>'
  | 

I've tested this with both the Jboss IDE 2.0.0Beta2 deployment as well as the 
jbpm-console uploadprocess through the web.  I've also tested with just the 
original server from the Alpha2 starter kit, as well as deployed on JEMS 
installed jboss 4.0.5GA.

I do not see anything in JIRA regarding this, so I'm hoping I'm doing something 
wrong?
-D

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3993856#3993856

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3993856
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: History Interceptor

2006-12-13 Thread dhartford
Hi jc, 
I have not thought about the array scenario...I would imagine that if it is in 
a relation with another table/entity and both marked for History, it would 
somehow handle both scenarios.


I know the previous 'Audit' implementation and the 'History' implementation 
from hibernate both follow a logging approach of just what has changed.  I was 
looking for a more detailed 'History' so that you could get the state of the 
data during a specific time.

*particularly useful for applications with, say, Jboss Rules and testing 
retroactive changes.
*Although logging is more efficient space-wise, researching the 'state' of the 
data during a specific time is more processor and labor efficient if captured 
in its full state. However, if a mechism was in place to retrieve the entire 
entity state from just the logged changes, that would be wonderful.

I would be interested in feedback and comments.

not very interesting example:


  | Address
  | clientId|street|city|state|zip|timestamp
  | 32|44 roy drive apt 2|bumsville|ZZ|9|apr 06
  | 
  | AddressHistory
  | autoId|clientId|street|city|state|zip|timestamp
  | 1|32|345 summerville road|bumsville|ZZ|9|jan 04
  | 2|32|44 roy drive apt 1|bumsville|ZZ|9|feb 06
  | 
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3993383#3993383

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3993383
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - History Interceptor

2006-12-12 Thread dhartford
Hey all,
I would like to, for each entity bean, create a History entity bean to track 
all changes and timestamp of those changes.

Searching across the web, I saw a user on the hibernate forum posted this 
interceptor:
http://www.hibernate.org/195.html

Does there already exist an EJB3 equivalent following the EJB3 interceptors, or 
is there a better approach (preferably non-vendor specific if possible)?

Thanks,
-D

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3993159#3993159

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3993159
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - Using Jboss Cache IDE on EJB3 4.0.5.GA server

2006-12-06 Thread dhartford
Hi all,
I'm having a hard time trying to find any documentation on how to use the Jboss 
Cache IDE (the one with Jboss-IDE 2.0.0.Beta2) to monitor/examine cache-enabled 
EJB3's on a 4.0.5.GA JEMS ejb3-cluster profile install.

The properties needed for remote access include:

*serverUrl (localhost by default)
*Jndi Port (1099 by default, may be 1100)
*Cache Jndi Name (jndi_name by default, ???)
*Cache Service Name(changed to jboss.cache:service=EJB3EntityTreeCache)
*no added jars

How should this be configured to monitor cached EJB3 entity beans?

Thanks,
-D


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991653#3991653

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991653
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - Re: EJB3 and remote client EJB access

2006-11-28 Thread dhartford
so...yeah, problem still not resolved.  The problem occurs when entering 
incorrect credentials, but the client does NOT get any feedback.

Needless to say, hard to handle credential requests from the client-side when 
you have no feedback if the credential was incorrect because the server-side 
swallows it with a NotSerializableException.

Is this a bug? The server side is just EJB3 annotations, hard to do something 
wrong I would think.


  | @SecurityDomain("testLdap")
  | 
  | @RolesAllowed("good")
  | public String returnGood(){return "good!";}
  | @RolesAllowed("bad")
  | public String returnBad(){return "this should not work";}
  | 

Please, really stuck here


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989341#3989341

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989341
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: embed EJB3/surefire:JBossMXServerConfig classnotfound

2006-10-27 Thread dhartford
References
===
http://maven.apache.org/plugins/maven-surefire-plugin/examples/class-loading.html
childDelegation property to true:
Classes in the java.* and javax.* packages can never be overridden.

http://jira.jboss.com/jira/browse/EJBTHREE-534
JBossMXServerConfig issue

http://mail-archives.apache.org/mod_mbox/maven-users/200606.mbox/[EMAIL 
PROTECTED]
similar problems

http://jira.codehaus.org/browse/SUREFIRE-38
Alpha-6, configuring surefire with pertestfalse

http://docs.codehaus.org/display/MAVENUSER/How+to+use+the+JBoss+Embedded+EJB3+Container+for+Unit+testing
Sample setup 
Personally tested on RC8 and Surefire 2.2-SNAPSHOT with success.
Researching if there was a change in the way Surefire supported overriding 
javax.* packages between 2.2-SNAPSHOT and 2.2 official release.  Even if they 
did, it makes sense to not allow it.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3981297#3981297

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3981297
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - embed EJB3/surefire:JBossMXServerConfig classnotfound

2006-10-26 Thread dhartford
There have been several listings in various mailing groups (Maven and Jboss) 
related to a JbossMXserverConfig ClassNotFoundException problem when trying to 
do automated testing (usually through maven/surefire plugin).

There exists a Jboss JIRA for this subject:
http://jira.jboss.com/jira/browse/EJBTHREE-534

However, the workaround is mentioned but since RC6, this hasn't been done and 
we are at RC9 - this would lead some people to believe that the workaround 
isn't a good idea.

Has anyone looked into this and maybe found a better workaround?   As for the 
maven-surefire-plugin, I've tried forking it out and a couple other 
configurations without success.


  | 
  |  pertest
  |  true
  | 
  | 

Error:

  | java.lang.RuntimeException: 
java.lang.ExceptionInInitializerError
  | at 
org.jboss.ejb3.embedded.EJB3StandaloneBootstrap.boot(EJB3StandaloneBootstrap.java:391)
  | at 
com.ghsinc.junit.EmbeddedEjb3TestCase.startupEmbeddedJboss(EmbeddedEjb3TestCase.java:25)
  | at 
com.ghsinc.junit.EmbeddedEjb3TestCase.setUp(EmbeddedEjb3TestCase.java:17)
  | at junit.framework.TestCase.runBare(TestCase.java:125)
  | at junit.framework.TestResult$1.protect(TestResult.java:106)
  | at junit.framework.TestResult.runProtected(TestResult.java:124)
  | at junit.framework.TestResult.run(TestResult.java:109)
  | at junit.framework.TestCase.run(TestCase.java:118)
  | at junit.framework.TestSuite.runTest(TestSuite.java:208)
  | at junit.framework.TestSuite.run(TestSuite.java:203)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
  | at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
  | at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:160)
  | at org.apache.maven.surefire.Surefire.run(Surefire.java:81)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:218)
  | at 
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:777)
  | Caused by: java.lang.ExceptionInInitializerError
  | at 
org.jboss.ejb3.embedded.EJB3StandaloneBootstrap.loadMBeanServer(EJB3StandaloneBootstrap.java:407)
  | at 
org.jboss.ejb3.embedded.EJB3StandaloneBootstrap.boot(EJB3StandaloneBootstrap.java:376)
  | ... 23 more
  | Caused by: org.jboss.util.NestedRuntimeException: Cannot load class 
org.jboss.mx.server.JBossMXServerConfig; - nested throwable: 
(java.lang.ClassNotFoundException: org.jboss.mx.server.JBossMXServerConfig)
  | at org.jboss.util.Classes.instantiate(Classes.java:531)
  | at org.jboss.mx.server.ServerConfig.getInstance(ServerConfig.java:74)
  | at 
javax.management.MBeanServerFactory.&clinit&(MBeanServerFactory.java:79)
  | ... 25 more
  | Caused by: java.lang.ClassNotFoundException: 
org.jboss.mx.server.JBossMXServerConfig
  | at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
  | at java.security.AccessController.doPrivileged(Native Method)
  | at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
  | at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
  | at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
  | at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
  | at 
org.apache.maven.surefire.booter.IsolatedClassLoader.loadClass(IsolatedClassLoader.java:88)
  | at org.jboss.util.Classes.loadClass(Classes.java:631)
  | at org.jboss.util.Classes.loadClass(Classes.java:570)
  | at org.jboss.util.Classes.instantiate(Classes.java:527)
  | ... 27 more
  | 
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3981054#3981054

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3981054
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - Re: EJB3 and remote client EJB access

2006-10-24 Thread dhartford
so
Also tried "org.jboss.security.jndi.JndiLoginInitialContextFactory" without the 
AppcallbackHandler

   Properties env = new Properties();
  |env.setProperty(Context.INITIAL_CONTEXT_FACTORY, 
"org.jboss.security.jndi.JndiLoginInitialContextFactory");
  |env.put("java.naming.provider.url", "jbossserver:1099");
  |env.put("java.naming.factory.url.pkgs", 
"org.jboss.naming:org.jnp.interfaces"); 
  |env.setProperty(Context.SECURITY_PRINCIPAL, "username");
  |env.setProperty(Context.SECURITY_CREDENTIALS, "password");
  | 
  |InitialContext results = null;
  |try{
  |   results = new InitialContext(env);
  |}catch(Exception e){
  |e.printStackTrace();
  |}
  | 

And still getting

java.io.NotSerializableException: com.sun.jndi.ldap.LdapCtx

Is this the wrong forum or am I just doing something really wrong?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3980410#3980410

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3980410
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam and maven projects

2006-10-24 Thread dhartford
Gavin,
There are a lot of pieces of Jboss EMS that many of us are interested in 
stronger maven support, not just Seam.

-Seam
-Embedded EJB3
-JBPM & Drools
-Remoting

Some of these already do exist at the jboss maven repo 
http://repository.jboss.com/maven2/, but some do not and many are not regularly 
updated.  

Part of the problem is that these project's jars and the maven repo are part of 
the distribution piece which is (and should be) carefully controlled. So 
instead of asking for better Maven support for Seam, most of us are asking for 
better Maven support of JBoss products ;-)

The second piece, showing examples of using with Maven, is something many of us 
can help contribute to, but we need the jars already in place.

Gilbert over at the taylor project 
http://taylor.sourceforge.net/index.php/Overview has done a great job of 
showing what can happen once all the jars are in place in repos (not to mention 
the PIM/PSM tool he is working on is awesome!).

my two coppers,
-D


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3980353#3980353

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3980353
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - Re: EJB3 and remote client EJB access

2006-10-18 Thread dhartford
If the problem is NotSerializableException, should I post this into the 
Remoting forum?

I'm stuck and I would like to solve this problem.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979061#3979061

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979061
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Seam and maven projects

2006-10-11 Thread dhartford
I'm trying to find some resources on maven-built Seam web applications.  I came 
across some stuff in the jboss-seam-tools package, but only in CVS

org/jboss/seam/tools/output/maven/MavenWebProject.java

What is the status of this and how can I get started evaluating/playing around 
with this?

(would also be nice with Eclipse WTP of course ;-)

thanks,
-D

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977675#3977675

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977675
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - Re: EJB3 and remote client EJB access

2006-10-11 Thread dhartford
Also tested UsernamePasswordHandler with same server-side issue/remoting issue.

Since my requirements need LDAP authentication, kinda stuck.



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977597#3977597

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977597
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - EJB3 and remote client EJB access

2006-10-10 Thread dhartford
Hi all,
Trying to use EJB3-9 patch to 4.0.4.GA. Trying to use LdapLoginModule and 
AppCallbackHandler.

server-side error:

  | 15:47:55,783 ERROR [ServerThread] failed to process invocation.
  | java.io.NotSerializableException: com.sun.jndi.ldap.LdapCtx
  | ...
  | at 
org.jboss.remoting.serialization.impl.java.JavaSerializationManager.sendObject(JavaSerializationManager.java:
  | 81)
  | at 
org.jboss.remoting.marshal.serializable.SerializableMarshaller.write(SerializableMarshaller.java:84)
  | at 
org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:381)
  | at 
org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:398)
  | at 
org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:239)
  | 


I've had very poor success understanding any documentation related to secure 
remote-EJB access, so forgive my ignorance.

client.java

  | AppCallbackHandler("myuser","mypassword".toCharArray());
  |try {
  |  LoginContext lc = new 
LoginContext("other",myHandler);
  |lc.login();
  |}catch (LoginException le)
  |{
  |System.out.println("Login failed");
  |le.printStackTrace();
  |}
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977358#3977358

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977358
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: New jBPM Getting Started Documentation

2006-10-06 Thread dhartford
Although slightly off topic, great article to read to make sure you have a good 
understanding of the problem JBPM is trying to solve.

http://labs.jboss.com/portal/index.html?ctrl:cmd=render&ctrl:window=default.blog.PrjBlogPortletWindowDefaultBlog&project=all&from=1&link=JBoss_jBPM_Meets_WfMC%3A_They_got_my_respect_%21#JBoss_jBPM_Meets_WfMC%3A_They_got_my_respect_%21



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976656#3976656

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976656
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - EJB3 RC9 and BigDecimal/monetary issues

2006-10-04 Thread dhartford
Hey all,
Using EJB3 RC9-FD patch on 4.0.4.GA Jboss AS.

Trying to handle financial calculations and outside of database versions for 
querying calculations, I'm definately having problems on the POJO side.


  | public class SampleBean implements Serializable {
  | ...
  | @javax.persistence.Column(precision=8, scale=2)
  | public BigDecimal getAmountPaid() {
  | return amountPaid;
  | }
  | 

After persisting data to the database (with the database fields configured as 
Decimal(8,2) on both Mysql and Postgresql), the return results are not 
'accurate', or as expected.

After setting a value of '58.11' and persisting to the database, then trying to 
retrieve after a Query (i.e. completely new object as the other has been 
cleaned up):

  | System.out.println(SampleBean.getAmountPaid());
  | -->58.1094315658113919198513031005859375
  | 

In the database, it stores correctly. Query-level mathimatical calculations are 
working correctly (assuming the database doesn't use floating point 
optimizations on Decimal fields, such as Mysql => 5.0.3).  But retrieval of the 
value, EVEN WITH SCALE SET, is not working as expected.

Is there something different I should be doing for handling monetary amounts in 
EJB3/JPA?

-D

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976067#3976067

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976067
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Embedded EJB3 Proxy and EJB3-RC9 server

2006-10-02 Thread dhartford
Hi all,
I'm trying to use the embedded EJB3 jars in an application that will require 
both local/embed server access as well as remote server access.

Using Embed RC9-Alpha and a 4.0.4.GA patched jbossas with EJB3-RC9 I keep 
getting the following error on the client side when trying to communicate with 
the server:


  | javax.naming.CommunicationException [Root exception is 
java.io.InvalidClassException: org.jboss.ejb3.stateless.StatelessLocalProxy; 
local class incompatible: stream classdesc serialVersionUID = 
-3241008127518089831, local class serialVersionUID = -3824844512835539077]
  | 


Using the following contexts for testing:


  |private static Hashtable getLocalContextProperties()
  |{
  |   Hashtable props = new Hashtable();
  |   props.put("java.naming.factory.initial", 
"org.jnp.interfaces.LocalOnlyContextFactory");
  |   props.put("java.naming.factory.url.pkgs", 
"org.jboss.naming:org.jnp.interfaces");
  |   return props;
  |}
  | 
  |private static Hashtable getRemoteContextProperties(){
  |Hashtable env = new Hashtable();
  |env.put("java.naming.factory.initial", 
"org.jnp.interfaces.NamingContextFactory");
  |env.put("java.naming.provider.url", "my.remote.server:1099");
  |env.put("java.naming.factory.url.pkgs", "org.jnp.interfaces"); 
  |return env;
  |
  |}
  | 

If I use embed, is there something special I need to do to also use remote ejb3?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3975578#3975578

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3975578
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Embedded EJB3 and .scanClasspath()

2006-09-29 Thread dhartford
May be stretching, but not being able to use the 
EJB3StandaloneBootstrat.deployXXX related to this may help if also support 
Eclipse:

http://jira.jboss.com/jira/browse/JBCOMMON-6



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3975172#3975172

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3975172
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: EJB3-embed jars in Maven repo?

2006-09-29 Thread dhartford
A simpler answer to that problem (assuming it hasn't already) is to have the 
parent jar (like microcontainer.jboss.ejb3.jboss-ejb3-all.jar) contain all of 
its dependencies in that pom.xml file.  

Maven does understand dependency downloads so if a project has just the 
jboss-ejb3-all.jar file listed, Maven will still download all the jar 
dependencies listed under the jboss-supplied jboss-ejb3-all pom.xml file after 
downloading the jar file.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3975159#3975159

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3975159
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Embedded EJB3 and .scanClasspath()

2006-09-29 Thread dhartford
Overall, this sounds like another approach I was trying to do within the EJB3 
embed library:


  | EJB3StandaloneBootstrap.boot(null);
  | //EJB3StandaloneBootstrap.scanClasspath();
  | EJB3StandaloneDeployer deployer = EJB3StandaloneBootstrap.createDeployer();
  | 
  | ClassLoader cl2 = MySessionBean.class.getClassLoader();
  | 
  | deployer.setClassLoader(cl2);
  | 
  | 

Not sure if this may help as an alternative for your approach/problem, but I'm 
still stuck in Eclipse land without a solution just yet.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3975157#3975157

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3975157
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Embedded EJB3 and .scanClasspath()

2006-09-29 Thread dhartford
I tried the EmbeddableEJB3Container, but ran into more classloader issues (with 
Eclipse):



  | java.lang.ClassCastException: 
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader
  | at 
embedded.ejb3.EmbeddableEJB3Container.getPath(EmbeddableEJB3Container.java:136)
  | at 
embedded.ejb3.EmbeddableEJB3Container.initProperty(EmbeddableEJB3Container.java:57)
  | at 
embedded.ejb3.EmbeddableEJB3Container.startup(EmbeddableEJB3Container.java:38)
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3975147#3975147

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3975147
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Microcontainer] - Re: embedded ejb3 in Eclipse RCP

2006-09-27 Thread dhartford
I'm trying to run an embedded ejb3 server as an eclipse plugin for a seperate 
UI plugin to talk to.  Having challenges trying to get the embedded ejb3 server 
to pickup the EJB3 beans from the classpath.

A detail is posted here under the EJB3 forum (and you'll note that I'm still 
not sure which forum this should be posted to): 
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=91457



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3974515#3974515

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3974515
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Embedded EJB3 and .scanClasspath()

2006-09-26 Thread dhartford
I'm trying to use embedded EJB3 in an Eclipse RCP plugin.  If this is not the 
correct forum, please direct me to the correct forum instead of ignoring this 
thread.

I'm having some challenges related to loading my actual EJB3 classes.  The 
default/non-Eclipse fashion involves using  
EJB3StandaloneBootstrap.scanClasspath() which I understand uses the 
'java.class.path' system property.  This is not valid for something like 
Eclipse RCP where seperate classloaders are involved.

How do you specify to deploy your EJB3 classes without scanClasspath()?  I have 
already looked at http://docs.jboss.org/ejb3/embedded/embedded.html and tried 
all the advanced-deployment tutorials, but they only detail persistence.xml 
deployments and have no examples related to EJB3 class deployments that may or 
may not be in the classpath/classloader.

Can someone please assist?

Thanks,
-D

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3974276#3974276

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3974276
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Microcontainer] - embedded ejb3 in Eclipse RCP

2006-09-26 Thread dhartford
Has anyone had success using the microcontainer within an Eclipse RCP plugin?  
These classloaders are giving me a headache... ;-)

It would be nice to see a working example rather than trying to debug my 
existing code/configuration.

thanks,
-D

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3974194#3974194

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3974194
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Seperate Forum for Embedded EJB3?

2006-09-25 Thread dhartford
Is there a seperate/different forum for embedded EJB3 questions?

Just curious as not getting a lot of responses on this forum and wondering if 
the questions should be here or the Microcontainer user forum or some other one.

Thanks,
-D

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3974025#3974025

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3974025
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: EJB3-embed jars in Maven repo?

2006-09-25 Thread dhartford
Hi Wandi,
Configuring the ejb3-embed jars into an eclipse plugin was going to be my next 
challenge!

A pom.xml file to automatically make the plugin would be great, especially when 
the ejb3 jars are available from the jboss maven repo.

My thought was a library-plugin that just exposes those classes/jars, then have 
embed-server Eclipse RCP plugins (that depend on the library plugin) that are 
specific to your purpose/need -- does that sound correct?

-D

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3973972#3973972

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3973972
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: embedded ejb3 - deploying *-ds.xml?

2006-09-21 Thread dhartford
Trying 


  | EJB3StandaloneBootstrap.deployXmlResource("mydb-ds.xml");
  | 

causes error:


  | Caused by: org.jboss.xb.binding.JBossXBRuntimeException: No cursor for 
local-tx-datasource
  | at 
org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.startElement(SundayContentHandler.java:280)
  | at 
org.jboss.xb.binding.parser.sax.SaxJBossXBParser$DelegatingContentHandler.startElement(SaxJBossXBParser.java:301)
  | at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown 
Source)
  | at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown 
Source)
  | at 
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
  | at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
 Source)
  | at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
Source)
  | at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
  | at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
  | at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
  | at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
  | at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown 
Source)
  | at 
org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:138)
  | ... 4 more
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3973361#3973361

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3973361
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - embedded ejb3 - deploying *-ds.xml?

2006-09-21 Thread dhartford
Hi all,
Sorry if this has already been asked or is already 'well known', but I simply 
can not find any resources on this topic.

How do you deploy an existing *-ds.xml datasource file with embedded ejb3?

Thanks,
-D

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3973348#3973348

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3973348
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - EJB3-embed jars in Maven repo?

2006-09-21 Thread dhartford
Hey all,
Would it be possible to add the jboss ejb3 embed jars to the maven repo at  
http://repository.jboss.com/maven2/ ?

Originally asked on the installation/configuration forum, but that may not have 
been the correct location to ask:
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3973242


Thanks, this would be a huge timesaver!
-D

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3973243#3973243

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3973243
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & Deployment] - Re: Maven Repo

2006-09-21 Thread dhartford
Is this the correct location for this kind of question/request, or is there 
another forum that is more relevant?


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3973242#3973242

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3973242
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: User Input Req for 2.6 Usability and UI enhancements

2006-09-11 Thread dhartford
anonymous wrote : 
  | - edit mode should use icon, not text: using text is not consistent, takes 
too much space and can cause problems with respect to internalization
  | 
  | No. When we had icon, users were confused.
  | 

Icons would work well, once users understood what the icon meant (i.e. 
internationalized hover-tags).

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3970800#3970800

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3970800
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: How to do virutal hosts with JBoss Portal

2006-08-31 Thread dhartford
If you have multiple virtual hosts pointing to different jboss portals sharing 
the same db/content, I could see where you want to push support for virtual 
hosting on the App server side.

However, I don't understand that if the portals have different db/content, why 
a front-facing Apache is not an acceptable solution.  I would think in most 
cases you want Apache in front of the App server anyway, regardless if using 
virtual hosting or not.  An App server is great at handling dynamic web content 
and 'application' stuff.  Apache does well interfacing on the network-level 
with DNS/virtual hosting, proxy, redirect/re-writes, etc.  Use both their 
strengths.

I would be concerned about putting a lot of jboss's time into developing a 
app-server based virtual hosting solution which would be a workaround/patch on 
the app server to replicate what already exists (and more efficiently) on 
Apache. 

I just want to see Jboss Portal 2.6 as soon as possible, too, so a little 
biased ;-)

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3968634#3968634

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3968634
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: User Input Req for 2.6 Usability and UI enhancements

2006-08-18 Thread dhartford
If the layout column widths are to be CSS-driven/themed, that sounds fine.

If there is a list of 20 portlets for a user to select, will they be able to 
see/understand the preferred-width size of the portlets so that user can choose 
the best column to add the portlet to?

-D

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3966074#3966074

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3966074
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: User Input Req for 2.6 Usability and UI enhancements

2006-08-17 Thread dhartford
The column layouts are great and used in many portals.  Some implementations 
that I recall also had the concept of 'wide' and 'narrow' column widths and 
allowing a portlet to pre-define itself as a 'wide' portlet or a 'narrow' 
portlet to coincide with the layout.

By allowing the layout identifers like column width and allowing portlet 
designers to pre-define the expected size/scale of their portlet will allow 
users to auto-render their own page much quicker, simpler, and more effectively 
(with probably better results).

I would even borrow from some of the desktop UI's the 'docklet' idea of small,  
square portlets with just minimal graphical or textual information (i.e. CPU 
usage, mem, have-new-mail, network latency, etc).

So, to summarize: Column width identifers for layout managers and allowing 
portlet designers to pre-define their portlet's intended width.

---narrow--- --wide--- -docklet-


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3965852#3965852

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3965852
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & Deployment] - Re: Maven Repo

2006-07-26 Thread dhartford
I think the intent that redijedi and I are trying to accomplish is the 
equivelant of ant 'get-deps' (i.e. maven dependency management).

If a project requires certain jars, such as EJB3 embeddable jars, download them 
from an appropriate repository opposed to always doing system-installs of an 
application then pointing to the application.

By putting the jars in the maven repo:

*Saves several steps.
*version changes of the ejb3-embeddable can be handled easily without having to 
do additional system installs.
*Cruisecontrol/continuum build machines may not have system-installs of these 
applications and would need to get the jars from someplace.

Hope this detail helps!

-D



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960966#3960966

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960966
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: 508 accessibility - what are the pieces?

2006-07-25 Thread dhartford
anyone please?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960709#3960709

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960709
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Audit Log implementation for EJB3 persistence

2006-07-25 Thread dhartford
I am also in standby, as I haven't found/developed a clean solution yet.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960708#3960708

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960708
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & Deployment] - Re: Maven Repo

2006-07-25 Thread dhartford
I am also interested in this.  The wiki with the referenced link in the wiki 
http://repository.jboss.com/maven2/ does not contain EJB3 embeddable resources.

Will these resources be added?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960707#3960707

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960707
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & Deployment] - Re: How Do Install jboss-4.0.4.GA On Redhat ES 4 ?

2006-07-24 Thread dhartford
As for the JVM on the recent/upcoming Redhat Enterprise/FC series - which is 
preferred?

*jpackage version of (sun) JVM

*straight binary install of (sun) JVM

*gcj (based on post - no, but recognize as invalid option)

And, once the JVM is installed, what is the common install location of jboss 
(and versioning of jboss)

i.e. /usr/share/jboss/jboss-4.0.4.GA?



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960432#3960432

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960432
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: JBoss Seam is just a toy in front of the user using Spri

2006-07-12 Thread dhartford
Good post Norman!

I am very strong on standards -- particularly when there are multiple 
implementations of a standard that each of strengths and weaknesses on both the 
implementation level as well as showing where the standard is weak and learn 
from it.

I personally did not look heavily at Seam until the Web Beans JSR and it's 
future inclusion with the Java EE standards stack.  I am hoping for the day a 
Jboss-competitor will create a Web Beans implementation to compete against Seam 
on an apple-to-apple comparison (spring vs Java EE is just theological 
apple-to-orange comparison).

Going back to Seto's original post, take a look at bfo81's reply - AppFuse was 
one of the faster way to develop a web application, but even now people are 
migrating towards Seam.  In the long run Seam may prove to be the better value, 
but short-term it's dependent on your skill set.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957412#3957412

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957412
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user