[jboss-user] [EJB/JBoss] - Re: ejb application

2008-02-23 Thread jaikiran
Which version of JBoss and Java do you use? Post the entire exception 
stacktrace and the contents of your jboss.xml file. 

While posting, remember to wrap the contents in a code block using the Code 
button in the message editor window. 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4131607#4131607

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4131607
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Deployment of portlets - custom descriptors

2008-02-23 Thread PMN
The documentation does not tell what descriptors are optional and what 
descriptors are mandatory?

Descriptors is a solution to automating the deployment, the problem is that 
these are read and written to the database at every start of the server.

If descriptors are not mandatory then it could build a war to deploy/update and 
a war to run.  Could you tell what files are optional?

Thanks




View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4131612#4131612

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4131612
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Performance Tuning] - Re: performance tuning web-container in jboss

2008-02-23 Thread the666pack
hello peter,

thanks for your reply, so at the moment the first test includes just the call 
to a jsp which gives back the date. the database things should be coming later. 

my actual jvm settings are the following:

-XX:+DisableExplicitGC -server -Xms1024m -Xmx1024m -XX:PermSize=512m 
-XX:MaxPermSize=512m -Dsun.rmi.dgc.client.gcInterval=36 
-Dsun.rmi.dgc.server.gcInterval=360 -Djava.net.preferIPv4Stack=true

i am running the server on a 2gig ram machine. does it make any sense to set 
the values for the heap higher than the actual values? 

i also already tried some GC options for the jvm (-Xincgc) but there never seem 
to be any garbage collected...

thanks for looking and thanks for the link i will check it out.



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4131613#4131613

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4131613
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: HOW to change Locale in Program?

2008-02-23 Thread littleprince
I m facing the same problem. I have the difficulties of getting the session at 
portlet or LocaleInterceptor from httpSession.


i set the value at attribute of a servlet

  | public void doPost(HttpServletRequest req, HttpServletResponse resp)
  | throws ServletException, IOException {
  | try{
  |  req.getSession().setAttribute(value, value1);
  |  resp.sendRedirect();
  | }catch(Exception e){}
  | 
  | }
  | 

and i try to get the value from portlet by the code below and it fails to get 
the value also.


  | rRequest.getPortletSession(true).getAttribute(value, 
PortletSession.APPLICATION_SCOPE))
  | 

or at LocaleInterceptor, the below line also gave me error.

  | req.getContext().getClientRequest().getSession();
  | 

Anyone can advise me on this?
Thanks in advance.


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4131614#4131614

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4131614
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: jboss gravel

2008-02-23 Thread kukeltje
http://labs.jboss.com/gravel/

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4131617#4131617

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4131617
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: jboss jbpm developer guide

2008-02-23 Thread kukeltje
anonymous wrote : Is there any developer guide for jboss jbpm ? 

Developer guide as in how do I make changes to jBPM or how do I develop my own 
app with jBPM

For the former there is no docs, but starting to learn the code by analyzing 
iot or putting log4j in debug helps. For the latter there is de normal docs and 
the testcases (as examples) the wiki and posts in this forum

anonymous wrote : and so where I could read about jboss jbpm client API? partly 
in the normal docs. but mainly the api docs..

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4131618#4131618

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4131618
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - problem with transaction

2008-02-23 Thread mkalibek
Hello, I'm quite new to jBPM.

I wrote such part of code


  | JbpmConfiguration jbpmConfiguration = JbpmConfiguration.getInstance();
  | JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext();
  | try {
  | TaskInstance ti = 
jbpmContext.loadTaskInstanceForUpdate(taskID);
  | // do something
  | ti.end();
  | }
  | finally {
  | jbpmContext.close();
  | }
  | 

Here after task instance is finished, process instance must end.
As I understand, jbpmContext saves task instance and then process instance 
attempts to be saved to. But following error occurs:


  | 16:08:22,015 ERROR [EjbSchedulerService] 
javax.naming.NameNotFoundException: ejb not bound
  | 16:08:22,015 ERROR [GraphElement] action threw exception: ejb local timer 
lookup problem
  | org.jbpm.JbpmException: ejb local timer lookup problem
  | at 
