Here's what i did: The entity bean is field mapped and the getters/setters
convert between Collection and Array.
A sample:
| public class MyEntityBean implements java.io.Serializable {
| @Id
| @Column(name="id")
| private int id;
| ...
| @OneToMany(mappedBy =
Hello,
I am rewriting my own CommandFactoryDelegate to manage url mapping and sending
file to show in the CMSPortlet.
in the doMapping method
public ControllerCommand doMapping(ServerInvocation invocation, String
portalContextPath, String portalRequestPath)
the return is with a InvokeW
I dont think there is a way to avoid requests when the application is being
deployed/hot-deployed. However, there is a way to check whether the server has
started successfully or not. These links might help:
http://wiki.jboss.org/wiki/Wiki.jsp?page=StartupAndDeploymentCheck
http://wiki.jboss.or
Have a look at:
http://wiki.jboss.org/wiki/Wiki.jsp?page=RedeployAnApplicationWhenChangeAFileInAnExplodedDeploymentDirectory
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961777#3961777
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=post
Can I ask a question?
In TreeCache.PDF, p17, line 8, there is a sentence "using this isolation level
will not Tx2 read operation.". My English is not very good, I can't understand
it. What does it mean?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961776#39
You could play with the "Threshold" attribute on the appender. You could have 2
appenders(one with Threshold set to INFO and another set to DEBUG). You could
then point your logger to these 2 appenders as follows:
|
|
|
|
Even after setting the threshold on the appen
Tim -
Thanks for your reply and the effort you have put in analyzing the problem. But
I am sorry if I have failed to communicate the real intent of the test program.
The large values for CONSUMER_SLEEP_TIME and RELAYER_SLEEP_TIME was
intentionally put. It is simulating a situation where the sys
Hi *,
One of the problem that I have found was, that we did not specified into the
jbosscmp-jdbc.xml the sql-type for the persistent fields.
I have fixed that but some hidden error still exists. I am still searching. I
hope that I will find the problem soon.
Sebi
View the original post :
htt
hi doankhoavy,
glad that your problem is fixed. I haven't found enough BPEL examples on JBoss
environment. The only reference I have is the document titled "JBoss jBPM BPEL
1.1".
If you have come across more samples I would appreciate your sharing them.
thanks,
sanjeev
View the original post :
Hi,
I used to use JSTL and it will escape all the html appropriately but still
output UTF8 characters. After swtching to JSF, it still escapes fine, but all
the UTF8 chars are escaped as well.
Unless I set the escape attribute to false, but I don't want to do that
eirtther. I need
Ok, so your not really seeing an error. The logging context is INFO. Could you
post the code that is producing this condition?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961770#3961770
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=p
Thanks,
yes, now it works :-)
I had a second bug in the JNDI configuration.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961769#3961769
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961769
I've updated the test harness and I can reproduce both problems - the
increasing number of threads and the NotFoundInDispatcherException. From my
testing it seems that once a thread in the pool has received a message, it is
never destroyed but also is never allocated to another message listener
Hi, has anyone had this problem?
My conversations never timeout. Only when my session timeout do my
conversations timeout too.
Here is my components.xml, conversation should timeout in 2 minutes, but it
took 30 minutes(my session timeout).
|
|
|
| @myFacesLifecycleBug
I've been using page action in the pages.xml file, usually together with
@RequestParameter
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961766#3961766
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961766
_
Yes I plan to make this easy but no right now is probably not the right
time to adopt Seam if this is super-important to you...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961765#3961765
Reply to the post :
http://www.jboss.com/index.html?module=bb&o
And check the section of the docs that describe Seam page actions.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961764#3961764
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961764
#{UserBean.userSelectItems}
this class domt have a method getUserSelectItems(){} just check the case if
exist
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961763#3961763
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p
When I create a new jboss instance and put jar files under lib directory and
sar file under deploy and service gets deployed fine. But the service looks for
the configuration file abc.xml in the class path( by getting class loader and
trying to load it). Where should I put this configuration fil
I use a Jboss server, and run a WAP application in it,
Now ,I want to download a .jar/.jad file to a mobilephone by this wap
application. I made a link to a .JAR file in a xhtml file, but when I visit
this link with mobilephone's browser, It will popup an error : can not find
this page
What s
How to edit my messages?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961758#3961758
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961758
___
jboss-user mailing list
jboss-
Sorry... I was working on a memory leak issue in the past monthso tired...
Now I'm planning the JBoss-Cache related features. If there is no Chinese
document yet, I'll start translation soon.
Ben, how about XiaoGang's work now? Did his team finished any document?
View the original post :
ht
I was trying to set the request character encoding to utf-8, but got an error
after the change. The change was in doFilter() in LogFilter.java. Here is the
code that does that:
public void doFilter(ServletRequest servletRequest, ServletResponse
servletResponse, FilterChain filterChain) thro
I've tried upgrading to CR3 (both the server and the client JAR), and now under
load we get the following exception on the client (it happens anywhere from 20
seconds to a couple of minutes after processing starts):
| 2006-07-31 11:05:10,829 ERROR
org.jboss.jms.client.container.ExceptionInt
Hi all,
In 1.0.2, the WSDL generator now ignores datatypes that are collections. This
was easy enough to fix with my wrapper SOAP interface. However, the complex
datatypes that I return from my functions are entity beans, which themselves
have member collections. I cannot replace these collecti
I'd like to start with jBPM and then work in from there.
Is there a way to just configure JBOSS for this, or do i need to write code to
interface with the services?
thanks, pete
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961749#3961749
Reply to the post
thank you .My jobss is 4.0.2. I use the database pool in the servlet.
I am sure the program of Connection is closed.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961748#3961748
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&m
Hi urswag,
The blog example from the tutorial deals with this kind of stuff:
http://docs.jboss.com/seam/latest/reference/en/html/tutorial.html#blog
This example calls an @Unwrap-annotated @Stateless session bean directly from
the JSF page being loaded. As far as I can tell the statelessness en
Scott,
I sent you the security log by e-mail.
Thank you again,
Igor
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961746#3961746
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961746
___
Here's the SQL exception from the stack trace.
|
| Caused by: java.sql.SQLException: Unique constraint violation: in
statement
|
| [insert into TIMERS TIMERID, TARGETID, INITIALDATE, TIMERINTERVAL,
INSTANCEPK, INFO) values (?,?,?,?,?,?)]
|
| at org.hsqldb.jdbc.Util.throwError(U
My oracle-ds.xml is:
DCDEV
jdbc:oracle:thin:@d2.corp.company.net:1521:DCDEV
oracle.jdbc.driver.OracleDriver
test
test
10
30
5000
15
org.jboss.resource.adapter.jdbc.vend
click back and again next. now the button should be activated.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961743#3961743
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961743
Show the trace level logging of the org.jboss.security category that
demonstrates what is happening. Q4 of the following shows the key categories:
http://wiki.jboss.org/wiki/Wiki.jsp?page=SecurityFAQ
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961742#396174
This is a log4j config issue, but I would doubt this is supported. See
http://logging.apache.org/log4j/docs/
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961741#3961741
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3
Hello,
im running into the same problem like
http://jboss.org/index.html?module=bb&op=viewtopic&t=85448
The last server messages are:
23:19:10,312 INFO [EjbModule] Deploying CustomerBean
23:19:10,453 INFO [EjbModule] Deploying AccountBean
23:19:10,468 INFO [EjbModule] Deploying TxBean
23:19:
resolved was really jndi problem
MyEARName/#{ejbName}/local
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961739#3961739
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961739
__
Hello,
I'm looking for a One2Many example which is just good enough for a beginner
like me ... i.e. not too complicated ;-) I've looked at the issues example, but
I could not simplify it for my purposes, it didn't work - the editor stuff
killed me.
In the end I'd like to descent several hierarc
of cource you are right - a composite key or just a additional primary key for
the entity.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961737#3961737
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961737
___
Do you have a pojo for your Category object?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961736#3961736
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961736
___
jboss-user
I have a many to many relationship that is handled by a join table. Here's the
simple "diagram" :
campaign -> campaign_adslot_xref <- ad_slot
When I create a new campaign object and add adslots to the relationship to get
the entries in the join table created, for some reason, persist is trying t
Ok, I've seen posts on the fact that Seam currently requires JSF. I'm
wondering whether support for non-JSF view technologies is planned. Our app is
being build using XSLT views with in-browser transformations, so we don't want
any MVC type stuff, other than abstraction from the HTTP(Response|
I'm a bit lost as to your response.
Do you want to figure out the class name at runtime and dynamically pass it?
You can use reflection facilities. Not sure what you mean by redundant code,
use standard OO techniques and patterns to reduce redundancy in code. Or
create some util libraries th
Deploying the seam hibernate example with ant and a fresh tomcat 5.5.17 install
gives me following error:
...
| INFO 30-07 20:04:15,265 (Log4JLogger.java:info:94) -Component: hotel,
scope: CONVERSATION, type: ENTITY_BEAN, class:
org.jboss.seam.example.hibernate.Hotel
| INFO 30-07 20:04:1
part of jboss initialize log:
...
15:03:53,203 INFO [NamingHelper] JNDI InitialContext
properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory,
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
15:03:53,296 INFO [JmxKernelAbstraction] installing MBean:
j
yeah i use ant to do all (javac,war,jar,ear,deploy) , the problem was in the
components.xml, it was not getting the value of the properties and one of the
property was to do something that i didn´t need. now is fine
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic
Run ant with the deploy target of your choice, inspect the created .ear or .war
file and compare the libs directory with your manually setup.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961729#3961729
Reply to the post :
http://www.jboss.com/index.html?mo
"[EMAIL PROTECTED]" wrote : I have commited my test cases today in the CVS that
assert the correct behavior for instances and instances per user.
|
| So now the news portlet behave correctly except that it still has caching
enabled which makes the results wrong sometime.
|
| I think I c
I have commited my test cases today in the CVS that assert the correct behavior
for instances and instances per user.
So now the news portlet behave correctly except that it still has caching
enabled which makes the results wrong sometime.
I think I can fix this by adding in the cache key the u
For the join object, don't you need to define a composite primary key,
otherwise you will get a "No identifies exists for specific entity" error on
startup?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961726#3961726
Reply to the post :
http://www.jboss.c
tanx Tlex was really that, now i´m getting a missing library, tanx again man
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961725#3961725
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961725
_
Hi
I have managed to solve the problem.
I have used replSync-service.xml instead of pojocach-service.xml , with the
appropriate changes, ()
and it did the trick.
Thanks
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961724#3961724
Reply to the post :
http
Hello
Before the page is displayed some data should be retrieved. There is no
possibility for example with an action in a outputLink.
Is there somewhere a good example how I can realize this.
Thanks
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961722#39617
in my ejb i have such a construct...
private long productsId;
private List categories;
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
@Column(name = "products_id")
public long getProductsId() {
return productsId;
}
what you describe is a SOA, jBPM BPEL is good for the orchestration. But the
core imo could (should?) be an esb like solution. If it is simple, you can
suffice yust with jBPM BPEL, but maybe JBoss ESB (with jBPM BPEL for more
complex orchestration) would be a better choice.
View the original po
Can I configure jboss to use different log files for different log levels for
my application. For example the info level to be logged in file myapp_info.log
and the debug level in the myapp_debug.log so when I use log.info("some text")
this entry goes to the myapp_info.log and accordingly for lo
Can I configure jboss to use different log files for different log levels for
my application. For example the info level to be logged in file myapp_info.log
and the debug level in the myapp_debug.log so when I use log.info("some text")
this entry goes to the myapp_info.log and accordingly for lo
Check if your components.properties file is in place.
If it is try replacing all @xyz@ entries in components.xml with values from
components.properties.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961716#3961716
Reply to the post :
http://www.jboss.com/
I've run into a strange problem with JBossWS-1.0.2.GA installed on
JBoss-4.0.4.GA. In my test environment, I cannot use port 8080, so I have
configured tomcat to run on a different port. I set up a simple test web
service similar to the examples in the user guide, deployed it, and took a look
i have two tables:
categories_id BIGINT(20) NOT NULL,
image VARCHAR(45) NOT NULL,
parent_categories_id BIGINT(20) NOT NULL,
sort_order INTEGER(3) NOT NULL,
last_modified DATETIME NOT NULL,
timestamp DATETIME NOT NULL,
PRIMARY KEY(categories_id)
);
CREATE TABLE categories_lang (
ca
59 matches
Mail list logo