[jboss-user] [Installation, Configuration & Deployment] - Re: error regarding log4j

2006-12-20 Thread jaikiran
Thats not an error. Thats just another log message. The Log4j service in JBoss 
has a timer task which is scheduled every 60 seconds i guess, which looks for 
changes to the log4j.xml file. If there are any changes to that file,  log4j is 
reconfigured to reflect those changes. You can safely ignore that message.

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

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


[jboss-user] [Security & JAAS/JBoss] - JBOSS LdapLogin Module - how to implement failed login funct

2006-12-20 Thread shilpee_toshi
Hi everyone,

I am using Jboss LdapLoginModule for LDAP authentication.

For authentication i want to implement following feature:
Allow a user to give only 3 login attempts and after 3 unsuccessful login 
attempts user's account is locked in Database. 

Please suggest how should i keep track of failed login attempts ?

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

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


[jboss-user] [JBoss Seam] - Re: Mapping between form field and database fields

2006-12-20 Thread hstang
Hi,

If the POJO is an entity (annotated with @Entity), then create the date field 
like @Temporal(DATE) private Date date

Do you already have this?
 

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

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


[jboss-user] [Security & JAAS/JBoss] - Re: LDAP Newbie - LdapLoginModule

2006-12-20 Thread shilpee_toshi
Yes. You are right. 

So what is the other way to implement failed login attempt functionality? 
Please suggest.



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

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


[jboss-user] [JBoss Seam] - Mapping between form field and database fields

2006-12-20 Thread chrismalan
I'm new to Seam.  After reading some of the documentation and looking at the 
examples I'm left with one question.  Searches of the forum provide no answer.

One html form field in Seam seems to map to one attribute in a POJO which in 
turn seems to map to one field in a database.  Now say I want a day field, a 
month field and a year field in the html form, a java.sql.Date field in the 
POJO and a date field in the database, how do I do that?

I'm sure there is a way (most likely a simple way) as this the one to one 
mapping will often not do.

Thanks,

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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: Deploy a web application on JBoss

2006-12-20 Thread inderjeet
Thanks to all of those who helped me to solve my problem.
Peter, I tried to search method by the name of "Invoke", but there is no invoke 
method in the MainDeployer MBean.
As per kennychaffin  and your, suggestion, i am not going for application 
across network, but I just wanted to see this working once. Therefore i tried 
to search for the invoke method but could not fined out. I found methods like 
addDeployer(), removeDeployer(), deploy(), getDeployment(), getWatchUrl(), 
isDeployed(), listDeployed() etc...

Thanks & Regards
Inder Jeet Singh

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

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


[jboss-user] [JBoss Seam] - Re: Injected properties don't worjk in constructors?

2006-12-20 Thread hstang
Correct me if I am wrong, but Seam needs to instantiate a fully constructed 
instance before injecting zmponents via @In.  Hence NPE in the constructor.  

Try @Create.  The annotated method will be called when the component is fully 
initialized.  The log will be fine.

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

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


[jboss-user] [JBossWS] - Re: Single Client, Multiple Service Endpoints

2006-12-20 Thread elcapitan
I should mention that this solution is also not ideal because at some point 
down the track, this code may need to be ported to OracleAS, and hence using 
proprietary JBoss functionality is not a great idea.

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

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


[jboss-user] [JBossWS] - Re: Single Client, Multiple Service Endpoints

2006-12-20 Thread elcapitan
The closest thing I have found to a solution for this so far is to create 
different mapping files for each service, i.e. service1-mapping.xml, 
service2-mapping.xml, etc., and then use the JBoss-proprietary 
ServiceFactoryImpl class's method createService(URL wsdlDocumentLocation, QName 
serviceName, URL mappingLocation) to create services on the client side. (The 
standard javax.xml.rpc.ServiceFactory class doesn't provide a createService 
method that allows explicit specification of the mapping file.)

The client-side code, then, looks something like the following (this is really 
just a test, so please excuse the hacky and hard-coded nature of it):

// URLs locating important files.
  | URL watchListWSDL = null;
  | URL watchListMapping = null;
  | URL crawlerWSDL = null;
  | URL crawlerMapping = null;
  | try {
  | watchListWSDL = new 
URL("http://localhost:8080/crawler/WatchListManager?wsdl";);
  | watchListMapping = (new 
File("src/META-INF/watchlist-mapping.xml")).toURL();
  | crawlerWSDL = new 
URL("http://localhost:8080/crawler/CrawlerManager?wsdl";);
  | crawlerMapping = (new File("src/META-INF/crawler-mapping.xml")).toURL();
  | } catch (MalformedURLException e) {
  | e.printStackTrace();
  | }
  | 
  | // Qualified names of the services.
  | QName watchListQName = new 
QName("http://servercontroller.application.server.webcrawler.thedistillery.com.au/jaws";,
  | "WatchListManagerInterfaceService");
  | QName crawlerQName = new 
QName("http://servercontroller.application.server.webcrawler.thedistillery.com.au/jaws";,
  | "CrawlerManagerInterfaceService");
  | 
  | // Services (note that we use the org.jboss.ws.jaxrpc.ServiceFactoryImpl 
class)
  | ServiceFactoryImpl factory = null;
  | Service watchListService = null;
  | Service crawlerService = null;
  | try {
  | factory = (ServiceFactoryImpl) ServiceFactory.newInstance(); 
  | watchListService = factory.createService(watchListWSDL, watchListQName, 
watchListMapping);
  | crawlerService = factory.createService(crawlerWSDL, crawlerQName, 
crawlerMapping);
  | } catch (ServiceException se) {
  | System.out.println("Couldn't create service");
  | }
  | 
  | WatchListManagerInterface wlm = null;
  | CrawlerManagerInterface cm = null;
  | try {
  | wlm = (WatchListManagerInterface) 
watchListService.getPort(WatchListManagerInterface.class);
  | cm = (CrawlerManagerInterface) 
crawlerService.getPort(CrawlerManagerInterface.class);
  | } catch (ServiceException e1) {
  | e1.printStackTrace();
  | }
  | 
  | // Code that actually uses the services goes here.

This seems to work OK, but I haven't tested it fully and since the services 
share classes, I'm not sure that it will work out alright in the long run. Any 
feedback would be extremely welcome!

Thanks guys,

James

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

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


[jboss-user] [EJB 3.0] - Re: Where is javax.persistence.AccessType

2006-12-20 Thread varunnarang
Thanks once again,
That was a great help.

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

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


[jboss-user] [JBoss jBPM] - Jbpm performance problem

2006-12-20 Thread [EMAIL PROTECTED]
Hi All,

I have converted the jbpm websales application to jboss portlet. And it works 
fine.

But now I meet a problem, after runing this application several minutes, it 
will throw hibernate exceptions:

  | 2006-12-21 11:36:22,501 ERROR [org.hibernate.util.JDBCExceptionReporter] No 
ManagedConnections available within configured blocking timeout ( 3 [ms] ); 
- nested throwable: (javax.resource.ResourceException: No ManagedConnections 
available within configured blocking timeout ( 3 [ms] ))
  | 2006-12-21 11:36:22,516 ERROR 
[org.jboss.portal.server.servlet.CommandFilter] Exception in command invocation
  | org.apache.jasper.JasperException: Cannot open connection
  | at 
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
  | at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
  | at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
  | at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
  | 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.portal.portlet.impl.jsr168.PortletRequestDispatcherImpl.execute(PortletRequestDispatcherImpl.java:87)
  | at sun.reflect.GeneratedMethodAccessor305.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.portal.server.servlet.CommandFilter.doFilter(CommandFilter.java:65)
  | 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.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
  | at 
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
  | at 
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
  | at 
org.jboss.portal.portlet.impl.jsr168.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:108)
  | at 
org.apache.myfaces.context.portlet.PortletExternalContextImpl.dispatch(PortletExternalContextImpl.java:164)
  | at 
org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:195)
  | at 
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352)
  | at 
org.apache.myfaces.portlet.MyFacesGenericPortlet.facesRender(MyFacesGenericPortlet.java:396)
  | at 
org.apache.myfaces.portlet.MyFacesGenericPortlet.doView(MyFacesGenericPortlet.java:266)
  | at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:167)
  | at javax.portlet.GenericPortlet.render(GenericPortlet.java:407)
  | at 
org.jboss.portal.portlet.container.PortletContainer.invokeRender(PortletContainer.java:519)
  | at 
org.jboss.portal.portlet.container.PortletContainer.dispatch(PortletContainer.java:440)
  | at 
org.jboss.portal.portlet.container.PortletContainerInvoker$1.dispatch(PortletContainerInvoker.java:143)
  | at 
org.jboss.portal.portlet.invocation.PortletInvocation.dispatch(PortletInvocation.java:242)
  | at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:140)
  | at 
org.jboss.portal.core.aspects.portlet.TransactionInterceptor.org$jboss$portal$core$aspects$portlet$TransactionInterceptor$invokeNotSupported$aop(TransactionInterceptor.java:85)
  | at 