org.jbpm.scheduler.ejbtimer.EjbSchedulerService.init(EjbSchedulerService.java:34)
  | at 
org.jbpm.scheduler.ejbtimer.EjbSchedulerServiceFactory.openService(EjbSchedulerServiceFactory.java:11)
  | at org.jbpm.svc.Services.getService(Services.java:144)
  | at org.jbpm.svc.Services.getCurrentService(Services.java:91)
  | at org.jbpm.graph.exe.ProcessInstance.end(ProcessInstance.java:329)
  | 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.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173)
  | ...
  | ...
  | ...
  | 

In jbpm.cfg.xml settings are:

  | service name=persistence
  |   factory
  | bean class=org.jbpm.persistence.db.DbPersistenceServiceFactory
  |   field name=isCurrentSessionEnabled
  | true/
  |   /field
  | /bean 
  |   /factory
  | /service
  | 

In hibernate.cfg.xml are:


  | property 
name=hibernate.transaction.factory_classorg.hibernate.transaction.JTATransactionFactory/property
  | property 
name=hibernate.transaction.manager_lookup_classorg.hibernate.transaction.JBossTransactionManagerLookup/property
  | property 
name=jta.UserTransactionjava:comp/UserTransaction/property
  | 
Anyone knows why it is?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4131619#4131619

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4131619
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: jboss gravel

2008-02-23 Thread minakari
Hi,
thanks for you help,but I have seen http://labs.jboss.com/gravel/ ,I want a 
manual or guidance document  for learning that ,where I can found that.

best regards,

minakari.



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4131620#4131620

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4131620
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Deployment error with Jboss Tools 2.0.0, Seam 2.0 and RichFa

2008-02-23 Thread ljmckinn
Hi, 

I am getting this error every time I try to run my application. The application 
deploys fine, no problems.

Here is the Error I recieve when trying to view the application with a 
browser(Firefox)

03:35:09,093 ERROR [AjaxPhaseListener] Exception on get current Skin 
java.lang.IllegalArgumentException: Illegal group reference
at java.util.regex.Matcher.appendReplacement(Matcher.java:706)
at java.util.regex.Matcher.replaceAll(Matcher.java:806)
at java.lang.String.replaceAll(String.java:2000)
at 
org.richfaces.skin.SkinFactoryImpl.loadProperties(SkinFactoryImpl.java:290)
at 
org.richfaces.skin.SkinFactoryImpl.buildSkin(SkinFactoryImpl.java:269)
at 
org.richfaces.skin.SkinFactoryImpl.getSkinByName(SkinFactoryImpl.java:120)
at org.richfaces.skin.SkinFactoryImpl.getSkin(SkinFactoryImpl.java:135)
at 
org.ajax4jsf.event.AjaxPhaseListener.beforePhase(AjaxPhaseListener.java:143)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:222)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
at 
org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at 
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
at java.lang.Thread.run(Thread.java:595)

It's 4:00 am and I have sore from beating my head on this problem. Does anyone 
have any ideas?

LM


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4131622#4131622

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4131622
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Seam Web Project in JBossIDE

2008-02-23 Thread roxello
Hello -

the Seam forum on jboss.org is closed and I have not been able to login
at seamframework.org so this i hope is the most appropriate alternative.

The ~/WebContent/home.xhtml page generated with a new skeleton 
project created using new... Seam Web Project mentions the creation
of an ant build file as part of the project. The projects I've built however
do not feature a build.xml file.

I am firstly wondering if anyone else is having a similar experience?

If not then there is something i am not doing right or an incompatibility
lurking somewhere. I've installed JBossIDE a few times using different
methods, ie Eclipse software update, unzip into plugins etc, without 
success so far.

Given the volume of artifacts and sub-projects present in a project built 
this way retro-fitting a build file would be a project in itself, especially if 
a .ear deployment is selected.

Environment is WinXPsp2, jdk1.5.0_10

Any guidence, information most appreciated.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4131624#4131624

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4131624
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Entity Inheritence with primitive datatypes causes a Propert

