I tried something different...
As i ever said with jboss the jGuardExample works fine but by adding the
jboss-portal i have only access to the access denied/ login pages.
So i tried different thing and by deleting the subdirectory portal-cms (and all
his references) in jboss-portal directory i
Content type for the whole portal can be altered by changing the content type
for the index.jsp file which acts as the host for the whole portal layout.
The default file is at
jboss-portal.sar\portal-core.war\layouts\generic\index.jsp
Altering the meta tag in the HTML sends the correct
Sorry for not being clear.
After taking a closer look at web.xml I noticed that the FacesServlet handles
all the requests to /seam/. So this applies to index.rss as well, please
correct me if I am wrong.
I got confused becuase in my current setup I have *.jsf mapped to the
FacesServlet. So I
Thanks!
Now it works fine.
Georg
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3960239#3960239
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3960239
___
jboss-user mailing list
This is annoying. I can set either the content type in the meta tag, or by
using a page directive in the JSP eg:
[EMAIL PROTECTED] contentType=application/xhtml+xml; %
but in both cases the browser is still seeing the content type of the page as
text/html. (Look at firefox menu item
Hello.
I'm afraid i don't understand your last message...
Do you mean the event handler for a task should not try to use the timer,
perhaps because when the event fires, the timer is not created yet ?
Coming back to my question : is there a way to set or change the timer delay
for a given
try it as following:
if (rs != null){
rs.close();
}
if (stmt != null){
stmt.close();
}
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3960243#3960243
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3960243
Hi Gavin, you can checkout the facelet page i posted. i already use the
required=true attribute.
And the problem is not the check for nullability. The problem is that a new
database entity is created and the exisiting one is not updated when a
validaton fault appears.
View the original
And also, when you bind properties, it has to be @stateful.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3960249#3960249
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3960249
___
Never mind, guys, I found the problem. My mistake.
My fault was that the data table with the selectBooleanCheckboxes weren't
inside the form brackets. So when I got the wrong result back from JSF, I was
kind of mislead. Instead of getting your data back unchanged, by default you're
getting
Hello,
Does anyone know if there is a way to save userPreferences with a Portlet.
At this moment I have seen that it is possible to save Preferences with a
Portlet, however this is Page specific and not user specific.
For instance the Weather portlet is good example.
When I log in and edit the
I'm using JBOSS 2.4.0 CR2
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3960253#3960253
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3960253
___
jboss-user mailing list
These messages mean that the respective datasources have been bound, to the
JNDI tree, by the name specified in the logs. This means that later on whenever
you do a lookup of the datasource, you will find it in the JNDI tree.
View the original post :
Well, I tried this, but it didn't work.
Here's my persistence.xml
?xml version=1.0 encoding=UTF-8?
| persistence version=1.0 xmlns=http://java.sun.com/xml/ns/persistence;
| persistence-unit name=DBTestOne-ejb transaction-type=JTA
|
Hello,
We about to migrate toward JBoss AS and we would like not to change our Tomcat
version.
We saw that every JBoss AS version is bound to a given Tomcat Version
http://wiki.jboss.org/wiki/Wiki.jsp?page=VersionOfTomcatInJBossAS
Though, my question is simple:
We would like to have the
any idea?
thanks
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3960257#3960257
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3960257
___
jboss-user mailing list
Please post your code, that would be helpful :)
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3960258#3960258
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3960258
___
jboss-user
normally it should not behave as you describe but should be specific to every
user.
I am going to check that.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3960260#3960260
Reply to the post :
just checked with CR2, it works as I describe :
I login as admin/admin, change the feed URL of the News Feed portlet. Logout
then the feed URL is back to the original value.
If I login then as user/user, I still see the original value.
Do you have a scenario to propose ?
View the original
I did the locking in the following way:
if (message != null) {
| jbpmContext.getSession().lock(message, LockMode.UPGRADE);
| checkForMoreMessages = true;
| Command command = (Command) message;
| command.execute();
|
I might be wrong, but I think the problem is that you use a STATELESS bean. And
this one forgets its state after invokation of a method. I.e. it forgets your
ClientPerson Entity and the id as well. So after every reload of the form a new
ClientPerson is generated - without an id - and so the
I figured out my mistake, but I've run into another one. My code is the
following:
if (System.getSecurityManager() == null){
System.setSecurityManager(new RMISecurityManager());
}
Properties env = new Properties();
env.setProperty(java.naming.factory.initial,
There will be a Seam book? Whow, great :). Any idea when it will be available,
or is this question way to early?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3960272#3960272
Reply to the post :
Hi bfo81m,
thanks for your tipps i am running through the same scope confusing. ;-)
i also tried to make my clientPersonAction component stateful, but the behavior
is the same.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3960273#3960273
Reply to the post
Well. lets' start with the simple case:
This is the source of java stand alone program:
package cachiamo;
import org.jboss.cache.*;
public class Principale {
public static void main(String[] args) throws Exception {
TreeCache tree = new TreeCache();
PropertyConfigurator config = new
is not possible as far as i understand.
I would like to have possibility to have many nested conversations for
different regions of a page. Let's say parent - many children CRUD where a user
can edit many children simultaneously.
With current Seam model i can not come up with a
Hi petemuir,
anonymous wrote : make it conversational
what exactly? my clientPersonAction component or the newClientPerson member.
the whole form is limited to this one page. why should it be conversational?
I thougt a conversation is something like a sub-session for a whole bunch of
pages and
Have a look at:
http://docs.jboss.org/jbossas/jboss4guide/r4/html/ch6.chapt.html
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3960278#3960278
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3960278
Hi,
i use jboss 4.0.2.
I wrote a java-programm thats generating files (generic jpg´s). Users shall be
able to download the files (without authentification).
At the moment i use an apache server, where the users can download the files.
Is there a way, to use jboss like a apache-server. I need a
I've recently installed Jboss-Portal 2.2.1 and when I browsed to the page where
you can edit the /default/index.html, the button Create is creating a new file
instead of just updating the selected file. Is there a way to make it just Save
or Update this File and not to create another one?
i've download jboss portal,my country is china,and could it be easy localized
in other language?such as chinese language?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3960282#3960282
Reply to the post :
http://labs.jboss.com/portal/jbossws/user-guide/en/html/installation.html
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3960283#3960283
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3960283
I have more or less posted about this already, but not hibernate specific (I
was not sure about the cause, and am still not). From what I saw and read, I
guess it is related to EJB3.0-SFSB, JBoss-Cache(1.4) and hibernate interaction.
I have set up a Cluster of two JBoss 4.0.4.GA (modification:
Hi I am trying to integrate a simple Hello World Portlet with a rule.
In order to get it running I have to copy the drools library file into my
WEB-INF/lib/... but my portlet raises exception.
Has someone tried building a portlet with JBOss Rules?
Thanks
View the original post :
Thanks for the reply, t-dome. Your solution has the advantage, that i only need
to re-implement three classes: DBMessageService, DBMessageServiceFactory (for
jbpm.cfg) and CommandExecutor. I my eyes, the only thing that is missing for
clustering is the exception handling for the line
|
I have 2 filters in my web app which need to be called in the correct order,
the ordering is determined by the order in the web.xml file.
Is there a way to tell XDoclet or JBoss IDE which order the filters should be
put in the web.xml file?
Thanks
View the original post :
I have used the user user/user.
I will try now with the admin/admin.
I will reinstall the JBOSS package that contains all products (EA + Portal).
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3960289#3960289
Reply to the post :
Post the contents of your log4j.xml file(Use the Code button above to enclose
the contents in a code block). Also, where are you seeing this output? Is it on
the console or some log file?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3960290#3960290
Reply
just get more detailes for ERROR:
when I click on cancle (which redirects to the login page) or register new user
(which directs to the registration page).I got the following exceptions:
0:51:23,097 INFO [Pages] reading pages.xml
| 10:51:23,137 ERROR [PhaseListenerManager] Exception in
We are trying to create a webservice returning an arbitrary attachment. We took
a look at the JBossWS 1.0.1 User Guide and decided to use JSR109, however we
got the same error you reported. Considering this, we tried building the
jbossws examples, in particular the swa one. Build process
Is this what you are looking for:
http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfiguringMultipleJBossInstancesOnOneMachine
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3960297#3960297
Reply to the post :
sounds good!
Thanks.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3960299#3960299
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3960299
___
jboss-user mailing list
ClassNotFoundException and NoClassDefFoundError are two different things are
have different meaning. Post the exception stack trace that you are seeing.
When you see the NoClassDefFoundError, it may be a case that even the classes
in the .jar file(which you placed in the deploy directory) are
up
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3960301#3960301
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3960301
___
jboss-user mailing list
jboss-user@lists.jboss.org
Read this
anonymous wrote : When you see the NoClassDefFoundError, it may be a case that
even the classes in the .jar file
as
anonymous wrote : When you see the NoClassDefFoundError, it may be a case that
even though the classes in the .jar file
View the original post :
anonymous wrote :
| UId: Error during model data update.
| EMail: Error during model data update.
| phoneNumber: Error during model data update.
|
Looks to me as though user is null.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3960303#3960303
Reply
anyone?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3960304#3960304
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3960304
___
jboss-user mailing list
jboss-user@lists.jboss.org
petemuir wrote : anonymous wrote :
| | UId: Error during model data update.
| | EMail: Error during model data update.
| | phoneNumber: Error during model data update.
| |
|
| Looks to me as though user is null.
I tried to print out the value and some debug informaton in
| ?xml version=1.0 encoding=UTF-8?
| !DOCTYPE log4j:configuration SYSTEM log4j.dtd
|
| !-- =
--
| !--
--
| !-- Log4j Configuration
I take it you mean you put the debug information in your register() method in
RegisterAction? If the model update phase fails the invoke application phase
won't occur (which is when the register() method would be called). Try setting
a breakpoint on one of the setter methods of the entity and
we use resource bundle files to localize content.
look in the different war files of jbos-portal.sar, they contains .properties
file with language translations.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3960312#3960312
Reply to the post :
It's always useful to give an Editor Bean the Conversation Scope.
The method that's invoked by the preceding page (e.g. list page) should be
annotated with @begin(nested=true) and the method being called before leaving
the editor page (e.g. save) should be annotated with @end.
If you do so,
Yes,
you should use a Timer.
implement TimerObject in you StatelessSessionBean, EntityBean or MessageBean.
In your application set a Timer for this Bean.
After that the timout method of your bean is called when the timeout has come
The Timer is persistent (since 4.0.4 also if you shutdown
Hi, I'm trying to load a rules file from a portlet.
I have copied the Eclipse Rules example (DroolsTest.java) and tried working
with it from a Portlet class.
The problem appears when I try to create a new PacakgeBuilder.
Everything works well: read the DRL file (file with the rules) and create a
Please tell me how to remove decorataion from portlet. I have tried the way
given in reference guide but nothing has happened.
In my portlet window i added this code as given in the reference guide
!-- turn the decoration off for this portlet (i.e. no title and
mode/state
I have four properies for the entity bean:
UId
pinHASH
EMail
PhoneNumber.
among those the pinHash is not set directly from the registration page. it is
set in the regiser() method (registeration.java) where the hashcode of the
PIN(get this from the registration page) is caculated.
should this
No.
http://www-128.ibm.com/developerworks/library/j-jsf2
This is a good introduction to the JSF lifecycle and should help you understand
what the error message 'error during model update' means.
As I mentioned above it looks like you never create an instance of user (either
via new User() or
Thanks for your help. I have now implemented the TimedObject interface in my
bean.
The problem is now how to register the Timer. I'd like the (recurring) Timer to
be run right from application startup, before I invoke any of the component
interface methods. Is this possible? Ideally, I'd like
What is the difference between Run and RunAs in Eclipse IDe
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3960336#3960336
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3960336
___
Im trying to develop a web aplication based on the webapp example but without
the JSF and Im using the Bean classes as normal classes and not as beans.
Im geting the tasklist for a user but when I click on the link to the taks
nothing happens, I'm redirecting the link to a Servelet tha calls
I don't have access to commit to the CVS (nor can I do so from work). I
created/commented on a Jira though.
The issue I talk about, is in the action handler. When you have the
executionContext, and do a .getTimer() on it (during a timer action event), it
would always return null.
My fix
I would not suggest jBPM for what you want to do. Just create a simple
jsp/servlet, or use Struts, Spring, Java Server Faces (JSF).
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3960342#3960342
Reply to the post :
petekol wrote : @Begin(id=newEmp, nested = true, ifOutcome = newPage)
| kills it's parent conversation and creates two new conversations where
newEmp is a root one.
|
| @Begin( nested = true, ifOutcome = newPage) works without problems.
|
| could it be a bug?
sorry, seam does not
buddyclassloading should work, but remember it is the plugin that has the
dynamic classloading jars that needs to be a buddy.
Also remember to run eclipse with a -clean argument since eclipse can be
stubborn in actually recognizing new things in manifest.mf/plugin.xml without
it.
View the
HI All,
I am new to SEAM and wondering how easy to integrate an existing AJX
Framework ( jMaki or DWR) into SEAM. Does seam comes with an AJAX Framework ??
Or it only works with JSF Components which support AJAX nature??
Thanks
Sateesh
View the original post :
I see your point. The thing is that those portlets (news) have caching enabled
so if you customize a portlet and change identity, you still have the previous
entry for a while which is a very confusing experience.
Try to edit jboss-portal.sar/portal-samples.war/WEB-INF/portlet.xml and remove
Ok, i will try this.
But: when i have a link in a template and a user doesnt press the save button
is the conversation still open?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3960351#3960351
Reply to the post :
Well, log4j.xml was in my classpath, but log4j.jar wasn't :-)
I added it and now I am able to configure logging output from JBossCache in a
java stand alone application.
Now I'll give a check to WebLogic. log4j.jar is in Weblogic system classpath,
but no output is produced.
thanks to
OOOPS! That should have been EXPLODED EAR won't redeploy... in the subject...
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3960353#3960353
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3960353
Hi,
I am getting a ConcurrentModificationException which I cannot really resolve,
maybe someone has some hints...
I have the following:
| @Stateful
| @Name(accBroker)
| @Scope(CONVERSATION)
| @LoggedIn
| public class AccountBrokerBean implements AccountBroker{
|
|
Hello,
We try to access to a SQLBase database from Gupta and there's only one problem
remaining...
We have the last JDBC Driver from Gupta (v. 9.0.1)
We try to deploy the example cmproster from the ejb directory from
j2eetutorial1.4 from Sun :
- With HyperSonic SQL = no problem.
- with SQLBase
Deal All:
I want to acess remote file system from my swing client running in
different JVM.Does JBoss have some solutions for this purpose?Or anyone can
recommend some open source library or any suggestions to satisfy this
requirement?
Any advice will be great appreciated.
Best
Hi, thanx... i think the problem can has solution with Hibernate.initialize(),
but i don't know what part of the session is closed. I used
Hibernate.isInitialized() to see what is closed and where is closed, but
Hibernate.isInitialized() prints the same that when works fine.
Another idea?
biggef wrote : cpob wrote : According to the XML Schema, you can put a
create-timer element on a process definition, but it never did anything through
my testing
| ie nothing happens when the timer fires ?
| Was the timer cancelled when leaving a node ?
It never created the timer. The
thanks for the article.
Indeed, I don't have a create = true or new User().
but the problem was still there when I added the create = true or new User() in
the registerActon.java
actually, in the booking example I haven't see create= true or new user() in
registerAction.java
View the
Unfortunatley yes. But I think it's not likely that this will cause any
problems. If the user opens another editor page later then it will get its own
new conversation. The old conversation will remain in memory and get deleted
after a certain amount of time.
And there's even another problem
Hello, i thought of posting to the Security forum, but decided to post my
question here because it is strongly related to WebServices.
I m analysing Message security in combination with JAXWS WebServices.
The Java EE 5 tutorial says that XWSS supports deployment onto any of the
following
Thanks Jaikiran,
But I didn't quite understand by 'save the same', you just need to touch the
file right. No changed on the server.log right?
Just touch the log4j.xml file(so that its last modified timestamp changes) and
anonymous wrote : save the same.
View the original post :
Paste your code or copy any exception you are getting.
Thanks.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3960368#3960368
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3960368
Hi,
how in the world did you change your setting from javassist to cglib?
I've beeen fighting for hours with it now.
I've tried
-Dhibernate.bytecode.provider=cglib when starting jboss and
property name=hibernate.bytecode.provider value=cglib / in
persistence.xml to no avail
JBoss console:
hi bfo,
I tried your approach but now i get no changes to my entity.
Steps:
1. I added a new entry
2. i click on the link and get on the edit page
3. i remove a property text that has a hibernate validator
4. i get the validator message
5. i fill in a new value
6. i click on the save button and
That is great! Thank you so much, Thomas.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3958063#3958063
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3958063
___
jboss-user
yes,
the loginAction bean will outject user (@In @Out)but not in the registeraction
bean.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3960370#3960370
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3960370
I meant, open the log4j.xml in a text editor and just do a save(you need not do
any changes to the contents of the file). This will change the last modified
time of the log4j.xml file and the Log4jTimerTask will pick up this change(in
its next scheduled interval of 60 seconds)
View the
Hi,
After some tweaking of the jBPM Console Webapp, I've managed to loosely
integrate the bpm stack with Alfresco's tomcat stack (thanks to some help from
Spring Modules), such that db connections, transactions etc are shared between
jBPM and Alfresco. By tweaking, I mean I've had to modify
PeterJ wrote : Why can't it be formatted using the Nphalanx theme? The style
sheet and graphics are available. Besides, many systems that require logging
on have a default (i.e., non-personalized) look for the login page.
|
Right. Thats the way it used to be. I'll see if I can get that
anonymous wrote : I want to let the user know that they have authenticated but
failed authorization and to trying logging in with another username and
password that has authorization
On detecting a authorization failure, why dont you invalidate the session, so
that user credentials are
Ok here goes, the console
| 14:40:00,163 DEBUG [CommandExecutorThread] waiting for more messages
| 14:40:00,163 DEBUG [StaticNotifier] going to wait for (CMD_EXECUTOR, [EMAIL
PROTECTED])
| 14:40:02,944 DEBUG [JbpmContextInfo] creating jbpm context with service
factories '[message,
wdfink wrote :
| - start some checks for administrativ issues (cleaning or statistics ...)
| In the second case an administrator manage it.
This is the case in my app.
wdfink wrote :
| I create the Timer with a client (WEB or rich) with an administration
console. But I think you can do
Frozen4Time wrote : I think the biggest thing that is needed for the portal
is a WYSIWYG style page layout. While I think the current tree view in the
admin portlet is a nice way to get a big picture view of what is where in the
portal, it's not very intuative or user freindly.
|
We
Ok for the fix you did on the JIRA...
Now, more details about my needs...
After a task terminates, the process decides to follow a transition to a new
task. This last one must start initializing a timer that must fire after a
given timeout. This timeout must be calculated according to business
First: Forget what I just said about @Conversational. When clicking the back
button the browser loads the page from its cache.
Ok, now back to your prob. Maybe your list isn't up to date. Try it like this:
EditBean:
public String save() {
| ...
|
The CR2 release is missing quite a bit of documentation files, so you see a
smaller download size. Also, since CR1 we have removed the thirdparty libs from
the source distribution, which makes this bundle smaller as well.
Aside from the download size, do you have any problems on Portal Startup
Some interested parties, but no chatter on this. Leads me to assume that EJB3
does not, is not, going to support the @Filter Annotation anytime soon.
Bummer...
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3960386#3960386
Reply to the post :
Surprisingly the following jars do not exist in the distribution, so am unable
to perform the steps 15,16 and 17.
15. Copy jboss-ejb3-client.jar from the lib/ directory of the distribution to
jboss-4.0.x/client - jboss-ejb3-client.jar DOES NOT EXIST in the EJB 3.0 RC8
distribution
16. Copy
No, this is due to Version Control - you can recover files from previous
versions.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3960387#3960387
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3960387
A less crazy solution might be to simply access your entity via a
session/conversation scoped Seam component wrapper/decorator. Still could be
more trouble than it's worth.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3958306#3958306
Reply to the post :
sorry , I use the jboss4.02 not jboss4.03
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3958278#3958278
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3958278
___
jboss-user
fguerzoni wrote : From Entity Bean tutorial:
|
| Entity Beans have been given a complete overhaul in EJB 3.0. Entity beans
are plain Java objects that can be allocated with new and
attached/detached/reattached to persistence storage. Entity beans are not
remotable and must be access
Hi,
I know this is the JBoss forum...but figured there must be a few people on here
using the Hibernate forum as well.
Just tried to register on the Hibernate forum but got a message saying the
e-mailer failed. It seems my account was created but is inactive, and the
system can't send the
1 - 100 of 262 matches
Mail list logo