org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_4827075286966232824.invokeNext(TransactionInterceptor$invokeNotSupported_4827075286966232824.java)
  | at org.jboss.aspects.tx.TxPolicy.invokeInNoTx(TxPolicy.java:66)
  | at 
org.jboss.aspects.tx.TxInterceptor$NotSupported.invoke(TxInterceptor.java:101)
  | at 
org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_4827075286966232824.invokeNext(TransactionInterceptor$invokeNotSupported_4827075286966232824.java)
  | at 
org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invokeNotSupported(TransactionInterceptor.java)
  | at 
org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invoke(TransactionInterceptor.java:55)
  | at 
org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
  | at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
  | at 
org.jboss.portal.core.aspects.portlet.HeaderInterceptor.invoke(HeaderInterceptor.java:49)
  | at 
org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
  | at 
org.jboss.portal.common.invocation.Invoca

[jboss-user] [EJB 3.0] - JBoss 5.0 Beta 1

2006-12-20 Thread gommo
Does this contain the EJB3 libraries by default?

Thanks

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

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


[jboss-user] [EJB/JBoss] - Re: Unit Testing Practices

2006-12-20 Thread gommo
I'm running TestNG using eclipse BUT from an ant file. Not using the eclipse 
plugin. I wanted it to work outside of eclipse as I also use Netbeans. (Thats a 
side issue but I wish Netbeans and Eclipse joined or something, eclipse is 
fast, I love its autobuilding etc.., but its project settings SUCK. You can't 
just checkout and build, you need to screw with launch files and they depend on 
your workspace name etc.. etc.. Very very poor) heheheh, anyway had to get that 
off my chest.

This is a condensed version of my structure

src\
build\
build-tests\
tests\
tests\src\
tests\lib\
tests\META-INF\
tests\conf
lib\

My main source is in src and my tests are in tests\src

When my test targets are run the source is compiled in build\ and also most 
classes are also copied to build-tests (The reason I have done this is the 
embedded server didn't support all things like ServiceBeans etc..) so I dont 
copy them over

tests\lib contains all the jars that come with the embedded download as well as 
testng jar

tests\META-INF\ contains my persistence.xml which is the same as the example I 
think that comes with the embedded download

tests\conf contains the conf files that come with the embedded download

The tricky part I had was ensuring that ONLY these paths are on the classpath
build-tests 
tests/src
tests/
tests/conf
tests/lib
lib

Hope that helps in some small way



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

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


[jboss-user] [Installation, Configuration & Deployment] - error regarding log4j

2006-12-20 Thread ashwin1984
i copied an earlier installation of jboss and set it up in a new system. I am 
able to run the server and it starts but a problem now occurs...after every 10 
secs a log4j message as follows appears :
[log4jservice$urlwatchTimerTask] configuring from url: resource:log4j.xml

please i need urgent help to solve this problem as an project deadline is fast 
approaching!!!

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

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


[jboss-user] [JBoss Messaging] - Re: Two errors on startup

2006-12-20 Thread [EMAIL PROTECTED]
Is jboss-remoting.jar under 
$JBOSS_HOME/server//jboss-messaging.sar?


Unrelated to the problems you're experiencing, my advice is to upgrade to 
1.0.1.SP2 ASAP, lots of things happened since CR2, including fixing a couple of 
major bugs.

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

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


[jboss-user] [Security & JAAS/JBoss] - How to route to error page on session timeout

2006-12-20 Thread purna_cherukuri
Hi,

I am using jboss-portal 4.2.0

In Jass authentication,  
If the session expires,  The user has been sent to login page.  But as 
per my requirements,  i have to route him to error page on session expiration.  
How can i do that?  Where should i change the configurations to do this?

Thanks in advance...
  

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

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


[jboss-user] [JBoss jBPM] - Query allowed process instance creation for current user

2006-12-20 Thread mjuteau
Is it currently possible to query the JBPM engine for processes that the 
current user is allowed to start, based on his role(s)?
This would allow me to present adequate links on a home page, where each user 
sees links to processes they are allowed to start. The startup sample webapp 
simply displays all processes to all users.
The docs seem to imply that this kind of thing is still on the security todo 
list?
Many thanks.


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

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


[jboss-user] [JBoss Seam] - Injected properties don't worjk in constructors?

2006-12-20 Thread svadu
Hi All,

I was trying to use an injected logger (same as in the examples) in a default 
constructor of my java bean and I got a NullPointerException. I debugged that I 
found out that everything I tried to inject was null when running in the 
default constructor of the bean. Am I missing something here?

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

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


[jboss-user] [JBoss Seam] - Re: Vacation

2006-12-20 Thread gus888
Hi Gavin,

Have a great vacation and Merry Christmas too!

We sincerely appreciate your great work!

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

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


Re: [jboss-user] [Installation, Configuration & Deployment] - Save/Roll server.log

2006-12-20 Thread Matthew Hannigan
On Wed, Dec 20, 2006 at 05:26:50PM -0500, hunk wrote:
> I need to automate the saving/rolling of server.log while rebooting or 
> bouncing JBOSS . How to achieve this coz when we reboot JBOSS twice a day and 
> a new server.log is created which wipes out the old server.log and we 
> currently have three instances of JBOSS in our environment. 

Setting

 append=true

will fix the data lossage

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: One to many relation issues

2006-12-20 Thread jeremygibson
Fixed it. needed to make the following switch


  |  @OneToMany
  |  private Collection children;
  | ...
  | public Collection getChildren() {
  | return children;
  | }
  | 

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

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


[jboss-user] [JBoss Seam] - Re: aliases in components.xml on per page basis

2006-12-20 Thread dajevtic
Is anything planned in this direction?
If not, I would like to open a feature request in Jira, because it is the only 
thing I can think of to rid myself from the final tomahawk components I use in 
my seam apps: "AliasBeanScope" and "AliasBean"?
I have about twenty files which all look like:

  | 
  | http://java.sun.com/JSP/Page"; version="2.0"
  | xmlns:f="http://java.sun.com/jsf/core";
  | xmlns:t="http://myfaces.apache.org/tomahawk";>
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 

Only difference in them is #{companyModel} and #{companyHandler} being 
different based on the view.

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

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


[jboss-user] [EJB 3.0] - Re: MapKey, JoinColumn and referencedColumnName

2006-12-20 Thread jazir1979
This seemed to go away once I upgraded all the Hibernate jars past the old 
versions that still ship with Embeddable EJB3.

I can delete fine, although the name and referencedColumnName attributes still 
seems the wrong way around to me.  Maybe I'm just mis-interpreting the spec.


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

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


[jboss-user] [EJB 3.0] - Re: Updating instead of deleting

2006-12-20 Thread jazir1979
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=79385

Setting updatable = false fixed this for me.  I'm not entirely sure why, but 
it's a perfectly sufficient solution for me, as this FK column never would be 
updated.


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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: JBOSS Vs JAVA 6.0

2006-12-20 Thread trcull


okso then what's the plan/timeline for supporting jdk 1.6?


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

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


[jboss-user] [EJB 3.0] - Re: Updating instead of deleting

2006-12-20 Thread jazir1979
I have the same problem, a uni-directional one to many on a FK with CascadeType 
ALL.

I try to delete a parent entity A, and Hibernate tries to update the FK column 
on the child table B to null, rather than performing a delete.


  | DEBUG 21-12 10:51:52,375 (Log4JLogger.java:debug:84)  -Deleting collection: 
[A.B#A = [3, TestDataFactory OrgName - EGYM]]
  | DEBUG 21-12 10:51:52,375 (Log4JLogger.java:debug:84)  -about to open 
PreparedStatement (open PreparedStatements: 0, globally: 0)
  | DEBUG 21-12 10:51:52,375 (Log4JLogger.java:debug:84)  -update B set 
msg_id=null where msg_id=?
  | Hibernate: update B set msg_id=null where msg_id=?
  | DEBUG 21-12 10:51:52,375 (Log4JLogger.java:debug:84)  -done deleting 
collection
  | DEBUG 21-12 10:51:52,375 (Log4JLogger.java:debug:84)  -Executing batch 
size: 1
  | DEBUG 21-12 10:51:52,390 (Log4JLogger.java:debug:84)  -about to close 
PreparedStatement (open PreparedStatements: 1, globally: 1)
  | DEBUG 21-12 10:51:52,390 (Log4JLogger.java:debug:84)  -skipping 
aggressive-release due to flush cycle
  | DEBUG 21-12 10:51:52,390 (Log4JLogger.java:debug:89)  -Could not execute 
JDBC batch update [update B set msg_id=null where msg_id=?]
  | 



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

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


[jboss-user] [JBoss Seam] - Re: Seam explicit conversationId

2006-12-20 Thread [EMAIL PROTECTED]
Um ... I'm not sure, and don't have time to check, sorry

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

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


[jboss-user] [JBoss Seam] - Re: Seam explicit conversationId

2006-12-20 Thread pdpantages
OK, Thanks for the info 1.1.GA; I will remember this when I upgrade. 
However, I am currently using 1.0.1.GA- Should I expect the behaviour described 
above with the earlier release?
Thanks, PdP

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

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


[jboss-user] [JBoss Seam] - Vacation

2006-12-20 Thread [EMAIL PROTECTED]
Hi everyone :-)

Just to let you know, I'll be on vacation for about 2.5 weeks, with a woman 
instead of a laptop, so please fight amongst yourselves until I get back. 

Actually, Norman Richards is now temporarily in charge of all the essential 
functions I usually perform, eg. drunkenly insulting users at 3AM, getting in 
flamewars with Spring zealots, sending counterproductive curse-word-laden 
emails to services about why we don't have Seam training productized yet, not 
getting out of bed until 1PM, posting flamebait blogs, etc, so please give him 
as hard a time as possible until I get back, so that he can learn to regret the 
move from PM to dev.

OK, what I really mean to say is thanks for everyone's support  and 
encouragement, have a great holiday, and please be nice to Norman :-)