2008-02-23 Thread gecco
hi,
when using entity inheritence with jboss 4.2.2 the EntityManager.find() call  
causes a org.hibernate.PropertyAccessException when called on superclass type 
and the subclass contains a field of primitive type.
For example, i have two entities Person and Employee

  | @Entity
  | @Inheritance(strategy=InheritanceType.TABLE_PER_CLASS)
  | public class Person implements Serializable{
  | @Id
  | @Column(name=ID, nullable=false)
  | private int id;
  | 
  | @Column(name=NAME, nullable=false)
  | private String name;
  | // getter and setter.
  | }
  | 
  | @Entity
  | public class Employee extends Person implements Serializable {  
  | 
  | @Column(name=SSN, nullable=false)
  | private int ssn;
  | //getter and setter
  | 
  | }
  | 

now after persisting a Employee a call on entityManager.find(Person.class, id) 
will result in a PropertyAccessException:
Caused by: javax.persistence.PersistenceException: 
org.hibernate.PropertyAccessException: Null value was assigned to a property of 
primitive type setter of org.example.entity.Employee.ssn
the value in the database is not null, and it worked fine with JbossAS 4.0.5

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4131628#4131628

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4131628
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: problem with transaction

2008-02-23 Thread mkalibek
Problem was with Scheduler service.
I simply disabled it in jbpm.cfg.xml and then it worked.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4131629#4131629

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4131629
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: jboss gravel

2008-02-23 Thread kukeltje
I have no idea if it is not on the gravel site

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4131630#4131630

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4131630
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: problem with transaction

2008-02-23 Thread kukeltje
but now you do not have timers etc

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4131632#4131632

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4131632
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Runnigs test

2008-02-23 Thread hispeedsurfer
Hi,

I have problem to runnig tests inside a Seam Web Project using the JBoss Tools 
IDE.

Environment: JBoss Tools 2.0.GA, Seam 2.0.1.GA

When I create a new Seam Web (ear)Project with a simple Seam Action and try to 
run TestNG test as discriped in 'Seam Dev Tools Reference Guide'  the first 
excetion is 
[Parser] Running:
  |   
V:\workspaces\datenvisualisierung\testproject-test\test-src\org\domain\testproject\test\ActionTest.xml
  | 
  | WARN  [org.jboss.seam.init.Initialization] Did not install PojoCache due to 
NoClassDefFoundError: org/jgroups/MembershipListener
  | INFO  [org.ajax4jsf.cache.CacheManager] Selected 
[org.ajax4jsf.cache.LRUMapCacheFactory] cache factory
  | INFO  [org.ajax4jsf.cache.LRUMapCacheFactory] Creating LRUMap cache 
instance using parameters: {}
  | INFO  [org.ajax4jsf.cache.LRUMapCacheFactory] Creating LRUMap cache 
instance of default capacity
  | INFO  [org.ajax4jsf.cache.CacheManager] Selected 
[org.ajax4jsf.cache.LRUMapCacheFactory] cache factory
  | INFO  [org.ajax4jsf.cache.LRUMapCacheFactory] Creating LRUMap cache 
instance using parameters: {}
  | INFO  [org.ajax4jsf.cache.LRUMapCacheFactory] Creating LRUMap cache 
instance of default capacity
  | FAILED CONFIGURATION: @BeforeMethod begin
  | org.jboss.seam.InstantiationException: Could not instantiate Seam 
component: org.jboss.seam.security.identity
  | at org.jboss.seam.Component.newInstance(Component.java:1970)
  | at org.jboss.seam.contexts.Contexts.startup(Contexts.java:304)
  | at org.jboss.seam.contexts.Contexts.startup(Contexts.java:278)
  | at org.jboss.seam.contexts.Lifecycle.beginSession(Lifecycle.java:191)
  | at 
org.jboss.seam.contexts.ServletLifecycle.beginSession(ServletLifecycle.java:124)
  | at org.jboss.seam.mock.BaseSeamTest.begin(BaseSeamTest.java:912)
  | at org.jboss.seam.mock.SeamTest.begin(SeamTest.java:28)
  | Caused by: org.drools.RuntimeDroolsException: Unable to load dialect 
'org.drools.rule.builder.dialect.java.JavaDialectConfiguration:java'
  | at 
org.drools.compiler.PackageBuilderConfiguration.addDialect(PackageBuilderConfiguration.java:152)
  | at 
