Hello
I'm migrating the GlassFish EJB 3 application to Spring.
The application contains number of entities and JPA services that load/store these entities from/to database.
The database is...
Type: Posts; User: victor; Keyword(s):
Hello
I'm migrating the GlassFish EJB 3 application to Spring.
The application contains number of entities and JPA services that load/store these entities from/to database.
The database is...
The App1 configuration:
<bean id="mbeanServer" class="org.springframework.jndi.JndiObjectFactoryBean">
<property name="jndiName" value="java:comp/env/jmx/runtime" />
</bean>
<bean...
Hello, I need help with the following design.
I have a web application (App1) that uses spring and puts some beans in session scope using "aop:scoped-proxy".
The application works fine, all the...
Hello Raphael,
my persistence.xml is as follows:
<persistence xmlns="http://java.sun.com/xml/ns/persistence" version="1.0">
<persistence-unit name="Simple" transaction-type="JTA">
...
I've found the problem in Weblogic deployment:
I've removed the
<property name="loadTimeWeaver">
<bean class="org.springframework.instrument.classloading.SimpleLoadTimeWeaver"/>...
package com.jacada.config.data;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.xml.bind.annotation.XmlRootElement;
import...
<Feb 28, 2007 5:59:29 PM GMT+02:00> <Error> <HTTP> <BEA-101216> <Servlet: "context" failed to preload on startup in Web
application: "ServerConfigurationDbTestWithRAmssql"....
Weblogic exceptions:
Warning: Caught exception attempting to use SAX to load a SAX XMLReader
Warning: Exception was: java.lang.ClassCastException: weblogic.apache.xerces.parsers.SAXParser...
Websphere exception:
org.springframework.dao.InvalidDataAccessApiUsageException: Unknown entity: com.jacada.config.data.SimpleConfigurationObject; nested exception is...
Hello,
I would like to use the Spring 2.0 JPA support with Hibernate 3.2.
I have a standalone application which is works fine.
Now I would like to run this application on Weblogic 9.2/Websphere...
Hello all,
I know what was the problem and I think that I have a solution.
The problem was that in the runtime there were 2 MBeanServers, and the client query was ponting to the wrong one.
...
Thank you David,
both client and server are running on the same machine, and both of them are configured with "localhost" as hostname.
So it probably something else.
Victor.
I've added lazy-init="false" to my beans - same result.
I've connected with jconsole and I can not see the MBean (I see only the connector/rmi MBean which is the serverConnector).
my new server...
Than you.
I've tried to change the url in the client so it will be the same as in the server, but I've got the same exception.
Victor.
Hello,
I'm trying to implement JMX server side and client side.
I have the following xml in the server side:
<beans>
<bean...
Thanks you for the answer,
in my case the code is running inside the application, so it does not need to connect to Websphere.
I will continue to search in Websphere documentation.
Hello,
I'm using Spring 2.0 in my applications in Websphere 6.1.
Now there's a requirement to calculate the host and port on which this specific instance of websphere is listenning.
Is it possible...
No, it doesn't help - the same ClassCastException
When I do mif.getObjectType() I get MyInterface which is good I guess,
but the casting fails.
If I do
MyInterface mi = (MyInterface)appContext.getBean("MyServiceBean");
instead, every thing...
The line:
ConfigurableHttpInvokerProxyFactoryBean mif = (ConfigurableHttpInvokerProxyFactoryBean) appContext.getBean("&MyServiceBean");
is OK (what is this & ), but the line:
MyInterface...
I've tried, but
I don't have an instance of my HttpInvokerProxyFactoryBean but Proxy$ instead and I can not custing for my implementation.
So I can not do it.
My sources are:
public class...
Thanks again.
But it is not usefull for me to set the url in the invoke() method itself.
I want to set the url from outside and the to invoke, but in order to invoke I need the instance of...
Thank you for the answer,
As I understand the actual values of serverName, httpPort etc. are in remote.properties file,
my requirement is to set the url on the fly during the runtime.
Is it...
Hello,
I'm using HttpInvokerProxyFactoryBean to access my http remote object.
my applicationContext.xml:
<beans>
<bean id="MyServiceBean"
...
Hello,
I need to develop web application that can be easily invoked by remote users.
I want to use Spring framework in order to wire my objects and to provide the http remoting.
Please see below...