Merry christmas!

Gavin

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

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


[jboss-user] [EJB 3.0] - One to many relation issues

2006-12-20 Thread jeremygibson
Hi,

I'm trying to have a person entity who has a collection of person entities 
representing his children. I have it marked as follows:


  | private Collection children;
  | ...
  |  @OneToMany
  | public Collection getChildren() {
  | return children;
  | }
  | 

But when I deploy this it gives me the following error.

org.hibernate.MappingException: Could not determine type for: 
java.util.Collection, for columns: [org.hibernate.mapping.Column(children)]

I haven't found other examples of entity having instances of themselves but did 
see a post where someone was having a similar issue relating to having a 
collection of enitites from a "close relative" on the inheritance tree, so I am 
not sure whether this is a common issue. Any help is appreciated

Jeremy

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

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


[jboss-user] [JBoss Seam] - Re: Deployed ear file generated with seam-gen

2006-12-20 Thread [EMAIL PROTECTED]
Try a clean install of JBoss.

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

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


[jboss-user] [JBoss Seam] - Re: aliases in components.xml on per page basis

2006-12-20 Thread [EMAIL PROTECTED]
No, its not possible, sorry.

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

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


[jboss-user] [JBoss Seam] - Re: Seam explicit conversationId

2006-12-20 Thread [EMAIL PROTECTED]
This stuff actually broke in 1.1 GA and is fixed in CVS.

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

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


[jboss-user] [EJB 3.0] - Display data via EJB 3

2006-12-20 Thread weiming
Hi there

I can create, insert and delete date via EJB 3, but I got a problem with 
displaying data. 

I created an entitybean "UserCredentialsEntity.java", which defined all 
setter/getter. 

In interface "UserCredentialsHandler.java", I set a method 
"public Collection getUser(String firstName);"

In Javabean "UserCredentialsBean.java", I implemented this method
"public Collection getUser(String firstName){
   String oql = "select u from UserCredentialsEntity u where 
u.firstName=:firstName";

   return em.createQuery(oql).setParameter("firstName", 
firstName).getResultList();
}"

Then I create a test.jsp to test this method: (code about displaying data)

<[EMAIL PROTECTED] import="javax.naming.*, 
java.text.*,
java.util.*,
com.SurveyMaker.ejb.entity.*,
com.SurveyMaker.ejb.session.*"%>

<%!
private UserCredentialsHandler aUser = null;

public void jspInit () {
  try {
InitialContext ctx = new InitialContext();
aUser = (UserCredentialsHandler) 
ctx.lookup("surveymaker/UserCredentialsBean/local");
  } catch (Exception e) {
e.printStackTrace ();
  }
}%>

<%
 Collection somePeople= aUser.getUser("Allen");
   for(Iterator iter = somePeople.iterator(); iter.hasNext();){
   UserCredentialsEntity user  = (UserCredentialsEntity)iter.next();
%>
   Username: <%=user.getFirstName() %>
<% 
   }
%>

It brings me an error:

org.apache.jasper.JasperException: Exception in JSP: /test.jsp:29

26: <%
27:  Collection somePeople= aUser.getUser("Allen");
28:for(Iterator iter = somePeople.iterator(); iter.hasNext();){
29:UserCredentialsEntity user  = (UserCredentialsEntity)iter.next();
30: %>
31:Username: <%=user.getFirstName() %>
32: <% 


Stacktrace:

org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:504)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

root cause

java.lang.ClassCastException: com.SurveyMaker.ejb.entity.UserCredentialsEntity
org.apache.jsp.test_jsp._jspService(test_jsp.java:71)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

Can anyone help me, please?

Cheers
Ming


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

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


[jboss-user] [JBoss Eclipse IDE (users)] - Re: How contribute to Freemarker plugin and add my Plugin ec

2006-12-20 Thread azerr
anonymous wrote : Please send a *patch* and not just an updated plugin. 

I have sent you my Freemarker updated, because I would like that you see my new 
feature and that you validate it. I have change a lot of code like package 
name, so I'm waiting for your validation.

anonymous wrote : 
  | Hibernate tools can also generate different artifacts; nothing special 
about that. 
I agree with you, but when you want generate any component, you must respect 
some rules, like have java classes bean in your project. Imagine you want 
generate components for PHP, Hibernate mapping is used to get metadata of your 
database (with Hibernate Tools), BUT you need not to have Bean classes when you 
want generate components like PHP page.

If you want use others XML model, like XMI, WSDL, ... is it possible to use 
Hibernate Tool for generate component without XML mapping hibernate but with 
WSDL, XMI,... XML models?

anonymous wrote : ditto for Hibernate Tools. 
I'm sorry, I don't understand what you mean? Is it possible with Hibernate 
Tools, to generate Bean, DTO and Assembleur (which transform Bean to DTO and 
DTO to Bean)?

anonymous wrote : In Hibernate Tools these are called "Exporters"; we don't 
have a generic way of describing them but if someone wants to add it feel free 
;) 
Akrogen is not bulk generator. When you develop a new CRUD Form, you want 
generate ONLY components for this form (just the ActionForm for instance, 
because others developpers has for instance already developped another 
components that you don't want generate), sometimes, you want update name of 
your CRUD form, sometimes you want update others parameters. Hibernate Tools is 
bulk generator, Akrogen is not bulk generator. It generate ONLY the component 
for a XML model that you need.

If you take the functionnality Source/Generate getter/setter in the Eclipse, 
you can checked the getter/setter that you want generate and not all the 
getter/setter of your class. Akrogen have the same goal.

Regards Angelo

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

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


[jboss-user] [JBoss Seam] - Seam cannot find my components

2006-12-20 Thread jdaggs
At first you may be thinking that I forget to put my seam.properties file in 
the right place.  I wish it was that simple.  However. I did look in my 
server.log and found the following snippet:

006-12-20 17:17:38,312 DEBUG [org.jboss.seam.deployment.ComponentScanner] found 
component class: seam-test-ejb.jar/com/rms/beans/UserActionBean.class
2006-12-20 17:17:38,328 DEBUG [org.jboss.seam.deployment.ComponentScanner] 
could not load class: seam-test-ejb.jar.com.rms.beans.UserActionBean
java.lang.ClassNotFoundException: seam-test-ejb.jar.com.rms.beans.UserActionBean
at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1355)
at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1201)
at 
org.jboss.seam.deployment.ComponentScanner.handleItem(ComponentScanner.java:61)
at org.jboss.seam.deployment.Scanner.handleDirectory(Scanner.java:131)
at org.jboss.seam.deployment.Scanner.handleDirectory(Scanner.java:127)
at org.jboss.seam.deployment.Scanner.handleDirectory(Scanner.java:127)
at org.jboss.seam.deployment.Scanner.handleDirectory(Scanner.java:127)
at org.jboss.seam.deployment.Scanner.handleDirectory(Scanner.java:127)
at org.jboss.seam.deployment.Scanner.scan(Scanner.java:90)
at 
org.jboss.seam.deployment.ComponentScanner.getClasses(ComponentScanner.java:41)
at 
org.jboss.seam.init.Initialization.scanForComponents(Initialization.java:440)
at org.jboss.seam.init.Initialization.init(Initialization.java:426)
at 
org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:33)
at 
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3763)
at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4211)
at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
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.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
at 
org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at 
org.apache.catalina.core.StandardContext.init(StandardContext.java:5052)
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.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
at 
org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at 
org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:297)
at 
org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:103)
at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371)
at org.jboss.web.WebModule.startModule(WebModule.java:83)
at org.jboss.web.WebModule.startService(WebModule.java:61)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
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.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.inv

[jboss-user] [Security & JAAS/JBoss] - Re: JBOSS, JAAS and MDB

2006-12-20 Thread russray
The issue is solved.  the problem was in the the jndi name was incorrect so the 
MDB could not use the default users.  this was in the login-config.xml file

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

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