org.drools.compiler.PackageBuilderConfiguration.buildDialectConfigurationMap(PackageBuilderConfiguration.java:140)
  | at 
org.drools.compiler.PackageBuilderConfiguration.init(PackageBuilderConfiguration.java:117)
  | at 
org.drools.compiler.PackageBuilderConfiguration.init(PackageBuilderConfiguration.java:94)
  | at org.jboss.seam.drools.RuleBase.compileRuleBase(RuleBase.java:40)
  | at org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
  | at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:125)
  | at org.jboss.seam.Component.callComponentMethod(Component.java:2082)
  | at org.jboss.seam.Component.callCreateMethod(Component.java:2005)
  | at org.jboss.seam.Component.newInstance(Component.java:1976)
  | at org.jboss.seam.Component.getInstance(Component.java:1873)
  | at org.jboss.seam.Component.getInstance(Component.java:1840)
  | at org.jboss.seam.Namespace.getComponentInstance(Namespace.java:55)
  | at org.jboss.seam.Namespace.getComponentInstance(Namespace.java:50)
  | at org.jboss.seam.el.SeamELResolver.resolveBase(SeamELResolver.java:166)
  | at org.jboss.seam.el.SeamELResolver.getValue(SeamELResolver.java:53)
  | at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:53)
  | at org.jboss.el.parser.AstIdentifier.getValue(AstIdentifier.java:44)
  | at 
org.jboss.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
  | at org.jboss.seam.core.Expressions$1.getValue(Expressions.java:111)
  | at org.jboss.seam.Component$ELInitialValue.getValue(Component.java:2360)
  | at org.jboss.seam.Component.initialize(Component.java:1389)
  | at org.jboss.seam.Component.instantiateJavaBean(Component.java:1315)
  | at org.jboss.seam.Component.instantiate(Component.java:1268)
  | at org.jboss.seam.Component.newInstance(Component.java:1966)
  | ... 30 more
  | Caused by: java.lang.RuntimeException: The Eclipse JDT Core jar is not in 
the classpath
  | at 
org.drools.rule.builder.dialect.java.JavaDialectConfiguration.setCompiler(JavaDialectConfiguration.java:93)
  | at 
org.drools.rule.builder.dialect.java.JavaDialectConfiguration.init(JavaDialectConfiguration.java:54)
  | at 
org.drools.compiler.PackageBuilderConfiguration.addDialect(PackageBuilderConfiguration.java:148)
  | ... 58 more
  | ... Removed 28 stack frames
  | SKIPPED CONFIGURATION: @AfterMethod end
  | SKIPPED CONFIGURATION: @AfterClass cleanup
  | SKIPPED: test
  | 
  | ===
  | Action Test
  | Tests run: 1, Failures: 0, Skips: 1
  | Configuration Failures: 1, Skips: 2
  | ===
  | 
  | 
  | ===
  | Action Tests
  | Total tests run: 1, Failures: 0, Skips: 1
  

[jboss-user] [Installation, Configuration DEPLOYMENT] - scheduler problem

2008-02-23 Thread rikibarkiki
Hello friend,
I saw some post of you at the JBoss forum and I have a similar problem,
I try to run the Scheduler example from the jboss site and it run o.k but when 
I restart the server I got this error

I put some code at scheduler-service.xml


true
ejb.ExSchedulable
TheName,123456789
java.lang.String,long

   NOW
   4000
   1 
   

And create some class file at ejb package under the ejb lib

package ejb;

import java.util.Date;
import org.jboss.varia.scheduler.Schedulable;

import org.apache.log4j.Logger;

