Ok guys,
I've integrated JAAS with Seam, Facelets, MyFaces and jBMP pageflow.
It works very fine!
I've started with the information written by SunFire and locoetze in this topic.
In pageflow.jpdl.xml I've called an action that put in http session j_username
and j_password.
| .
|
We have thick Swing-based EJB clients accessing EJB server. I need to limit the
maximum number of clients running simultaneosly. I know that it could be
implemented in EJB logic, but could it be done in a more simple way? I suppose
that JBoss tracks active connections so it should be an easy ta
According to the documentation the standard Jboss list of ports is 1098, 1099,
, 4445, 8009, 8080 and 8083, I am using this list except I have replaced
8080 with 18080.
When I try and run my Java application which is using http messaging it
attempts to use port 80 which is blocked by a fir
Hi,
This is withrespect to the following topic.
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=82549
The required field option given in the default form controller is not
functioning. I have added the required property correspondingly in the
corresponding jsp page. Still it is not func
I've lost you now...the JNDI name tags are unique in that they differ by the
characters 'Internet' and 'Intranet'. Are you perhaps referring to some other
tags somewhere? Note also that I do use 'resource-ref' as the following extract
from my jboss.xml file indicates:
DownloadIn
Thomas,
The JSR-181 implemenation seems to re-write the soap:address to the settings in
the jboss-service.xml that is buried in the jbossws.sar file. It would be nice
if I did not have to modify this file to avoid the address from always
returning 8080. Maybe the port can also be a dynamic para
Hello,
I wanted to know if someone can give me some information about ejb-ref and
ejb-local-ref in web application.
Why do we have to use them ? What are advantages ?
Can we reference a remote ejb (in another JBoss server or another J2EE server)
? (and how to do this).
Thanks by advance !
Vi
I just tried the suggested by DViper01 after having the same initial problem in
this thread:
My config is:
- jboss-4.0.4.CR2
- WinXP Pro Service Pack 2
- java 1.5.0_06-b05
- MySQL 5.0.21-community
- mysql-connector-java-3.1.12-bin.jar
And with the corrections suggested in:
http://wiki.jboss.org/w
I figured it out... my persistence.xml wasn't getting deployed into META-INF
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3943314#3943314
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3943314
Already tried all versions up to 4.03SP1
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3943313#3943313
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3943313
---
Us
Come on now...I'm not that stupid. The ehcache jar file IS one of the 4 jar
files in the jbpm sar, and that class is in that jar file. I put that jar
file, along with jbpm-3.1.1.jar, jbpm.sar.cfg.jar, and jbpm-identity-3.1.1.jar
in the jbpm war's WEB-INF/lib directory. I tested it again, just
the standalone version of the designer (as stated many times before) will still
be eclipse based, at least at the core. Visually there will probably be a
perspective that does not 'show' you are in eclipse.
There is no problem integrating your own tool as long as you maintain it.
View the ori
if you just include the four jbpm jars in the war, you still have to make sure
all other ruiquired jars are on the classpath (in this example the ehcache jar)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3943308#3943308
Reply to the post :
http://www.jbos
I have a setup where I have 4 servers A, B, C, and D. I want my EJBs clustered
across all of them, but I want to isolate my HA-JMS to A and B, while isolating
my webapp clustering to C and D. I was assuming that I could achieve this by
making three partitions on called ejbPartition, to which a
ALPHA works with the default configuration. I downloaded the bundle with the
AS.
I'm trying this under PostgreSQL 8.0.3, on Linux.
server log shows and error starting up (I'll show what I think are relevant
lines):
| 2006-05-12 16:20:07,932 DEBUG [org.jboss.system.ServiceConfigurator]
Hom
Thanks, but that didn't help much as I've not worked security before and have
more basic questions. I don't really understand JAAS yet and ... let me post my
question like this.
I will have thousands of users, each having a specific role of which there are
about 4-8 different user roles such as
I have jBPM Designer 3.0.8 installed with Eclipse 3.2 RC2 and WTP 1.5 RC2.
When I try to open a process definition it is opened using the plain wtp xml
editor and not with the jBPM Designer. When I right click on the file, the
designer is not listed in the 'open with' menu.
Is there something I
Hi all,
My webapp is using Jboss connection pooling to get connections to mysql
database. Somehow, the connection made from the calling
DataSource.getConnection is so long (about 5 seconds).
Is anyone having the same problem? Is there any JBoss configuration to make it
better.
Thanks,
Quan
It looks like the Commit B option which is the default in JBoss is the one that
is needed in my case, where data can be modified external to the bean. But then
I am seeing that my ejbLoad method is not getting called when a transactional
method (method for which the transaction attribute defined
"[EMAIL PROTECTED]" wrote : A workaround option is not to use the .sar
packaging to deploy jBPM, but rather to include the jbpm libs (the ones in the
.sar) into your .war file.
I tried this solution with the jbpm war by sticking the 4 jar files into
jbpm.war/WEB-INF/lib, and it does not work.
I can run jbpm as standalone executable with no problem because I set the
classpath.
When deployed as webapp, I get the following exception.
My question is: where do you place the hibernate.cfg.xml under webapp
so that jbpm will work with hibernate?
I have no problem with jbpm configuration file
Hello friends,
I am in the process of integrating jbpm 3.1 with my application. I have the
following (basic) questions:
1. What is it in JBPM that controls the transition of a process instance from
one state to another? Also, what is the lifetime of this? When is it started
and shut down? What
Hello,
If I know that a process instance encountered an exception during execution,
how can I get the exception stack trace? I want to send it to the client of the
application.
Thanks.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3943276#3943276
Reply to
Ronald,
How do you use the stored process definition document to deal with this? I'd
like to hear more of that approach.
I just tought we are taking the long route. Why not writing a simple script
that initializes the variables at some event (node-enter, task-create, ...)?
View the original po
Keep in mind that BPEL exposes service compositions as new services. When your
jPDL process invokes a service, it might as well be invoking a BPEL process.
The BPEL engine is already "wrapped" in service interfaces.
Calling back the jPDL process from the BPEL process does require the former to
Persistence of JDK 1.5 enums has been deeply discussed in Persisting jdk1.5
enums today, a topic in the Hibernate forum. It looks like Hibernate
annotations comes with a user type for enums.
For jBPM we have to figure out a way not to introduce a new VariableInstance
subclass just for enums, an
We are using Hibernate-3.1.2 with JBoss-3.2.3. For second level caching of
Hibernate objects we opted JBossCache, because it had clustering support, which
the earlier versions of EHCache did not have. Now, when its mentioned that
EHCache-1.2 has distributed caching
(http://www.theserverside.com
Hello,
I?m having problems using MyFaces1.1.1 & JSF1.1 RI in NetBeans 5.0 with JBoss
4.0.3SP1. First I deleted jsf-libs folder from deploy\jbossweb-tomcat55.sar and
I used libraries imported in my project. Every time I deploy application, JBoss
server, while deploying, logs merge of each compo
Have a look at Section 8.2 at:
http://docs.jboss.org/jbossas/jboss4guide/r2/html/ch8.chapter.html
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3943253#3943253
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3943253
The portlet spec: http://www.jcp.org/en/jsr/detail?id=168
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3943252#3943252
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3943252
---
Which portlet is breaking?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3943249#3943249
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3943249
---
Using Tomcat but n
Portal version?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3943247#3943247
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3943247
---
Using Tomcat but need to do m
Maybe your path is wrong? Whats it look like in the html?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3943244#3943244
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3943244
---
Great! Gonna try it!
Thanks,
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3943242#3943242
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3943242
---
Using Tomcat bu
Follow Up: don't forget to modify also the default entry in
Window/Preferences/Java/Build Path/User Libraries, if you had the old jBPM
library defined there.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3943241#3943241
Reply to the post :
http://www.jboss.c
Hi all,
I'm getting ready to do an application that requires a user with a certain role
(admin, visitor, consultant, etc...) to login w/ name and password, and once
logged in, will have different permissions and views within the web app
depending upon the category (or role) that user is in.
I'
Hi guys,
I have the following scenario: i have an ear with some ejb-jar, a war and a sar
package. I did all the steps that the docs say about how to deploy the sar. I
put the sar file inside the ear, and alter the jboss-app.xml to include a
module declaration.
When I deploy the ear, I get the
Yes.
I am having the same problem.
Could anyone help me
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3943233#3943233
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3943233
Hi all
We need connection between server and clients via http. JBOSS documentation
tells that JBOSS-SERVICE.XML must be changed. At the end of the message is
this file.
In a localhost everything runs ok, but in a local network with a router the
connection dosen't show any error by the incoca
Alex,
Although the taskcontroler thingy seems handy, I person ally had some problems
with it. It almost comes down to redoing the webui completely. I did not want
to comment since this has been brought up many times before, but think I should
now.
Using the processdefinition that can and is
Without changing the jBPM core, you have to do this by changing the
userinterface backingbeans and filtering you all tasks that the current user
should not be allowed to start.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3943228#3943228
Reply to the pos
Take a look at the task controllers section in the jBPM user guide. You have to
do it yourself but you can reuse many things from the default controller.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3943227#3943227
Reply to the post :
http://www.jboss.com/i
AOP ??? Nah, too high... How about a custom TaskControllerHandler?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3943226#3943226
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3943226
--
I've discovered something that may be related to this issue. Using 3.0.9.1 of
GPD, whenever I have a process definition open, Eclipse pegs the CPU for about
30 seconds every time I save any dirty file. For example, open a process
definition and open a java file. Make changes to the java file
No, at least not in a supported way. I thnik you can find some infor in the
forum on how to manipulate the database, so running processes will continue
with the new version. Maybe the datamodel on the wiki can help with this as
well.
View the original post :
http://www.jboss.com/index.html
Is there a way i can assign a default value to a variable in a task controller.
I dont see any column in the database too.
Any ideas...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3943201#3943201
Reply to the post :
http://www.jboss.com/index.html?module=
I'm using jdk 1.4.2 and not doing anything custom. I'm just trying to use the
base jbpm code.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3943196#3943196
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3943196
-
have you declared the method you're calling in your component?
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3943193#3943193
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3943193
---
Using To
I'll throw this over to the Hibernate guys and see if I get any ideas from them.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3943192#3943192
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3943192
I'm not really worried about keeping the dependency isolated.
I think the deployment descriptor mechanism is much nicer for getting a
reference to services like CMS than JNDI ever will be. I will redo my
descriptor to jboss-portlet.xml and remove my portlet-instances.xml file. In
hindsight - j
Thanks for the reply alex.
That should work but I got a question.
Since I didn't find any documentation about ModuleInstance in users guide I
tried to deduce it b myself by taking a look directly to the code.
Are ModuleInstance subclasses some kind of "services helper classes" ? I mean
some po
I am not sure it is my usage or functionality is still missing:
I am getting NoSuchMethodException on call to valueChangeListener in
h:selectOneMenu. I checked forums and the last one was from last year and it
claimed it was not working. I wonder whether is working now.
Thanks,
Karakoyun
V
I've got the 'later' advantage that I'm South-East from you and it's nearly
time for me to go home for the weekend (time here in Pretoria, South Africa is
nearly 3:15 p.m.) . Everything you've mentioned in your last message(s) is in
order, but I do like the idea of writing some code to check up
Wowthanks guys
Its very clean now...
1) Create my own jboss-portlet.xml in WEB-INF of my WAR
with the following
|
|
| CMS
| org.jboss.portal.cms.CMS
| :service=CMS
|
|
|
2) Create a typical portlet and grab the CMS Service with...
Any progress on enum replication so far?
I am currently using a quick fix on "CachedType.java", because enums didn't
work when I loaded them back using a cache loader. The fix simply considers
enumerators as immediates (added code in bold):
| public static boolean isImmediate(Class clazz)
When deploying, I get this error:
| 2006-05-12 14:20:23,093 DEBUG
[org.jboss.deployment.scanner.URLDeploymentScanner] Failed to deploy: [EMAIL
PROTECTED]
url=file:/C:/Programfiler/jboss-4.0.4.CR2/server/default/deploy/ejb3-project.ear,
deployedLastModified=1147436384531 }
| org.jboss.depl
Note, I am also assuming that you are getting the connection to the database in
the following manner: \
DataSource ds = (DataSource)initCtx.lookup("java:comp/env/refname");
ds.getConnection();
and you aren't passing username/password. If this is not correct, please let me
know.
View the ori
Hello,
is there a way to generate a new Session ID without invalidating the current
session? I read some article about session hijacking, and the main conclusion
was, to always generate a new session ID if the security level increase. So if
a not logged in user already got a session and he's lo
No, this is outside the realm of JBossJCA as stated here:
http://wiki.jboss.org/wiki/Wiki.jsp?page=IWantToPluginACustomThirdpartyDataSource
DataSource with internal pool
This is a non XA datasource that does its own pooling.
If you do this, you are outside JCA. The internal pool of the DataSour
i believe this is a known bug in the designer. it's generating the wrong xml.
try replacing mappedName with mapped-name in the XML source view.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3943163#3943163
Reply to the post :
http://www.jboss.com/index.ht
Please read:
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossHelp
and then
http://wiki.jboss.org/wiki/Wiki.jsp?page=BadPosts
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3943162#3943162
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=post
I use separate *-ds.xml files, one for each datasource. Note that these files
work perfectly when an application runs on its own. The problem occurs when two
applications are loaded, each application referencing a different file through
JNDI. In effect, the two applications end up using the firs
I´ve build a Form and added a "mappedName" in the Variable Tag, but if i call
the form, the name in the interface is the name of the variable and the
mappedName is ignored.
How can i configure, that for example, the variable name is test and the Name
shown in the Interface is "Enter a Test valu
lol, nice xml escaping here ;)
Initial Config:
[Server] Release ID: JBoss [Zion] 4.0.3SP1 (build: CVSTag=JBoss_4_0_3_SP1
date=200510231751)
[ServerInfo] Java version: 1.5.0_06,Sun Microsystems Inc.
MySQL server 4.1.19 community-nt
MySQL Java Connector 3.1.12
MySQL server configured as User guide with jbossportal DB and
por
This is because we use the classloader that loads the jbpm classes as a parent:
public static ClassLoader getClassLoader() {
return ClassLoaderUtil.class.getClassLoader();
}
In case of the default .sar packaging on JBoss, the .sar classloader will not
see your .war classes.
One thing on
Hello,
I am currently trying to override the settings in the persistence.xml
dynamically with my own hashmap. The background is, that I want to change the
datasource dynamically depending on where to persist the Entity.
Unfortunatley the factory does not seem to care for any values, that I am
We´ve running locally a jBPM Server to Test the New Version. The installation
Package was "jbpm-starters-kit-3.1.1".
The Server is running with a MySQL Database.
Every thing is running fine, but if i try to Deploy any Process i get some
errors like these:
=
Caused by: ja
I thought that was a different company since there was no info on bpel on that
site. But there is infor on soa. www.paconsulting.nl is wrong as well
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3943139#3943139
Reply to the post :
http://www.jboss.com/index
Hi,
I am trying to build an application based on EJB3, but when i deploy it to the
server i get this error : ORA-00972 identifier is too long.
The problem caused by the name of the generated foreign key.
Thanks for helps
View the original post :
http://www.jboss.com/index.html?module=bb&op=view
"[EMAIL PROTECTED]" wrote : when an actorId is present, the pooledActorId is
indeed ignored. But there might be a situation in which you want to identify a
group of people that can do the job. And immediately select one of the group
to do it.
Oh, I agree. That is what we internally need. We a
Interesting...
but http://www.pa-consulting.com/ show me
Advanced Server Hosting
Demon Internet Monitoring Site
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3943135#3943135
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply
ah, and one more thing for ronald,
the actorId can be combined with the pooledActorIds.
when an actorId is present, the pooledActorId is indeed ignored. But there
might be a situation in which you want to identify a group of people that can
do the job. And immediately select one of the gro
Hmmm. Seems like everyone gets a cluster up and running just like that. Does
noone ever ask questions? Are there no tools to give information?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3943130#3943130
Reply to the post :
http://www.jboss.com/index.html?m
Hello,
Can JBossWS return a Java object(Java Bean) ? When I try to return a bean, it
just raised the following exception. But those primitive types and String are
no problem at all. The following are my codes:
| import java.util.Hashtable;
|
| import javax.naming.Context;
| import ja
thanks for sharing !
hopefully, you'll need the business units in your real application one day.
then you don't have to implement it yourself and you can gain that hour back :-)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3943128#3943128
Reply to the post
Yes, JAXB-2.0 is mandated by J2EE-5.0
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3943127#3943127
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3943127
---
Using T
http://labs.jboss.com/portal/index.html?ctrl:id=page.default.info&project=jbossws
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3943125#3943125
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3943125
---
I have two separate datasources each bound into JNDI mapping eventually to the
same database server. Each data source is referenced via JNDI by a separate
application. As already mentioned, however, these applications require
different databases on the same database server. At runtime, both appl
79 matches
Mail list logo