[jboss-user] [Installation, Configuration & Deployment] - webconsole applet

2006-12-20 Thread christian.onweb87
hello,

I've installed JBOSS 4.0.5GA on a linux box with a jdk 1.5, and all works fine 
when I run the server with run.sh.

But, when I want to access on the webconsole with a browser (IE on a different 
computer or FireFox with the appropriate java plugin), the java applet for the 
menu does not appear ( no error log on the java console, the trace is only: 
/web-console/ServerInfo.jsp)
 
So, I don't understand the problem : is there anybody who have meet the same 
problem ?

Thanks.

   Chris

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

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


[jboss-user] [JBoss Seam] - Re: Seam And ICEFaces menubar

2006-12-20 Thread david.alves
Hi, I've tryied a lot of combinations (method names etc) a still no luck.
I allways clean everithing before rebuild (my ant script does that when i 
select the deploy target)

So... any suggestions?

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

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


[jboss-user] [Installation, Configuration & Deployment] - Save/Roll server.log

2006-12-20 Thread hunk
I need to automate the saving/rolling of server.log while rebooting or bouncing 
JBOSS . How to achieve this coz when we reboot JBOSS twice a day and a new 
server.log is created which wipes out the old server.log and we currently have 
three instances of JBOSS in our environment. 

thanks,
hunki

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

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


[jboss-user] [JBoss Seam] - Re: Seam And ICEFaces menubar

2006-12-20 Thread david.alves
btw, there is an error in my xhtml page the EJB call is actually 
mainMenu.getMainMenu (that was only one of the other things I tryed)

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

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


[jboss-user] [JBoss Seam] - facet name="beforeInvalidField" - Image appears before only

2006-12-20 Thread seamNoobie




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

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


[jboss-user] [JBoss Seam] - Re: facet name=

2006-12-20 Thread seamNoobie
"seamNoobie" wrote :
  | 
  | 

Subject line gets trimmed.

Problem was that the Image only appears before only ONE of the validation 
errors wheras aroundInvalidField happens to ALL the invalid fields.






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

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


[jboss-user] [JBoss Portal] - Re: Seam Portlet in Jboss Portal

2006-12-20 Thread Shinerella
Am I missing something? My Jboss portal seems to work fine, as I have 
downloaded some portlets and they worked straight away,  and on the other hand 
I have other seam applications running on the same jboss AS perfectly. But...  
this is the first time I try to make a seam app run as a portlet on my Jboss 
Portal.

Regards,

Carolina





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

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


[jboss-user] [JBoss Portal] - Seam Portlet in Jboss Portal

2006-12-20 Thread Shinerella
I'm trying to make just a small seam app and get it working as a portlet

Currently I have 
jboss-seam 1.0 GA
jboss portal 2.4 and 
AS jboss_4.0.5GA


Just to start testing if this works I made a sportlet.war as follows

WEB-INF 
META-INF
main.xhtml

Into the WEB-INF directory the following conf files and libs can be found

- web.xml, sportlet-object.xml, portlet.xml, jboss.web.xml, jboss-portlet.xml, 
jboss-app.xml, faces-config.xml, and components.xml


  | 
  | http://java.sun.com/xml/ns/j2ee";
  |  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  |  xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee 
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";>
  | 
  | 
  | 
  |  
  | 
  | 
  | 
  | org.apache.myfaces.ALLOW_JAVASCRIPT
  | true
  | 
  | 
  | 
  | org.apache.myfaces.DETECT_JAVASCRIPT
  | false
  | 
  | 
  | 
  | org.apache.myfaces.PRETTY_HTML
  | true
  | 
  | 
  | 
  | org.apache.myfaces.AUTO_SCROLL
  | true
  | 
  | 
  | 
  | 
  | extensionsFilter
  | 
org.apache.myfaces.component.html.util.ExtensionsFilter
  | 
  | uploadMaxFileSize
  | 100m
  | 
  | 
  | uploadThresholdSize
  | 100k
  | 
  | 
  | 
  |  
  |
  | 
  | org.jboss.seam.servlet.SeamListener
  | 
  | 
  | 
  | 
  | 
  | Seam Redirect Filter
  | 
org.jboss.seam.servlet.SeamRedirectFilter
  | 
  | 
  | 
  | Seam Redirect Filter
  | *.seam
  | 
  | 
  | 
  | Seam Redirect Filter
  | *.xhtml
  | 
  | 
  | 
  | 
  | 
  | javax.faces.STATE_SAVING_METHOD
  | client
  | 
  | 
  | 
  | javax.faces.DEFAULT_SUFFIX
  | .xhtml
  | 
  | 
  | 
  | facelets.DEVELOPMENT
  | true
  | 
  | 
  | 
  | Faces Servlet
  | javax.faces.webapp.FacesServlet
  | 1
  | 
  | 
  |  
  |
  | Faces Servlet
  | *.seam
  | 
  | 
  | 
  | Faces Servlet
  | *.xhtml
  | 
  |
  | 
  | 
  | 

components.xml 




  | 
  |
  | true
  | false
  | sportlet/#{ejbName}/local
  | 
  | 
  | 
  | 
  | 
  | 
  | 

portlet.xml


  | 
  | http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd";
  |   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  |   
xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd 
/opt/SUNWps/dtd/portlet.xsd"
  |   version="1.0">
  |
  |   SPortlet
  |   
  |  default-view
  |  /main.xhtml
  |   
  |   
org.apache.myfaces.portlet.MyFacesGenericPortlet
  |   
  |  text/html
  |  VIEW
  |   
  |   
  |  SPortlet
  |   
  |
  | 
  | 

etc...

In my lib directory into WEB-INF I just included :

  - my sportlet.jar with seam.properties file and the my java classes
  - jboss-seam.jar 
  - jboss-seam-ui.jar

facelets libs:
  - el-ri.jar
  - el-api.jar
  - jsf-facelets.jar

The thing is that I get the following errors, when deploying this app to my 
jboss AS

20:51:10,418 ERROR [[/sportlet]] StandardWrapper.Throwable
java.lang.IllegalStateException: No Factories configured for this Application. 
This happens if the faces-initialization does not work at all - make sure that 
you properly include all configuration settings necessary for a basic faces 
application and that all the necessary libs are included. Also check the 
logging output of your web application and your container for any exceptions!
If you did that and find nothing, the mistake might be due to the fact that you 
use some special web-containers which do not support registering 
context-listeners via TLD files and a context listener is not setup in your 
web.xml.
A typical config looks like this;

  
org.apache.myfaces.webapp.StartupServletContextListener


at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:90)
at javax.faces.webapp.FacesServlet.init(FacesServlet.java:88)
at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
at 
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
at 
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3951)
at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4225)
at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
at sun.reflect.NativeMethodAccessorImpl.

[jboss-user] [JBoss Eclipse IDE (users)] - Re: How contribute to Freemarker plugin and add my Plugin ec

2006-12-20 Thread [EMAIL PROTECTED]
"azerr" wrote : Hi max,
  | thank you for you answer. I will send you my Freemarker Plugin updated and 
I will explain you new features that I added.
  | 

Please send a *patch* and not just an updated plugin.

anonymous wrote : 
  | For Akrogen, I'm agree with you, at first you believe Akrogen is the same 
thing that hibernate tool, because it can generate Bean although Hibernate tool 
generate it.
  | 
  | But Akrogen can generate any component of Web Application, like DAO, 
Service, Action Struts, JSP. With Hibernate mapping you can generate XML 
PageConfig (XML Akrogen description  for describe a form (CRUD form, list 
form,...).
  | 

Hibernate tools can also generate different artifacts; nothing special about 
that.

anonymous wrote : 
  | It exist's a lot of Generator Plugin which generate code, BUT just for one 
technology and architecture (ex : EclipseWork which generate components just 
for Web Work). With Akrogen, I would like give several default template for My 
Architecture that I use (Service/DAO with Spring and Hibernate and Struts). But 
I want add wizzard to add easily your own template, because each project and 
people use their own architetecture.
  | 

ditto for Hibernate Tools.

anonymous wrote : 
  | With Akrogen, you could generate components for PHP project.
  | XML is the model of your template (XSL or freemarker), so you could use for 
instance WSDL XML model to generate other components, or XMI,...
  | 
  | XML Akrogen component is the XML description for the component that you 
want generate (description, title, input parameters, template to use,...). Once 
you have create an XML component, you can register it to use with Wizard 
Eclipse.
  | 

In Hibernate Tools these are called "Exporters"; we don't have a generic way of 
describing them but if someone wants to add it feel free ;)



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

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


[jboss-user] [JBoss Seam] - Re: Seam & Maven2

2006-12-20 Thread mzeijen
The next thing we need to do is create a dependency graph . This graph can tell 
us on which libraries Seam is directly depended upon.

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

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


[jboss-user] [JBoss Seam] - Re: Seam & Maven2