public class ExSchedulable implements Schedulable
{
private static final Logger log = Logger.getLogger(ExSchedulable.class);

private String name;
private long value;
   
private String response;

public ExSchedulable(String name, long value)
{
this.name = name;
this.value = value;
log.info(ctor, name:  + name + , value:  + value);
}

public void perform(Date now, long remainingRepetitions)
{
log.info(perform, now:  + now +
 , remainingRepetitions:  + remainingRepetitions +
 , name:  + name + , value:  + value);

response=SendAndReciveRequest.sendAndRecive(http://localhost:8080/SkillogicAS-war/CounterServlet;);
log.info(Response +response);
}
}


The error that show when the server start is

--- MBeans waiting for other MBeans ---
ObjectName: jboss.docs:service=Scheduler
  State: FAILED
  Reason: org.jboss.deployment.DeploymentException: Exception setting attribute 
SchedulableClass = ejb.ExSchedulable on mbean jboss.docs:service=Scheduler; - 
nested throwable: (java.security.InvalidParameterException: Given class 
ejb.ExSchedulable is not  not found)
 

10x a lot 


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4131640#4131640

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4131640

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Scheduler problem

2008-02-23 Thread rikibarkiki
Hello friend,
I saw some post of you at the JBoss forum and I have a similar problem,
I try to run the Scheduler example from the jboss site and it run o.k but when 
I restart the server I got this error

I put some code at scheduler-service.xml


true
ejb.ExSchedulable
TheName,123456789
java.lang.String,long