2006-12-20 Thread mzeijen
I believe we have a very complete list for Seam 1.1.0 GA now. I am only not so 
sure about the  jboss-ejb3-all.jar part, because somewhere in the middle of 
checking it I lost my overview. 

@petemuir: thx for creating that initial list. It really helped :D.

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

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


[jboss-user] [EJB/JBoss] - Re: Unit Testing Practices

2006-12-20 Thread jantzen
Hi Gommo and Tarantula,

I'm glad you guys got something working with Embedded JBoss.  I guess I'll take 
a another stab at that approach.  How are you bundling and running the tests 
with your application?  In other words, where does Embedded JBoss live compared 
to the real server, and how do your unit tests find it?

Ideally, I'd have Embedded JBoss bundled in with my application so developers 
could check the whole project out of source control and be able to run the 
tests, but with 20+ jars that seems unwieldy.  Also, are you running the TestNG 
units from Eclipse?  I was unable to load configuration files for the embedded 
server while running JUnits from Eclipse, so if you have any suggestions there 
I'd appreciate it.

Thanks!

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

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


[jboss-user] [JBoss Eclipse IDE (users)] - Re: How contribute to Freemarker plugin and add my Plugin ec

2006-12-20 Thread azerr
Hi max,
thank you for you answer. I will send you my Freemarker Plugin updated and I 
will explain you new features that I added.

For Akrogen, I'm agree with you, at first you believe Akrogen is the same thing 
that hibernate tool, because it can generate Bean although Hibernate tool 
generate it.

But Akrogen can generate any component of Web Application, like DAO, Service, 
Action Struts, JSP. With Hibernate mapping you can generate XML PageConfig (XML 
Akrogen description  for describe a form (CRUD form, list form,...).

It exist's a lot of Generator Plugin which generate code, BUT just for one 
technology and architecture (ex : EclipseWork which generate components just 
for Web Work). With Akrogen, I would like give several default template for My 
Architecture that I use (Service/DAO with Spring and Hibernate and Struts). But 
I want add wizzard to add easily your own template, because each project and 
people use their own architetecture.

With Akrogen, you could generate components for PHP project.
XML is the model of your template (XSL or freemarker), so you could use for 
instance WSDL XML model to generate other components, or XMI,...

XML Akrogen component is the XML description for the component that you want 
generate (description, title, input parameters, template to use,...). Once you 
have create an XML component, you can register it to use with Wizard Eclipse.

If you have another questions, tell me.

Angelo

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

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


[jboss-user] [JBoss Seam] - aliases in components.xml on per page basis

2006-12-20 Thread dajevtic
Hi, there!

  | 
  | 
  | 
  | 
is a great way to create aliases, but is it possible to do this on a per page 
basis?
Meaning, can I have an alias of user being #{actor} on one page, #{father} on 
another and #{alien} on a third, etc.?

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

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


[jboss-user] [JCA/JBoss] - Re: JCA as a UDP interface (design query)

2006-12-20 Thread [EMAIL PROTECTED]
Sounds reasonable. I am sure there are a variety of UDP based communication 
frameworks that can probably be used a starting point and then put in a JCA 
wrapper, or you could just build from the ground up. 

anonymous wrote : 
  | If there is a better (simpler) alternative then I'd really like to hear 
about it. 
  | 

Note, don't immediately think of JCA as complex or hard in and of itself. Some 
of the communication patterns you see on projects like this (ie UDP, SNMP etc) 
will be addressed in the JCA 2.0 spec. For now, I'd say you have a pretty solid 
plan. 



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

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


[jboss-user] [JBossCache] - Re: Tutorial not working

2006-12-20 Thread vs007
Thanks Manik!

We had met in JBoss World along with Bela. Will send you email separately.

- VS007

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

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


[jboss-user] [JBoss Seam] - Re: Seam & Maven2

2006-12-20 Thread mzeijen
Working on it right now ;).

If you look at the dependency list in the wiki then you can see that it has 
grown a lot.

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

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


[jboss-user] [JBoss Seam] - ASync calls stays in JBoss queue after restart

2006-12-20 Thread m_hess
Hi,



What I basically have, is just a test bean, with an ASynchronous method:


  | @Local
  | public interface AsyncTest {
  | 
  | @Asynchronous
  | public void runAsync(@Expiration Date firstCall, @IntervalDuration long 
interval);
  | 
  | }
  | 

This works fine so far. Meaning I can set a firstCall date, and an milisecond 
interval, so that runAsync() is called e.g. every five seconds after a initial 
1 minute delay.

Problem is, that this "Timer" (or whatever is created in the background) stays 
there for good. If I shut down JBoss and restart it, somewhere in the startup 
this timer-api seems to kick in again, and I get messages like this:


  | 21:10:45,223 ERROR [TimerImpl] Error invoking ejbTimeout: 
java.lang.RuntimeException: java.lang.IllegalStateException: Attempted to 
invoke a Seam component outside the context of a web application
  | 

And after my applications ear has been deployed, it changes to 

  | 21:18:05,032 ERROR [TimerImpl] Error invoking ejbTimeout: 
javax.ejb.EJBException: org.jboss.seam.InstantiationException: Could not 
instantiate Seam component: asyncTest
  | 

But note(!): A new "timer" is also created by the fresh startup, so my log also 
shows the test debug message I put in the implementation of runAsync(). So this 
gets worse with every startup that also deploys my application. So far the only 
way I found to get rid of this, is to delete the JBoss internal Hypersonic 
database in 

jboss-4.0.5.GA/server/default/data/hypersonic

but I believe that there must be a better way to deal with this.

I think my issue is related to the "persistent" Timers that JBoss provides, so 
I guess the Jboss AS forum is the place to look for help. But maybe I can fix 
this with some simple line in the "@Destroy/@Remove" methods?

Thanks for insights any of you can give.

bye, Michael

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

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


[jboss-user] [JBossWS] - Re: wstools ignoring ??

2006-12-20 Thread ajay662
Forgot to mention. My development environment is

jboss 4.0.5
jbossws-1.0.4.GA

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

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


[jboss-user] [JBossWS] - wstools ignoring ??

2006-12-20 Thread ajay662
In my wsdl there is a choice element somewhere. I am using wstools to generate 
the java classes from my wsdl, but wstools seems to be ignoring the 
"xsd:choice" element.

Below are snippets from my wsdl and corresponding generated java classes:

WSDL
   
  | 
  |  
  
  | 
  | 
  |   
   
  | 
  |   
  
  | 
  | 
  | 
  | 

The generated java class

/*
  |  * JBossWS WS-Tools Generated Source
  |  *
  |  * Generation Date: Wed Dec 20 15:18:01 EST 2006
  |  *
  |  * This generated source code represents a derivative work of the input to
  |  * the generator that produced it. Consult the input for the copyright and
  |  * terms of use that apply to this source code.
  |  */
  | 
  | package com.covergence.enms.ws.templates;
  | 
  | 
  | public class  Parameter
  | {
  | 
  | protected java.lang.String name;
  | public Parameter(){}
  | 
  | public Parameter(java.lang.String name){
  | this.name=name;
  | }
  | public java.lang.String getName() { return name ;}
  | 
  | public void setName(java.lang.String name){ this.name=name; }
  | 
  | }


Even though jaxrpc-bindings file look ok

  |   com.covergence.enms.ws.templates.Parameter
  |   typeNS:Parameter
  |   complexType
  |   
  |name
  |name
  |   
  |   
  |scalarValue
  |scalarValue
  |   
  |   
  |arrayValue
  |arrayValue
  |   
  |  

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

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


[jboss-user] [JBoss Seam] - Re: Trinidad PPR/Ajax and Seam

2006-12-20 Thread dajevtic
Hi Chane,
we used Seam and Trinidad in several of our POCs. No production applications 
yet, though.
I remember that we had to incorporate an additional phase listener along with 
an action listener configured in faces-config when using the dialog framework 
of Trinidad / ADF, because the conversation id was not propagated to the 
dialog. 
Otherwise, there are no known incompatibility issues.
We even use AJAX4JSF to "ajaxify" non-ajax components.

Here is the code to get dialogs of trinidad to work w/ seam:
PhaseListener:

  | private static final String CONVERSATION_ID_SESSION_PARAMETER = 
"conversationId";
  | 
  | private Map createParameterMapForConversationRestore(String 
conversationId) {
  | Map paramterMap = new Hashtable();
  | paramterMap.put(CONVERSATION_ID_SESSION_PARAMETER, 
conversationId);
  | return paramterMap;
  | }
  | 
  | private void restoreConversation(Context context) {
  | if (context.isSet(CONVERSATION_ID_SESSION_PARAMETER)) {
  | String convId = 
context.get(CONVERSATION_ID_SESSION_PARAMETER).toString();
  | 
Manager.instance().restoreConversation(createParameterMapForConversationRestore(convId));
  | context.remove(CONVERSATION_ID_SESSION_PARAMETER);  

  | }
  | }
  | 
  | public void afterPhase(PhaseEvent event) {
  | try {
  | if (event.getPhaseId().equals(PhaseId.RESTORE_VIEW)) {
  | UIViewRoot root = 
event.getFacesContext().getViewRoot();
  | if (root != null) {
  | String viewId = root.getViewId();
  | if ((viewId != null) && 
viewId.endsWith("_dlg.jspx")) {
  | 
restoreConversation(Contexts.getSessionContext());
  | }
  | }
  | } else {
  | log.info("after " + event.getPhaseId());
  | }
  | } catch (Exception e) {
  | log.error("Could not restore Seam conversation", e);
  | }
  | }
  | 

Here is the code for the action listener:

  | public void processAction(ActionEvent actionEvent)
  | throws AbortProcessingException {
  | 
  | if (actionEvent.getComponent() instanceof CoreCommandLink) {
  | CoreCommandLink link = 
(CoreCommandLink)actionEvent.getComponent();
  | if (link.isUseWindow()) {
  | 
Contexts.getSessionContext().set("conversationId", 
Manager.instance().getCurrentConversationId());
  | }
  | }
  | super.processAction(actionEvent);
  | }
  | 
The example above assumes that popup dialogs end with a _dlg.jspx extensions, 
which you may alter to your desire.

Please remember, those were quick and dirty hacks in order to get conversations 
working with Trinidad.
This issue may have already been resolved, and if not there might be far better 
solutions.

Hope it helps.

Kind regareds,
dj

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

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


[jboss-user] [JBoss Seam] - Re: Seam & Maven2

2006-12-20 Thread mzeijen
Maybe we could write an Ant script that can convert the examples from the 
current structure to a Maven2 structure? 

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

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


[jboss-user] [JBoss Seam] - Re: Seam & Maven2

2006-12-20 Thread [EMAIL PROTECTED]
guys...let's just get the "use seam with maven" solved first, right ? :)

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

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


[jboss-user] [JBoss Seam] - Re: Seam And ICEFaces menubar

2006-12-20 Thread atzbert
It pretty much looks like a class loading / caching issue to me. I am fighting 
with these kind of problems so often...

just a cheap advice : triple check all your class folders and clean everything 
before rebuild...

:)

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

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


[jboss-user] [EJB 3.0] - Re: Wrong column type: expected: numeric(10, 0)

2006-12-20 Thread jdijkmeijer
Ok I can add scale to my generated code. But even upon deployment I get the 
same errorc (expected numeric 10,2). I think that jboss is falling on:
mysql implementing numerics as decimal. (desc table shows detail, and createdb 
script shows numerics).
I think I'am missing a few settings checked dialect though.

(mysql 5.02, jboss 4.0.5GA seam1.1GA, winxp sp2).
regards,
Jeroen.

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

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


[jboss-user] [JBoss Seam] - Re: Deployed ear file generated with seam-gen

2006-12-20 Thread hvram
Hi
  I get this error whne I am runnin 1.1 CR2 with the Sun JSF 1.2 RI . I am also 
using the classes generated using seam-gen

Regards
Hari

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

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


[jboss-user] [JBoss Seam] - Re: Seam & Maven2

2006-12-20 Thread fabricio.lemos
It would be better, for maven users, to have seam examples with the maven file 
structure instead of the current one.

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

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


[jboss-user] [JBoss Seam] - Re: Seam & Maven2

2006-12-20 Thread ccanning
Would you like for us to try to get the current file structure to work with 
maven?

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

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


[jboss-user] [JBoss Seam] - Seam explicit conversationId

2006-12-20 Thread pdpantages
I am Using Seam 1.0.1GA, ajax4jsf 1.0.2, Jboss 4.0.4.GA 

Hello Forum, 

I have tried to use the "explicit conversationId" feature but am a bit puzzled 
by the behaviour. 

Section 3.6 of the Seam 1.0.1GA reference seems to state that if the "explicit" 
conversation already exists, Seam will decline to begin a new converstion and 
will simply  re-direct to the existing one. This is what I want to do.

But, if I try something like
@Begin(id="myConvId")
and  execute the annotated method from a LR conversation, I get the familiar 
exception, explaining that I am already in a LRC and need to use join=true. 
Note that the LR conversation is not the one identified by "myConvId". 

This seems to contradict the documentation, or am I mis-reading something. ? If 
I put join=true, I would expect to stay with the LRC and not redirect to 
"myConvId", no?

Thank you for your help, PdP


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

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


[jboss-user] [JBoss Messaging] - Re: Two errors on startup

2006-12-20 Thread Docjowles
One note: the SecurityConfig stuff isn't commented out in bzzPublishingTopic. 
That's left over from me experimenting, shouldn't have pasted that in here.

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

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


[jboss-user] [EJB/JBoss] - Re: What's the default transaction attribute (trans-attribut

2006-12-20 Thread wikijuarezjunior
Hello there,

Just as a future reference, I'd like to inform that I performed tests here and 
as far as I concluded the default is still REQUIRED. 

Note that there's a gap on the specs regarding that and it may be different for 
other application servers.

Best Regards,

Juarez 

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

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


[jboss-user] [EJB/JBoss] - Re: What's the default transaction attribute (trans-attribut

2006-12-20 Thread wikijuarezjunior
Hello there,

Just as a future reference, I'd like to inform that I performed tests here and 
as far as I concluded the default is still REQUIRED. 

Note that there's a gap on the specs regarding that and it may be different for 
other application servers.

Best Regards,

Juarez 

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

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


[jboss-user] [JBoss Messaging] - Two errors on startup

2006-12-20 Thread Docjowles
I'm attempting to work with a JBoss Messaging set up a previous employee put in 
place. It's displaying two errors on start up, and not being much of a JBoss 
expert, I am completely stumped. Googleing and searching on these forums didn't 
provide much guidance, here's hoping someone is able to help.

The server is running Linux, and Java 1.5.0_08. We're using JBoss 4.0.3SP1, and 
JBoss Messaging 1.0.1.CR2. The backend is a Postgres database. All of this was 
previously working; something broke and I'm trying to figure out what.

Here's the (lengthy) complete output of JBoss at startup.


  | =
  | 
  |   JBoss Bootstrap Environment
  | 
  |   JBOSS_HOME: /home/bzzagent/jboss
  | 
  |   JAVA: /usr/local/java//bin/java
  | 
  |   JAVA_OPTS: -server -Xms512m -Xmx512m -Dprogram.name=run.sh
  | 
  |   CLASSPATH: /home/bzzagent/jboss/bin/run.jar:/usr/local/java//lib/tools.jar
  | 
  | =
  | 
  | 14:21:43,564 INFO  [Server] Starting JBoss (MX MicroKernel)...
  | 14:21:43,565 INFO  [Server] Release ID: JBoss [Zion] 4.0.3SP1 (build: 
CVSTag=JBoss_4_0_3_SP1 date=200510231751)
  | 14:21:43,566 INFO  [Server] Home Dir: /home/bzzagent/jboss
  | 14:21:43,567 INFO  [Server] Home URL: file:/home/bzzagent/jboss/
  | 14:21:43,567 INFO  [Server] Patch URL: null
  | 14:21:43,568 INFO  [Server] Server Name: messaging
  | 14:21:43,568 INFO  [Server] Server Home Dir: 
/home/bzzagent/jboss/server/messaging
  | 14:21:43,568 INFO  [Server] Server Home URL: 
file:/home/bzzagent/jboss/server/messaging/
  | 14:21:43,568 INFO  [Server] Server Temp Dir: 
/home/bzzagent/jboss/server/messaging/tmp
  | 14:21:43,569 INFO  [Server] Root Deployment Filename: jboss-service.xml
  | 14:21:43,948 INFO  [ServerInfo] Java version: 1.5.0_08,Sun Microsystems Inc.
  | 14:21:43,951 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Server VM 
1.5.0_08-b03,Sun Microsystems Inc.
  | 14:21:43,951 INFO  [ServerInfo] OS-System: Linux 2.6.9-11.EL,i386
  | 14:21:44,857 INFO  [Server] Core system initialized
  | 14:21:46,193 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL: 
resource:log4j.xml
  | 14:21:55,481 INFO  [ServiceConfigurator] Problem configuring service 
jboss.messaging:service=ServerSocketFactory,type=SSL
  | java.lang.ClassNotFoundException: No ClassLoaders found for: 
org.jboss.remoting.security.SSLSocketBuilderMBean
  | at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:198)
  | at 
org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:475)
  | at 
org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:377)
  | at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
  | at 
org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:356)
  | at 
org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:442)
  | at 
org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:153)
  | at 
org.jboss.system.ServiceController.install(ServiceController.java:215)
  | 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.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.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
  | at $Proxy4.install(Unknown Source)
  | at org.jboss.deployment.SARDeployer.create(SARDeployer.java:232)
  | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:935)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:789)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753)
  | 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.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  | at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
  | at 
org.jboss.mx.interceptor.ModelMBeanOperat