   NOW
   4000
   1 
   

And create some class file at ejb package under the ejb lib

package ejb;

import java.util.Date;
import org.jboss.varia.scheduler.Schedulable;

import org.apache.log4j.Logger;

public class ExSchedulable implements Schedulable
{
private static final Logger log = Logger.getLogger(ExSchedulable.class);

private String name;
private long value;
   
private String response;

public ExSchedulable(String name, long value)
{
this.name = name;
this.value = value;
log.info(ctor, name:  + name + , value:  + value);
}

public void perform(Date now, long remainingRepetitions)
{
log.info(perform, now:  + now +
 , remainingRepetitions:  + remainingRepetitions +
 , name:  + name + , value:  + value);

response=SendAndReciveRequest.sendAndRecive(http://localhost:8080/SkillogicAS-war/CounterServlet;);
log.info(Response +response);
}
}


The error that show when the server start is

--- MBeans waiting for other MBeans ---
ObjectName: jboss.docs:service=Scheduler
  State: FAILED
  Reason: org.jboss.deployment.DeploymentException: Exception setting attribute 
SchedulableClass = ejb.ExSchedulable on mbean jboss.docs:service=Scheduler; - 
nested throwable: (java.security.InvalidParameterException: Given class 
ejb.ExSchedulable is not  not found)
 

10x a lot 


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4131641#4131641

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4131641

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


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Unable to reference libraries from shared lib

2008-02-23 Thread dj1paul
Hi All,

I placed standard.jar and jstl.jar in the \jboss-4.0.3SP1\server\default\lib 
folder. But my HelloWorld web application is unable to refer to the jstl code. 
It gives me 

org.apache.jasper.JasperException: The absolute uri: 
http://java.sun.com/jsp/jstl/core_rt cannot be resolved in either web.xml or 
the jar files deployed with this application

There must be something that I missed.  

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4131642#4131642

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4131642
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Deployment of portlets - custom descriptors

2008-02-23 Thread swisst
All JBoss descriptor files are optional. If it's not part of JSR 168, you don't 
have to have it. 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4131644#4131644

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4131644
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security JAAS/JBoss] - Basic Authentication Using Oracle XE

2008-02-23 Thread fcastillo.ec
I configure jboss to use Basic Authentication using Oracle XE as the database 
where passwords and roles have to be looked. But after deploying my application 
and trying to access it, the username and password supply don't let me go 
inside the application. I've tried everything and the dialog that asks for the 
username and password keeps appearing and asking for the credentials, even 
though I'm 100% sure the username and password supplied where correct. Here is 
a list of the files used to configure the Basic Authentication.

web.xml
!-- Configure the Security Constraints --
  | security-constraint
  | web-resource-collection
  | web-resource-nameBank Server protected 
servlet./web-resource-name
  | descriptionRequire users to authenticate./description
  | url-pattern/*/url-pattern
  | /web-resource-collection
  | 
  | auth-constraint
  |   descriptionAllow AccountUssers to access the 
application./description
  |   role-nameUSER/role-name
  | /auth-constraint
  |   /security-constraint
  |   
  |   security-role
  | descriptionAccount Users/description
  | role-nameUSER/role-name
  |   /security-role
  |   
  |   login-config
  | auth-methodBASIC/auth-method
  | realm-nameBankServerJaasDbRealm/realm-name
  |   /login-config

jboss-web.xml
security-domainjava:/jaas/BankServerJaasDbRealm/security-domain

login-config.xml
application-policy name = BankServerJaasDbRealm
  |   authentication
  |  login-module code = 
org.jboss.security.auth.spi.DatabaseServerLoginModule
  |  flag = required
  |module-option 
name=unauthenticatedIdentityguest/module-option
  |module-option 
name=password-stackinguseFirstPass/module-option
  |module-option 
name=dsJndiNamejava:/OracleBankDS/module-option
  |module-option name=principalsQuerySELECT PASSWORD FROM 
ACCOUNT_INFO WHERE ACCOUNTNUMBER=?/module-option
  |module-option name=rolesQuerySELECT ROLE FROM 
ACCOUNT_INFO WHERE ACCOUNTNUMBER=?/module-option
  |   /login-module
  |/authentication
  | /application-policy

Any ideas why isn't it working?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4131646#4131646

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4131646
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: help needed in LDAP authentication in portal environ.

2008-02-23 Thread rammy1984
can anybody out there help me out with this issue? 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4131648#4131648

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4131648
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Process Logging Not Happening Correctly

2008-02-23 Thread etluchs
For me, the solution was to explicitly call 
ProcessContext.save(ProcessInstance) before the end of each transactions. 
Obviously, some kinds of log-entries are not saved automatically via some 
cascading collection, but require explicit saving.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4131649#4131649

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4131649
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security JAAS/JBoss] - Re: Tomcat 5.5 login module compatibility?

2008-02-23 Thread jptalberg
Thanks for the pointer on how to enable debug.

We actually were in the process of decompiling the byte code in the jars 
already.

This is what we've found.  The libraries are definitely geared towards Tomcat 
5.5.  They implement a custom LoginModule, but they also rely on a custom 
JAASRealm which extends org.apache.catalina.realm.RealmBase.  Further the 
custom principal they are creating from their Realm extends 
org.apache.catalina.realm.GenericPrincipal.

Is there any way to configure the default AS 4.2.1 to use this Tomcat 5.5 
module/realm without requiring modification to the source code?  Our big 
dilemma, is that the LoginModule and Realm our outside our control; and further 
there is a development jar and a production jar which have essentially the same 
configurations but different behavior -- so us modifying the development one 
and testing with it will not necessarily help us be ready for production.  We'd 
much rather figure out how to configure the security without needing 
modification to security modules we are being provided.

We have been able to configure the login module, and it seems to be working.  
But we aren't sure how to configure in the Realm, or if you even can.  
Ultimately what we need is to be able to get the Custom Principal object back 
from request.getUserPrincipal().

Thanks for your help!

Jeff

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4131658#4131658

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4131658
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: JbossPortal and ldap

2008-02-23 Thread kahotep
badock wrote : I'm sorry, but i don't see any connection between what you're 
writing and my problems...
  | 
  | Sure, you seem to have issues with ldap+jboss too, but since your problems 
look a lot different from mine, i think you should get your own thread...
  | 
  | No offense, but you're not helping me getting information by flooding this 
thread.
  | 
  | Regards.

Sorry dude,

I've always been of the philosophy that message board threads are more useful 
when all of the posts related to a particular subject are in a particular 
thread.  In this case, JBossPortal and LDAP fits both of our situations.

That makes it alot easier to browse through the conversations on this subject 
imo.

My configuration works for everything except adding and removing users, so I 
thought it might be a good reference for you to look at.

My apologies.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4131660#4131660

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4131660
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Web Services Transactions

2008-02-23 Thread matias.blasi
Hello, I am researching about the web services transactions behaiviour...
I have read the WS-C, WS-AT  WS-BA specifications, and several internet 
papers, i have the concepts.
Now I am looking for a working sample, to have something runing something to 
begin from...
I know that Arjuna had an implementation, and it was included in jboss project 
so far. I understand it is now the jbossts component.
I was trying to run the xts-demo application into the jboss-4.2.2  
jbossts-4.2.2 with no success...
Now I am with jboss-5.0.0-beta4, where is the web services transcation support 
here? I see only a jbossws component, as a .sar application, but no samples, 
and nothing seems to provide the web services transaction support...

Can anyone help me? I've put a lot of days in that, and I need a sample to see 
this feature really working...

Thank you a lot!

Matias Blasi.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4131661#4131661

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4131661
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Deployment error with Jboss Tools 2.0.0, Seam 2.0 and Ri

2008-02-23 Thread ljmckinn
I managed to fix the problem...

I reinstalled my Jboss app server (4.2) and set seam to use JDK6. I was using  
JDK 5.

I still haven't figured out why it didn't work with JDK 5 but at least its 
deploying properly now.

System: winxp 
JVM: 1.6

JBoss 4.2
Seam 2.0.1GA



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4131663#4131663

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4131663
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - Jboss 4.2.1.GA + Apache 2.2.6 + mod_jk-1.2.26-httpd-2.2.6.so

2008-02-23 Thread gianfeng
I deploy them on linux server. 
(1)http://www.mydomain.cn only static html
(2)http://222.33.22.33:8080/ jsp is ok.

Is there something wrong ? plz help me, thank you!

Apache httpd.conf

  | # Include mod_jk's specific configuration file
  | Include conf/mod-jk.conf
  | 


  | # Specify the filename of the mod_jk lib
  | LoadModule jk_module modules/mod_jk-1.2.26-httpd-2.2.6.so
  |  
  | # Where to find workers.properties
  | JkWorkersFile conf/workers.properties
  | 
  | # Where to put jk logs
  | JkLogFile logs/mod_jk.log
  |  
  | # Set the jk log level [debug/error/info]
  | JkLogLevel info 
  |  
  | # Select the log format
  | JkLogStampFormat  [%a %b %d %H:%M:%S %Y]
  |  
  | # JkOptions indicates to send SSK KEY SIZE
  | JkOptions +ForwardKeySize +ForwardURIProxy -ForwardDirectories
  |  
  | # JkRequestLogFormat
  | JkRequestLogFormat %w %V %T
  |
  | # Mount your applications
  | # JkMount /application/* loadbalancer
  | JkMount /* loadbalancer
  | JkMount /*.jsp loadbalancer
  | JkMount /*.go loadbalancer
  | 
  | # You can use external file for mount points.
  | # It will be checked for updates each 60 seconds.
  | # The format of the file is: /url=worker
  | # /examples/*=loadbalancer
  | # JkMountFile conf/uriworkermap.properties   
  | 
  | # Add shared memory.
  | # This directive is present with 1.2.10 and
  | # later versions of mod_jk, and is needed for
  | # for load balancing to work properly
  | JkShmFile logs/jk.shm 
  |   
  | # Add jkstatus for managing runtime data
  | Location /jkstatus/
  | JkMount status
  | Order deny,allow
  | Deny from all
  | Allow from 127.0.0.1
  | /Location
  | 


  | worker.list=loadbalancer,status
  | 
  | # Define Node1
  | # modify the host as your host IP or DNS name.
  | worker.node1.port=8009
  | worker.node1.host=127.0.0.1
  | worker.node1.type=ajp13
  | worker.node1.lbfactor=1
  | # worker.node1.cachesize=10
  | 
  | # Define Node2
  | # modify the host as your host IP or DNS name.
  | worker.node2.port=8009
  | worker.node2.host= 127.0.0.10
  | worker.node2.type=ajp13
  | worker.node2.lbfactor=1
  | # worker.node2.cachesize=10
  | 
  | # Load-balancing behaviour
  | worker.loadbalancer.type=lb
  | worker.loadbalancer.balance_workers=node1,node2
  | worker.loadbalancer.sticky_session=1
  | #worker.list=loadbalancer
  | 
  | # Status worker for managing load balancer
  | worker.status.type=status
  | 


  | Engine name=jboss.web defaultHost=limincun.cn jvmRoute=node1
  | 
  | /Engine
  | 
  | attribute name=UseJKtrue/attribute
  | 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4131664#4131664

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4131664
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: jboss jbpm developer guide

2008-02-23 Thread minakari
hi,

That is exactly what I want,I need somes or docs to connect to jboss jbpm from 
my application and get list of process and etc .. and so I want to change 
jbpm-console and customize it,so I need to learn about its API and need some 
samples ,plz help me if possible.

thanks a lot.,
best regards.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4131665#4131665

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4131665
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user