[jboss-user] [Installation, Configuration & Deployment] - Re: Integrating Coldfusion (in J2EE configuration mode) with

2006-12-20 Thread binouch
I am running into this problem too - did anyone of you find a solution to it? 

Thanks .

Ben 

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

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


[jboss-user] [JBoss Seam] - Re: Bean: org.hibernate.collection.PersistentSet, property:

2006-12-20 Thread hvram
Hi
  I checked the code and the properties are ArrayLists. 

   As I said I just used seam-gen to generate the code and added an extra 
relationship in the table . 

   I then changed the view to additionally display the sub table and pass the 
key as a request parameter

Thanks

Regards
Hari

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

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


[jboss-user] [JBoss Seam] - Re: Seam & Maven2

2006-12-20 Thread mzeijen
It is a PDF file so you need a laptop or a PDA ;-). But trust me, within the 
hour you know the most important parts of Maven2. Ok, maybe 2 hours ;-).

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

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


[jboss-user] [JBoss jBPM] - Re: HOW to create new node types ???

2006-12-20 Thread juangiovanolli
is it possible create new nodes extending , for example, 
org.jbpm.graph.def.node??

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

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


[jboss-user] [JBoss Seam] - Re: Seam & Maven2

2006-12-20 Thread [EMAIL PROTECTED]
Yeah, just after I get through the first chapter of that Rails book a bought 6 
months ago ;-)

Are you saying I need to take a Maven book with me on vacation :-)

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

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


[jboss-user] [JBoss Seam] - Re: Hibernate SessionFactory in Seam App?

2006-12-20 Thread [EMAIL PROTECTED]
Or you can wrap the SeamServletFilter around it, and get access to your Seam 
contexts.

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

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


[jboss-user] [JBoss Seam] - Re: Seam & Maven2

2006-12-20 Thread mzeijen
@Gavin: If you have an hour of time then you should read the first part of that 
book that I recommended. It is really interesting and helps you in 
understanding Maven2.

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

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


[jboss-user] [JBoss Seam] - Trinidad PPR/Ajax and Seam

2006-12-20 Thread chane
I am using Seam for a project and am about to start incorporating a component 
framework like Trinidad into the project (Trinidad has some components that 
ICEFaces doesn't, specifically - TreeTable).  I particularly want to take 
advantage of Trinidads Partial Page Rendering (Ajax).

I have been reading the Seam forums and it looks like there was some glue code 
that needed to be written to get other libraries (e.g., ICEFaces) to work with 
the Seam.

Does anyone know if Trinidad needs similar integration work?

http://www.jboss.com/index.html?module=bb&op=viewtopic&t=94822
anonymous wrote : 
  | "For most libraries not much, but libraries that do Ajax need some added-on 
lifecycle stuff that sometimes conflicts with Seam's phase listeners. Once that 
stuff gets standardized in the next rev of JSF there will be no problem, but 
for now it generally means a little bit of work on both sides to fix any 
incompatibility. Seam 1.1 beta 2 is much more tolerant of Ajax libraries, in 
this respect."

Thanks,
Chris

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

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


[jboss-user] [JBoss Seam] - Re: Hibernate SessionFactory in Seam App?

2006-12-20 Thread PatrickMadden
I'm sorry, I should have been more clear.

Its a servlet that extends javax.servlet.http.HttpServlet

When a user registers with our site we send a confirmation email to them with a 
return url containing some encrypted information. When they click on that link 
my "custom servlet" gets called. We decrypt the id parameter to decipher the 
UserID and Password and then notify them that they are cleared to use the site.

So inside my HttpServlet servlet, I'd like to access the database and make sure 
I'm doing it in a valid or legal way. So I guess your saying in this case it 
would be OK to access the SessionFactory the way I described?

Thanks again.

PVM

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

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


[jboss-user] [JBoss Seam] - Re: call session bean component method after application dep

2006-12-20 Thread [EMAIL PROTECTED]
Use components.xml:

http://docs.jboss.com/seam/1.1GA/reference/en/html/xml.html

By the way, it is bad style in Seam to just throw Strings in the application 
context. Instead create an application-scope Seam component, for example, 
MyConfiguration, and configure its attributes using seam.properties and 
components.xml.

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

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


[jboss-user] [JBoss Seam] - Re: Seam & Maven2

2006-12-20 Thread [EMAIL PROTECTED]
OK, cool. 

A first step on (5) would be to try to retrospectively apply the unified maven 
build to the Seam examples directory. I think it would be perfectly reasonable 
to use Ant for building Seam, and maven for building the examples.

Again, assuming that Maven actually makes things simpler and not more complex - 
which I'm withholding judgment on for now :-)

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

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


[jboss-user] [JBoss Seam] - Re: Bean: org.hibernate.collection.PersistentSet, property:

2006-12-20 Thread hstang
Ahh, that makes sense.

Thanks Gavin.


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

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


[jboss-user] [JBoss Seam] - Re: Hibernate SessionFactory in Seam App?

2006-12-20 Thread [EMAIL PROTECTED]
What is a "custom servlet"?

You can create Hibernate SessionFactorys anyway you like, but why not use a 
Seam-managed persistence context? Then you can do @In Session mySession, and 
get a conversation-scoped PC. Check the exmaples/hibernate2 example.

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

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


[jboss-user] [JBoss Seam] - Re: Seam & Maven2

2006-12-20 Thread [EMAIL PROTECTED]
It depends how much time you have to put into this. I'd love to see a mavenized 
build of the Seam dist, assuming it made the build simpler, and not more 
complex. But this could turn out to be a pretty major undertaking. I would much 
rather see *something* useful come out of this process, than see you guys give 
up due to lack of time

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

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


[jboss-user] [JBoss Seam] - Re: Seam & Maven2

2006-12-20 Thread mzeijen
I must agree with max. My plan is as following: 

1. Get both releases, with dependencies, in the official repositories. This way 
it is very simple for users to create their own Maven2 projects with Seam in 
the dependency list without having to worry about Seam its dependencies.

2. Find out how we can make it easy for the users to cope with those annoying 
javax.{library} libraries that aren't allowed in public Maven2 repositories 
because of their license.

3. Create archetypes for Seam. An archetype is a project template from which 
you can generate the main parts of a Maven2 project. It is a bit like the Seam 
generator, but  simpler. It only creates a file structure, it doesn't reverse 
engineer a database. But maybe I can create a Maven2 plugin to do that some day 
;).

4. Create some nice tutorials how to handle a Seam with Maven2 project. It will 
contain the basics but also stuff like how to make the combination work with 
Eclipse and have nice stuff like hot-swap with JBoss in development time.

5. Like Max says: having "fun" with trying to "bend" either seam buildstructure 
or Maven to be compatible. This means that you get the full power of Maven2 for 
developing Seam itself.

6. The most difficult part: Getting Gavin so far that he will switch to Maven2 
;).

But we first need to do number 1. And every help is appreciated. 

@Gavin: I saw your post during the writing of this post. As you can see my main 
focus is creating something that will be useful too the users and make their 
lives easier. 

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

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


[jboss-user] [JBossCache] - Re: Cache, missing entries

2006-12-20 Thread [EMAIL PROTECTED]
Questions:
 
1) Are Tx[1] and Tx[2] running in the same cache, or in 2 different caches that 
replicate?
2) Please describe in terms of JBC API and java.util.Map calls exactly what is 
happening in steps 1 - 5.
 
I expect Tx[1] and Tx[2] are not making modifications to the same underlying 
map.


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

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


[jboss-user] [JBoss jBPM] - Current Process State and ProcessImageTag

2006-12-20 Thread kazam
Hi ,

I am working on spring portlet application where it is required to know the 
current process state. 

I searched the forums and looked at the ProcessImageTag.java class. I think 
that methods of help for finding current node are initialize() and walkTokens() 
however, I am not sure as to how should I set the value of 


taskInstanceId
tokenInstanceId 


Also, is anyone aware of any utility which would enable me to draw a customised 
process diagram, like jgraph [however, they don't consider flow chart like 
graphs as graphs :) ]

Please, provide some direction into this, and I will put up a note on the wiki 
for how I did that.


Thanks, Kazam

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

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


[jboss-user] [JBoss Seam] - Re: Bean: org.hibernate.collection.PersistentSet, property:

2006-12-20 Thread [EMAIL PROTECTED]
The indexing operator is for Maps and Lists, not Sets.

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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: Jboss platform

2006-12-20 Thread [EMAIL PROTECTED]
It really depends on the application you want to deploy, so you must do your 
own tests to be certain.

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

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


[jboss-user] [News & Announcements] - JBoss Messaging 1.2.0.Beta1 Released

2006-12-20 Thread [EMAIL PROTECTED]
JBoss Messaging 1.2.0.Beta1 has been released and it is available for download 
on jboss.org (http://labs.jboss.com/portal/jbossmessaging/downloads) and 
sourceforge 
(http://sourceforge.net/project/showfiles.php?group_id=22866&package_id=157261).

This release builds in top of the clustering functionality already existing in 
1.2.0.Alpha2 by adding the last major piece of functionality, high availability 
with transparent failover.

The release ships with an example (which also doubles as smoke test) that 
demonstrates the transparent failover capabilities. A vanilla JMS client 
creates a connection to the JMS provider and sends message over that 
connection. Separately, we kill the cluster node managing the connection (using 
System.halt(), to simulate an abrupt VM failure), but the event goes unnoticed 
by the client, which continues to send and receive messages over the same 
connection.

Obviously, the example requires a cluster of at least two nodes in order to 
work.

Other additions: fully tested HTTP transport support, improved testing 
framework to support automated clustering testing, and overall strengthening of 
the clustering code.

As with any Beta release, our advice is to handle the code with care, 
insufficiently probed for bugs may still lurk. We're planning to follow up very 
quickly with a Beta2, for which the road map is available here: 
http://jira.jboss.org/jira/browse/JBMESSAGING?report=com.atlassian.jira.plugin.system.project:roadmap-panel.

Enjoy the new release and feed us back your comments!




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

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


[jboss-user] [JBoss Messaging] - JBoss Messaging 1.2.0.Beta1 Released

2006-12-20 Thread [EMAIL PROTECTED]
JBoss Messaging 1.2.0.Beta1 has been released and it is available for download 
on jboss.org (http://labs.jboss.com/portal/jbossmessaging/downloads) and 
sourceforge 
(http://sourceforge.net/project/showfiles.php?group_id=22866&package_id=157261).

This release builds in top of the clustering functionality already existing in 
1.2.0.Alpha2 by adding the last major piece of functionality, high availability 
with transparent failover.

The release ships with an example (which also doubles as smoke test) that 
demonstrates the transparent failover capabilities. A vanilla JMS client 
creates a connection to the JMS provider and sends message over that 
connection. Separately, we kill the cluster node managing the connection (using 
System.halt(), to simulate an abrupt VM failure), but the event goes unnoticed 
by the client, which continues to send and receive messages over the same 
connection.

Obviously, the example requires a cluster of at least two nodes in order to 
work.

Other additions: fully tested HTTP transport support, improved testing 
framework to support automated clustering testing, and overall strengthening of 
the clustering code.

As with any Beta release, our advice is to handle the code with care, 
insufficiently probed for bugs may still lurk. We're planning to follow up very 
quickly with a Beta2, for which the road map is available here: 
http://jira.jboss.org/jira/browse/JBMESSAGING?report=com.atlassian.jira.plugin.system.project:roadmap-panel.

Enjoy the new release and feed us back your comments!




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

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


[jboss-user] [JBoss Seam] - Re: Bean: org.hibernate.collection.PersistentSet, property:

2006-12-20 Thread hstang
I also got this error a moment ago.

I also have a one-to-many relationship.  

It happens during redirect after invoking an action.  The action code, however 
seems to load fine.

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

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


[jboss-user] [JBossWS] - Re: namespace for ComplexType from Java to WSDL

2006-12-20 Thread devnullinout
Any response will be appreciated.


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

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


[jboss-user] [JBoss Seam] - Re: Seam & Maven2

2006-12-20 Thread [EMAIL PROTECTED]
I would recommend you start out doing the POM for something that can be used by 
*users* of Seam.

Then afterwards we can begin having "fun" with trying to "bend" either seam 
buildstructure or Maven to be compatible.

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

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


[jboss-user] [JBoss Seam] - Re: Seam & Maven2

2006-12-20 Thread ccanning
I think we are going to try to do both.

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

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


[jboss-user] [JBoss Seam] - Bean: org.hibernate.collection.PersistentSet, property: 0

2006-12-20 Thread hvram
Hi
   I have a OneToMany relationship . When i try to access a value in the 
secondary table using an EL as follows

#{usersHome.instance.refUserses[0].id} 

I get an error as follows
javax.el.ELException: /Users.xhtml: Bean: 
org.hibernate.collection.PersistentSet, property: 0

I used seam-gen to generate the code and modified the xhtml to add the above 
reference.

Can somebody point me what I am doing wrong 

I am running Seam 1.1 CR2

Regards
Hari

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

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


[jboss-user] [Installation, Configuration & Deployment] - Jboss platform

2006-12-20 Thread maxd
Hi All,
For a new project I have to  suggest a light Java platform.
Mi idea was "naturally" JBOSS over Red Hat Linux.

But I need to know the possible performance with simultaneous user:
for example: How much RAM, disk space, Jboss AS node need for 100 user 
simultaneous? and for 1000 users?

Where I can find this statistic on Jboss Website, or something can help me to 
understand?

Thank you at all
Maxd


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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Remove item from CMR

2006-12-20 Thread dani-cas
This should be fairly easy, yet I am getting this exception when removing a 
item from a relation that is working fine.
I have the following code:

  | public boolean borrarProceso(Integer id, String tipo,  String userName){
  | 
  | InitialContext ic = null;
  | boolean encontro = false;
  | AbogadoBeanLocalHome home;
  | AdministrativoBeanLocal mover = null;;
  | try {
  | ic = new InitialContext();
  | home = (AbogadoBeanLocalHome) 
ic.lookup("AbogadoBeanLocal");
  | System.out.println("en cambiarAbogadoEnProceso obtengo 
interface home del old");
  | AbogadoBeanLocal abog = home.findByPrimaryKey(userName);
  | Collection administrativos = 
abog.getProcesosAdministrativos();
  | 
  | //Collection administrativosP =  new ArrayList();
  | //Quiro el proceso que quiero
  | Iterator it = administrativos.iterator();
  | System.out.println("tengo procesos: 
"+administrativos.size());
  | while(it.hasNext()){
  | AdministrativoBeanLocal proc = 
(AdministrativoBeanLocal) it.next();
  | if(id.compareTo(proc.getId())!=0){
  | System.out.println("Proceso: 
"+proc.getId()+" estoy buscando el: "+id);
  | //guardo todos con id diff
  | //administrativosP.add(proc);
  | }else{
  | // HERE IS THE IMPORTANT STUFF
  | encontro = true;
  | //seleccion el unico con id y lo guardo
  | mover = (AdministrativoBeanLocal) proc;
  | administrativos.remove(mover);
  | mover.remove();
  | //ENDS HERE
  | }
  | 
  | }
  | if(encontro){
  | System.out.println("Ahora tengo uno menos: 
"+administrativos.size());
  | //Hago set de los nuevos procesos
  | abog.setProcesosAdministrativos(administrativos);
  | return true;
  | }else{
  | System.out.println("No encontro el proceso 
buscado");
  | return false;
  | }
  | }catch (NamingException e) {
  | // TODO Auto-generated catch block
  | e.printStackTrace();
  | return false;
  | } catch (FinderException e) {
  | // TODO Auto-generated catch block
  | e.printStackTrace();
  | return false;
  | } catch (EJBException e) {
  | // TODO Auto-generated catch block
  | e.printStackTrace();
  | }
  | System.out.println("Fallo borrado en centralbean");
  | return false;
  | 
  | }
  | 
In breaf I search for a bean, and try to remove it, but I cant seem to make it 
work, sometimes the method works, but when I try to do it agoin the following 
eception is thrown:

  | 12:48:49,531 ERROR [STDERR] java.rmi.ServerException: RuntimeException; 
nested exception is: 
  | java.lang.IllegalStateException: Underlying collection has been modified
  | 12:48:49,531 ERROR [STDERR] at 
org.jboss.ejb.plugins.LogInterceptor.handleException(LogInterceptor.java:421)
  | 12:48:49,531 ERROR [STDERR] at 
org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:209)
  | 12:48:49,531 ERROR [STDERR] at 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:136)
  | 12:48:49,531 ERROR [STDERR] at 
org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
  | 12:48:49,546 ERROR [STDERR] at 
org.jboss.ejb.Container.invoke(Container.java:954)
  | 12:48:49,546 ERROR [STDERR] at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 12:48:49,546 ERROR [STDERR] at 
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  | 12:48:49,546 ERROR [STDERR] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | 12:48:49,546 ERROR [STDERR] at 
java.lang.reflect.Method.invoke(Unknown Source)
  | 12:48:49,546 ERROR [STDERR] at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | 12:48:49,546 ERROR [STDERR] at 
org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | 12:48:49,546 ERROR [STDERR] at 
org.jboss.mx.server.Invocation.in

[jboss-user] [Clustering/JBoss] - Running JBoss with run -c all reboots Windows XP

2006-12-20 Thread pshankar
Running jboss with clustering option reboots Windows XP any clue.




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

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


[jboss-user] [JCA/JBoss] - Re: error regarding log4j

2006-12-20 Thread [EMAIL PROTECTED]
This has nothing to do with JCA. Notwithstanding your *urgent* needs, you would 
probably be better off posting this question to the correct forum. 



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

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


  1   2   3   >