A limitation of ejb or a limitation of jrun?
Hi
I'm working now with jrun designing a few entity beans and i have i problem.
I'm going to explain the situation.
Let's imagine a couple of database tables with the next definition:
TABLE1=(PK(attrib1),....,more attributes.)
TABLE2=(PK(attrib2),....,FK(TABLE1.attrib1),...)
TABLE3=(PK(FK(attrib2),attrib3),........)
At this point i've designed 3 components for representing the elements of the tables
When designing the TABLE3-component i want a method for finding all items at TABLE3 that are related with items at TABLE2 that have a concrete value of attrib1 (FK). it means that i want to return all items of TABLE3 that appear at TABLE2 and with an specific value of the FK.
The syntax of this method should be something like this:
public Collection findByAttrib1(String attrib1) { .. }
Of course this method appears at the Home interface of the TABLE3-component.
When i want to use CMP1.x persistence the app-server refuses to receive a value to be used at the SELECT statement that isn't included at the TABLE3 attributes list. It seems that i only can specify attributes from TABLE3 when i'm going to create the statement at the .xml config file.
So my question is:
is it a limitation of jrun? or this is not allowed at the ejb specification?
When i want to use CMP1.x persistence Why don't you use CMP 2.0 ?
is it a limitation of jrun? Yes, because CMP 1.1 doesn't specify any standard for CMP finder queries at all.
or this is not allowed at the ejb specification?It can be done with CMP 2.0 and EJB QL, like this:
SELECT OBJECT(o) FROM table3 t, IN (t.table2Items) x WHERE x.fk=?1
Similar Messages
-
JRun 4.0 initialization in iPlanet-WebServer fails
We are facing problem with JRun 4.0 initialization in iPlanet
Web Server 6.0SP9.
Recently sun patch was applied with details as follows:
NAME: Solaris 8 Recommended Patch Cluster
DATE: Oct/04/06
And after this we have observed the JRun 4.0 initialization
fails reporting the following error in iPlanet error log:
[16/Apr/2007:12:36:30] info (20514): successful server
startup
[16/Apr/2007:12:36:30] info (20514):
iPlanet-WebServer-Enterprise/6.0SP9 B11/04/2004 06:35
[16/Apr/2007:12:36:31] info (20514): jrNSAPI[init] reports:
JRun 4.0 (Build 54102) NSAPI Extension - Oct 23 2002 11:10:21
[16/Apr/2007:12:36:31] warning (20514): jrNSAPI[init]
reports: initProxy failed to fetch server properties
[16/Apr/2007:12:36:31] warning (20514): jrNSAPI[init]
reports: could not initialize Server_1:172.29.27.86:51002
[16/Apr/2007:12:36:31] warning (20514): jrNSAPI[init]
reports: Couldn't initialize from remote server, deferring init
till request time.
[16/Apr/2007:12:36:31] info (20514): pssFilter: Init
[16/Apr/2007:12:36:32] warning (20515): On group group1,
servername prbpluww32.bp.com does not match subject "MANTA.BP.COM"
of certificate Server-Cert.
[16/Apr/2007:12:36:32] warning (20515): In secure virtual
server https-prbpluww32.bp.com, urlhost prbpluww32.bp.com does not
match subject "MANTA.BP.COM" of certificate Server-Cert.
[16/Apr/2007:12:36:32] info (20515): Installing a new
configuration
[16/Apr/2007:12:36:32] info (20515): [LS ls1]
https://prbpluww32.bp.com, port 443 ready to accept requests
[16/Apr/2007:12:36:32] info (20515): A new configuration was
successfully installed
[16/Apr/2007:12:36:32] info (20515): Using the Solaris VM
v1.2.2 from Sun Microsystems Inc.
[16/Apr/2007:12:36:32] info (20515): Java VM classpath:
/asera/apps/iplanet/servers/plugins/servlets/examples/legacy/beans.10/SDKBeans10.jar:/ase ra/apps/iplanet/servers/bin/https/jar/NSServletLayer.jar:/asera/apps/iplanet/servers/bin/h ttps/jar/NSJavaUtil.jar:/asera/apps/iplanet/servers/bin/https/jar/NSJavaMiscUtil.jar:/aser a/apps/iplanet/servers/bin/https/jar/servlet.jar:/asera/apps/iplanet/servers/bin/https/jar /servlet-2.3-filters-api.jar:/asera/apps/iplanet/servers/bin/https/jar/jsp092.jar:/asera/a pps/iplanet/servers/bin/https/jar/jaxp.jar:/asera/apps/iplanet/servers/bin/https/jar/crims on.jar:/asera/apps/iplanet/servers/bin/https/jar/xalan.jar:/asera/apps/iplanet/servers/bin /https/jar/jspengine.jar:
[16/Apr/2007:12:36:32] info (20515): Loading
IWSSessionManager by default.
[16/Apr/2007:12:36:32] info (20515): IWSSessionManager:
Maximum number of sessions is 1000
[16/Apr/2007:12:36:32] warning (20515): for host 0.0.0.0
trying to GET /, jrNSAPI[1] reports: serverstore
/asera/apps/jrun4/lib/wsconfig/1/jrunserver.store
[16/Apr/2007:12:36:32] warning (20515): for host 0.0.0.0
trying to GET /, jrNSAPI[1] reports: bootstrap 172.29.27.86:51002
[16/Apr/2007:12:36:32] warning (20515): for host 0.0.0.0
trying to GET /, jrNSAPI[1] reports: initProxy failed to fetch
server properties
[16/Apr/2007:12:36:32] warning (20515): for host 0.0.0.0
trying to GET /, jrNSAPI[1] reports: could not initialize
Server_1:172.29.27.86:51002
[16/Apr/2007:12:36:32] warning (20515): for host 0.0.0.0
trying to GET /, jrNSAPI[1] reports: Couldn't initialize from
remote server, JRun server(s) probably down.
[16/Apr/2007:12:36:33] warning (20515): for host 0.0.0.0
trying to GET /, jrNSAPI[57984] reports: serverstore
/asera/apps/jrun4/lib/wsconfig/1/jrunserver.store
[16/Apr/2007:12:36:33] warning (20515): for host 0.0.0.0
trying to GET /, jrNSAPI[57984] reports: bootstrap
172.29.27.86:51002
[16/Apr/2007:12:36:33] warning (20515): for host 0.0.0.0
trying to GET /, jrNSAPI[57984] reports: initProxy failed to fetch
server properties
[16/Apr/2007:12:36:33] warning (20515): for host 0.0.0.0
trying to GET /, jrNSAPI[57984] reports: could not initialize
Server_1:172.29.27.86:51002
[16/Apr/2007:12:36:33] warning (20515): for host 0.0.0.0
trying to GET /, jrNSAPI[57984] reports: Couldn't initialize from
remote server, JRun server(s) probably down.
Finally we were forced to uninstall the sun patch and after
that we didn't come accross with error. Are there any identified
limitations with JRun on this sun patch? Can anybody help us in
resolving this problem.
Thanks,
Mohanput classes12.jar path in jvm12.conf file of web server. You can configure this through GUI also. try renaming classes12.jar to classes12.zip also
Ananda Rao -
What are the limitations of using RMI over http with EJB?
We have a requirement for an intranet application where the majority of the clients
(Swing clients) will be able to connect directly using either T3 or IIOP. However,
there are a number of clients that will need to traverse a firewall.
We could use SOAP, but I dont want to lose the value that RMI gives us (clustering,
security, statefullness support etc). I am thinking of using RMI over http - which
Weblogic supports.
I have been trying to find some documentation on the topic - but havent succeded
so far. What I would like to understand is: What limitations I would have using
RMI over http. Do I lose anything (apart from performance) using http?
Regards,
NickYou will have to enable tunneling on the server side and I have not heard of any
complaints of using it.
Shiva.
Nick Minutello wrote:
In fact, we are not using applets - and its not an internet application. We are
using Java Webstart and Swing on our intranet (the problem of the size of the
weblogic.jar is a pain - but well known)
The question for me is; Apart from performance, are there any limitations to using
RMI over http?
Can we also use JMS over http?
-Nick
Shiva Paranandi <[email protected]> wrote:
"Old wine new bottle".
The biggest problem with the approach of Applets like
stuff connecting to weblogic is the size of the classes that need to
be supplied to the
users. The applets/swing would need a lot of weblogic classes which you
need to
supply as jar file. This file can be in the order of MBs depending on
the
weblogic version. we had a similar kind of problem and migrated the applets
to use
servlets instead of directly invoking ejbs or jms topics etc. Having
the applets
connect
to servlets you would still benefit from the features of clustering etc.
and added to
that
you would reduce the number of remote calls.
Shiva.
Nick Minutello wrote:
We have a requirement for an intranet application where the majorityof the clients
(Swing clients) will be able to connect directly using either T3 orIIOP. However,
there are a number of clients that will need to traverse a firewall.
We could use SOAP, but I dont want to lose the value that RMI givesus (clustering,
security, statefullness support etc). I am thinking of using RMI overhttp - which
Weblogic supports.
I have been trying to find some documentation on the topic - but haventsucceded
so far. What I would like to understand is: What limitations I wouldhave using
RMI over http. Do I lose anything (apart from performance) using http?
Regards,
Nick -
Ejb : entity beans limitations
what are the limitations of bmp & cmp?
"Chinthala Upender" <[email protected]> wrote in message news:28421839.1104135395183.JavaMail.root@jserv5...
what are the limitations of bmp & cmp?According to my experience the main limitation is that engineers are
sometimes reluctant to read books on basics of Enterprise Java Beans.
To overcome this limitation please check this:
http://www.amazon.com/exec/obidos/tg/detail/-/0471417114
Regards,
Slava Imeshev -
Maximum number of EJBs (any limitation?)
Hi,
Does anyone know what is the limitation as to the number of stateless session beans within a J2EE application server (Weblogic or Websphere)? Has anyone tried with hundreds of them in a single EAR? I would appreciate a response of someone who could shed some light about this or could point me to some technical documentation about it.
Thank you,Hello Alejca,
We have deployed multiple Stateless Session Beans [~20] with Maximum Bean Pool count as 100 and monitored the Performance.
It doesnot affect anything other than the Java Heap Size increases exponentially when the Beans are being used...
You need to take care of the Memory allocated for each Session Bean and consider Hardware Memory upgrade to handle such a load. The Application Server which we used was BEA Weblogic in JDK 1.3.1 Version. Though the JVM is enhanced for better performance and crash proof in JDK 1.4 and 1.5, the 1.3 JVM was able to handle the Bean creation and Garbage collection.
Some simple easy ways to monitor the bean and server performance are :
1. Create a Thread Program for each Bean. Spwan them in 100 of numbers to access the Beans.
2. Have some logic in the Beans so that some server processing is being done rather than simply calling and response coming back.
3. Open WebLogic / WebSphere Java Memory monitoring console to find any problems. You will be able to see that the garbage collection happens when the heap reaches its peak.
4. Moreover, you can also monitor the Bean Creation and Removal in the Bean Monitoring Console in WebLogic. I am not sure if this is available in WebSphere.
Other alternatives to monitor Server stability is to enable and monitor SNMP both in the Server OS level and BEA WebLogic Server level.
If you compare the request to response time, you can identify that the more load you throw in, the response time is more... But in reality if you believe that that is what you expect in you application, try increasing the Bean count or even the Java minimum and maximum memory paramater during startup...
Hope these tips help you. Do let us know what you have found...
Thanks and regards,
Pazhanikanthan. P -
EJB 3.0 Stateful - Limiting number of bean instances
Hello EJB Experts,
I have just started to learn EJB 3.0 and have some basic queries. The application server that I am using is Glassfish. Please find my queries below:
1. To remove an bean instance from the container, we can use the annotation '@Remove'. I basically had 2 methods and annotated the 2nd method with '@Remove'. Whenever the 2nd method is called, the container is removing this instance also in my program. My problem is that, i might get some invalid parameter values in the 2nd method, so in that case I have to just log the error message and whenever the input parameters are correct, then only the instance should be removed. But lets say, if someone calls my 2nd method with invalid parameters, I log the message and the container removes it, but after some time if the 2nd method is called with correct parameters, then the instance will not be available. Can we programatically tell the container when to remove a bean instance?
2. From the docs, I am clear that pooling works only for 'Stateless' beans. I however (I am using 'Statuful' bean), wanted to limit the max number of instance to 2. I did below mentioned configuration in the 'sun-ejb-jar.xml' file:
<bean-cache>
<is-cache-overflow-allowed>false</is-cache-overflow-allowed>
<cache-idle-timeout-in-seconds>1</cache-idle-timeout-in-seconds>
<max-cache-size>2</max-cache-size>
<resize-quantity>0</resize-quantity>
<removal-timeout-in-seconds>2</removal-timeout-in-seconds>
<victim-selection-policy>LRU</victim-selection-policy>
</bean-cache>
But i think, it is still creating more that 2 instances of this bean.
Please help me in getting answers to these questions. I will be very thankful for your replies.
Regards,
San
Edited by: SolarisUser1 on Jun 27, 2010 11:00 PM@Remove is used for stateful EJBs and you call it when your client has finished using that instance of the stateful EJB.
If you are passing in parameters to the method and letting it do some work with your parameters then perhaps it should not be a remove method at all. Make it a normal method and only put cleanup related logic in the remove method. You can also throw some application exception and rollback if the parameters are not correct. -
Major EJB scalability limitation/bug
We have a system that uses WebLogic 4.5 for JSP and container-managed EJB
and started seeing really bad performance degradation under any sort of load
test. After a couple of days of debugging, I found that method calls on EJB
objects would get slower at a rate that was worse than proportionate to
the number of beans in the system. Calling a read-only method
("getUserName()") on a bean ("UserBean") would take around .2ms when there
is only one UserBean in the cache, around 2.5ms when there are 100 beans in
the cache, and around 100ms when there are 2000 beans in the cache.
After some poking around, I found that virtually all (96%) of the time was
going into the LRUCache manager, which has a lot of unnecessary debugging
code that recreates the entire cache hashtable on every method call. This
results in a huge number of allocations and inserts, and renders the system
basically unusable at any real user load.
Has anyone else seen this kind of performance degradation under WL4.5?
Anyone have a fix/workaround?See the thread:
news://www4.weblogic.com/<7ru0hr$ell$[email protected]>
mbg
David Engberg wrote:
We have a system that uses WebLogic 4.5 for JSP and container-managed EJB
and started seeing really bad performance degradation under any sort of load
test. After a couple of days of debugging, I found that method calls on EJB
objects would get slower at a rate that was worse than proportionate to
the number of beans in the system. Calling a read-only method
("getUserName()") on a bean ("UserBean") would take around .2ms when there
is only one UserBean in the cache, around 2.5ms when there are 100 beans in
the cache, and around 100ms when there are 2000 beans in the cache.
After some poking around, I found that virtually all (96%) of the time was
going into the LRUCache manager, which has a lot of unnecessary debugging
code that recreates the entire cache hashtable on every method call. This
results in a huge number of allocations and inserts, and renders the system
basically unusable at any real user load.
Has anyone else seen this kind of performance degradation under WL4.5?
Anyone have a fix/workaround?--
=====================================================
Reply to the newsgroup. Don't reply to this mail
alias. This is used only for answering posts on
WebLogic Newsgroups.
===================================================== -
Limiting the no. of EJB instances??
hi there..
am building a J2EE application where i want to limit the no. of instances created of one of my session beans,"FreeInfoBean", to only one instance no matter what is the no. of users visits my site; in other words, i wana have only "one" bean instance for "many" users. How can i do this??
i have tried with modifying the "max-instance" in the deployment descriptor as following:
<session-deployment max-instance="1" name="FreeInfo"/>
but it did not solve the problem!!!
any idea about how to solve this problem is welcomed...
thanx n advance.. Mouradit should be max-instances="1" and not max-instance.
what version are you using ?
regards
Debu -
Limitation on the number of applications for a domain?
Does anyone know if there is a limitation on the number of applications you can
deploy on a domain for weblogic server 7?java -XX:MaxPermSize=... worked, so now the app server starts fine
Thanks a lot.
Rob Woollen <[email protected]> wrote:
Jing wrote:
Rob,
I deployed 291 EJBs into the applications directory for a weblogicdomain, since
each jars stands on its own, so weblogic treats them as individualapplications.
Interesting. Is that really how you want to structure your server?
The behaviour I ran into was weblogic server was not able to startcorrectly,
it seems to stuck on some infinite loop, keep printing out the samemessage saying
it's trying to active xxx.jar, but as soon as I reduce the number ofEJBs to a
certain number(238) in this directory, weblogic server started correctly,deployed
xxx.jar just fine.Without more information (like showing me what error it printed out),
I
can't tell you where the problem lies.
However, the server is limited by the heap size, and the class size
space is another limit you might hit.
I would suggest increasing the heap size as well as the MaxPermSize in
your JVM.
-- Rob
Is there any configuration I need to set on the domain?
Thanks
Rob Woollen <[email protected]> wrote:
No limit.
-- Rob
Jing wrote:
Does anyone know if there is a limitation on the number of applicationsyou can
deploy on a domain for weblogic server 7? -
Question on EAR file Limitations
To Whom it may concern,
We are utilizing Weblogic 9.2 R3 in a 32-Bit Windows Server environment and I am having trouble deploying a ear file. The EAR file contains the help files for our IBM application but it seems to not want to show many of the files when you look at the help for the applicatons. I believe it has to do with the fact that the number of files in the EAR file have exceeded 65535. The # is around 69000 files.
I removed several application help folders to bring the build down to 65100. I redeployed he ear and the help files seem to appear.
Is there a way to enable Weblogic to deploy the EAR file if the number of files in the ear is past 65535? Also is there a technote for the limitations of Weblogic 9.2 32 bit EAR files?
Thanks in Advance!
Edited by: user2237078 on Jul 26, 2011 4:59 PMAn EAR should have an "application.xml" in the META-INF directory within the JAR. You might take a look at it. I suspect there is an EJB module specified by that name.
-
Parameter length limition passing to java stored procedure! help
hi:
i am working with java stored procedure to do some resource consuming work. i have to pass a long string (varch2) or bytes(log raw) which is larger than 32k which is the limitation
set by oracle.
is there a walk around?
another question:
i have to call java stored procedure from session beans ( weblogic app server) and how can i make sure the code
in session beans and that in java stored procedures to be in
the same transaction?
regards
daniel wangHi Daniel,
In answer to your first question: use a CLOB (for the long string)
and a BLOB (for the long raw). Do a search for CLOB and BLOB at the
Technet site:
http://technet.oracle.com
There are lots of resources including documentation and sample code.
In answer to your second question: first, let me say that the J2EE
forum is more suitable for that question (I haven't looked yet, but
you may have posted there as well!). Anyway, you need to set an
appropriate transaction attribute in your "ejb-jar.xml" descriptor
file for your session bean. If you want to make sure that the
session bean and java stored procedure participate in the same
transaction, I suggest using "Required", as in:
<trans-attribute>Required</trans-attribute>
Hope this helps.
Good Luck,
Avi. -
A save request exceeded the quantity limits for a given structure type.
I am running PI7.1 SP6..
I have created all the objects and done all of the configuration in the Enterprise Service Builder and the Integration Builder and I am trying to publish the Webservice in the Service Registry, but after displaying the WSDL, and then publishing the Webservice, I get the following error:
com.sap.aii.ib.core.uddi.RegistryClientException: A save request exceeded the quantity limits for a given structure type.
Number of Business Entities exceeds your limit of 1 (2)
at com.sap.aii.ib.server.uddi.RegistryClientDelegateProvider$EjbRegistryClient.publishServices(RegistryClientDelegateProvider.java:338)
at com.sap.aii.ibdir.server.wsquery.WSQUDDISrvPublishTB.execute(WSQUDDISrvPublishTB.java:112)
at com.sap.aii.ibdir.core.simulation.DefaultTaskBroker.execute(DefaultTaskBroker.java:158)
at com.sap.aii.ibdir.server.simulation.TaskQueryService.specialQuery(TaskQueryService.java:31)
at com.sap.aii.ib.server.query.SpecialQueryServiceProvider$SpecialQueryServiceImpl.specialQuery(SpecialQueryServiceProvider.java:63)
at com.sap.aii.ib.server.query.QueryServiceImpl.specialQuery(QueryServiceImpl.java:443)
at com.sap.aii.ib.server.query.QueryServiceBean.specialQuery(QueryServiceBean.java:112)
at sun.reflect.GeneratedMethodAccessor534.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:43)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:166)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatesTransition.invoke(Interceptors_StatesTransition.java:19)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Resource.invoke(Interceptors_Resource.java:71)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.doWorkWithAttribute(Interceptors_Transaction.java:38)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.invoke(Interceptors_Transaction.java:22)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:189)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatelessInstanceGetter.invoke(Interceptors_StatelessInstanceGetter.java:16)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_SecurityCheck.invoke(Interceptors_SecurityCheck.java:21)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_ExceptionTracer.invoke(Interceptors_ExceptionTracer.java:16)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at com.sap.engine.services.ejb3.runtime.impl.DefaultInvocationChainsManager.startChain(DefaultInvocationChainsManager.java:133)
at com.sap.engine.services.ejb3.runtime.impl.DefaultEJBProxyInvocationHandler.invoke(DefaultEJBProxyInvocationHandler.java:164)
at $Proxy2177.specialQuery(Unknown Source)
at sun.reflect.GeneratedMethodAccessor533.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sap.engine.services.rmi_p4.P4DynamicSkeleton.dispatch(P4DynamicSkeleton.java:234)
at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:351)
at com.sap.engine.services.rmi_p4.server.ServerDispatchImpl.run(ServerDispatchImpl.java:70)
at com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:62)
at com.sap.engine.services.rmi_p4.P4Message.execute(P4Message.java:37)
at com.sap.engine.services.cross.fca.FCAConnectorImpl.executeRequest(FCAConnectorImpl.java:872)
at com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:53)
at com.sap.engine.services.cross.fca.MessageReader.run(MessageReader.java:58)
at com.sap.engine.core.thread.execution.Executable.run(Executable.java:108)
at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:304)
Caused by: com.sap.esi.uddi.sr.api.ws.PublishServicesFault: A save request exceeded the quantity limits for a given structure type.
Number of Business Entities exceeds your limit of 1 (2)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at com.sap.engine.services.webservices.espbase.client.bindings.impl.JAXWSUtil.deserializeException(JAXWSUtil.java:357)
at com.sap.engine.services.webservices.espbase.client.bindings.impl.JAXWSUtil.processFault(JAXWSUtil.java:327)
at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.call_SOAP(SOAPTransportBinding.java:987)
at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.callWOLogging(SOAPTransportBinding.java:703)
at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.call(SOAPTransportBinding.java:673)
at com.sap.engine.services.webservices.espbase.client.jaxws.core.WSInvocationHandler.processTransportBindingCall(WSInvocationHandler.java:167)
at com.sap.engine.services.webservices.espbase.client.jaxws.core.WSInvocationHandler.invokeSEISyncMethod(WSInvocationHandler.java:120)
at com.sap.engine.services.webservices.espbase.client.jaxws.core.WSInvocationHandler.invokeSEIMethod(WSInvocationHandler.java:83)
at com.sap.engine.services.webservices.espbase.client.jaxws.core.WSInvocationHandler.invoke(WSInvocationHandler.java:64)
at $Proxy2689.publishServices(Unknown Source)
at com.sap.esi.uddi.sr.api.ws.ejb.ServicesRegistryProxyFacade.publishServices(ServicesRegistryProxyFacade.java:358)
at sun.reflect.GeneratedMethodAccessor1059.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:43)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:166)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatesTransition.invoke(Interceptors_StatesTransition.java:19)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Resource.invoke(Interceptors_Resource.java:71)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.doWorkWithAttribute(Interceptors_Transaction.java:38)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.invoke(Interceptors_Transaction.java:22)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:189)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatelessInstanceGetter.invoke(Interceptors_StatelessInstanceGetter.java:16)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_SecurityCheck.invoke(Interceptors_SecurityCheck.java:21)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_ExceptionTracer.invoke(Interceptors_ExceptionTracer.java:16)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at com.sap.engine.services.ejb3.runtime.impl.DefaultInvocationChainsManager.startChain(DefaultInvocationChainsManager.java:133)
at com.sap.engine.services.ejb3.runtime.impl.DefaultEJBProxyInvocationHandler.invoke(DefaultEJBProxyInvocationHandler.java:164)
at $Proxy255.publishServices(Unknown Source)
at com.sap.aii.ib.server.uddi.RegistryClientDelegateProvider$EjbRegistryClient.publishServices(RegistryClientDelegateProvider.java:335)
... 41 more
As always, these errors are so informative!
It has published the Webservice in the Service Registry, but not with the End Points...
has anyone come across the message before and know how to fix it so I can successfully publish the Webservice???
I have searched SDN and OSS - also opened an OSS note about another error I am experiencing...Hi Barry
Have you already published for the same server or this is first time you tried and got error ?
Did you referred Troubleshooting guide
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e05829a5-55aa-2a10-f694-ba8e30c3c122
Master installation guide
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e0301486-758c-2a10-9d84-a195556df422
Thanks
Gaurav -
I am using portal 8.1
was trying to upload a file (.doc) to the repository, and encountered such error.
com.bea.content.RepositoryRuntimeException: Error creating property: file. Please
verify the Property size is within the Repository limits.
TIAHi,
hopefully this may help towards a solution.
Are you using the Loader EJB ?
1) Are you publishing to a root node within the "BEA repository" ?
-> does this work ?
Do you have code that reads something like:
loader.loadDirectory("firstNode");
loader.loadFile("firstNode", myBinaryValue, myBytes, myProperties);
-> Having banged our heads off a lot of walls on this, we think that it is only when you try to publish to a sub-node within the repository that problems appear.
2) Try publishing to a sub-node in this manner:
loader.loadDirectory("firstNode/secondNode"); // Ensure exist in Repository
String contentNodeName = "firstNode/secondNode/myContentNode");
loader.loadFile(contentNodeName, myBinaryValue, myBytes, myProperties);
--- Drop us a line as well as replying to this group (as I don't check daily etc). Myself and a collegue, Niamh Fitzpatrick, have been looking at this. Thanks Niamh.
Hopefully this will work. -
Posix Performance Pack & file discriptor limitation
This question doesn't appear to relate to our Enterprise product, so I'm
responding to this message in the performance newsgroup as well. Please see
answers below:
Andy Ping wrote:
What is Posix Performance Pack about?This refers to the availability of enhanced I/O handling (enabled by default
with the Solaris version of WLS) and is documented at:
http://www.weblogic.com/docs51/admindocs/tuning.html#performance packs
>
And How to resolve the file dirscritor limitation? Is ulimit OK?The Solaris file descriptor limits are set using lines similar to:
set rlim_fd_cur = 1024
set rlim_fd_max = 8192
in your /etc/system file. In the above case, user processes are allowed 1K open
files by default and can up this limit to 8K files using the ulimit command.
You might have noticed that this command is used in the weblogic startup script
to accomplish this. Judging by your log entries, I'd guess that your tunables
are both set to 512. You might want to consider raising your maximum to 1K.
Perhaps other newsgroup readers can suggest/recommend better file descriptor
limits.
Environment: sun solaris 2.6, weblogic.5.1 jdk1.2.2_006, oracle815.
phenomena:
D??¨²?? ¨º??? 26 10:51:20 GMT+08:00 2000:< I > < ListenThread > Listening on
port: 7001
D??¨²?? ¨º??? 26 10:51:20 GMT+08:00 2000:< I > < Posix Performance Pack >
System has file descriptor limits of - soft: '512', hard: '512'
D??¨²?? ¨º??? 26 10:51:20 GMT+08:00 2000:< I > < Posix Performance Pack >
Using effective file descriptor limit of: '512' open sockets/files.
D??¨²?? ¨º??? 26 10:51:20 GMT+08:00 2000:< I > < Posix Performance Pack >
Allocating:'3' POSIX reader threads
If use jdk1.1.7b, the phenomena:
D??¨²?? ¨º??? 26 10:51:20 GMT+08:00 2000:< I > < EJB > 0 deployed, 0 failed
to deploy.
D??¨²?? ¨º??? 26 10:51:20 GMT+08:00 2000:< I > < HTTP > Log rotation is size
based
D??¨²?? ¨º??? 26 10:51:20 GMT+08:00 2000:< I > < ZAC > ZAC ACLs initialized
D??¨²?? ¨º??? 26 10:51:20 GMT+08:00 2000:< I > < ZAC > ZAC packages stored
in local directory exports
D??¨²?? ¨º??? 26 10:51:20 GMT+08:00 2000:< I > < ListenThread > Listening on
port: 7001
D??¨²?? ¨º??? 26 10:51:20 GMT+08:00 2000:< I > < Posix Performance Pack >
System has file descriptor limits of - soft: '512', hard: '512'
D??¨²?? ¨º??? 26 10:51:20 GMT+08:00 2000:< I > < Posix Performance Pack >
Using effective file descriptor limit of: '512' open sockets/files.
D??¨²?? ¨º??? 26 10:51:20 GMT+08:00 2000:< I > < Posix Performance Pack >
Allocating: '3' POSIX reader threads
D??¨²?? ¨º??? 20 00:58:28 GMT-05:00 2000:< E > < Posix Performance Pack >
Failure in processSockets()
java.net.SocketException: Connection reset by peer
at java.net.SocketInputStream.read(Compiled Code)
at weblogic.socket.PosixSocketMuxer.processSockets(Compiled Code)
at weblogic.socket.SocketReaderRequest.execute(Compiled Code)
at weblogic.kernel.ExecuteThread.run(Compiled Code)
D??¨²?? ¨º??? 20 00:58:28 GMT-05:00 2000:< E > < Posix Performance Pack >
Failure in processSockets()
java.net.SocketException: Connection reset by peer
at java.net.SocketInputStream.read(Compiled Code)
at weblogic.socket.PosixSocketMuxer.processSockets(Compiled Code)
at weblogic.socket.SocketReaderRequest.execute(Compiled Code)
at weblogic.kernel.ExecuteThread.run(Compiled Code)
D??¨²?? ¨º??? 20 00:59:23 GMT-05:00 2000:< E > < ServletContext-General >
Cannot find resource 'high_tech_area/front/file/htprog.css' in document root
'/opt/weblogic/weblogic/myserver/public_html'
D??¨²?? ¨º??? 20 00:59:28 GMT-05:00 2000:< I > < ServletContext-General >
Generated java file:
/opt/weblogic/weblogic/myserver/classfiles/jsp_servlet/_high_tech_area/_fron
t/_bbs/_bbs_list.java
D??¨²?? ¨º??? 20 00:59:32 GMT-05:00 2000:< E > < ServletContext-General >
Cannot find resource 'high_tech_area/front/file/htprog.css' in document root
'/opt/weblogic/weblogic/myserver/public_html'
D??¨²?? ¨º??? 20 01:00:36 GMT-05:00 2000:< E > < Posix Performance Pack >
Failure in processSockets()
java.net.SocketException: Connection reset by peer
at java.net.SocketInputStream.read(Compiled Code)
at weblogic.socket.PosixSocketMuxer.processSockets(Compiled Code)
at weblogic.socket.SocketReaderRequest.execute(Compiled Code)
at weblogic.kernel.ExecuteThread.run(Compiled Code)
D??¨²?? ¨º??? 20 01:00:52 GMT-05:00 2000:< E > < Posix Performance Pack >
Failure in processSockets()
java.net.SocketException: Connection reset by peer
at java.net.SocketInputStream.read(Compiled Code)
at weblogic.socket.PosixSocketMuxer.processSockets(Compiled Code)
at weblogic.socket.SocketReaderRequest.execute(Compiled Code)
at weblogic.kernel.ExecuteThread.run(Compiled Code)
D??¨²?? ¨º??? 20 01:02:53 GMT-05:00 2000:< I > < ServletContext-General >
Generated java file:
/opt/weblogic/weblogic/myserver/classfiles/jsp_servlet/_high_tech_area/_fron
t/_bbs/_bbs_list.java
D??¨²?? ¨º??? 20 01:02:54 GMT-05:00 2000:< I > < ServletContext-General >
Generated java file:
/opt/weblogic/weblogic/myserver/classfiles/jsp_servlet/_high_tech_area/_back
/_hbk_perlaw/_hbk_perlaw_add.java
D??¨²?? ¨º??? 20 01:03:02 GMT-05:00 2000:< E > < ServletContext-General >
Cannot find resource 'high_tech_area/front/file/htprog.css' in document root
'/opt/weblogic/weblogic/myserver/public_html'
D??¨²?? ¨º??? 20 01:03:11 GMT-05:00 2000:< E > < ServletContext-General >
Cannot find resource 'high_tech_area/front/file/htprog.css' in document root
'/opt/weblogic/weblogic/myserver/public_html'
D??¨²?? ¨º??? 20 01:03:15 GMT-05:00 2000:< E > < ServletContext-General >
Cannot find resource 'high_tech_area/front/file/htprog.css' in document root
'/opt/weblogic/weblogic/myserver/public_html'
D??¨²?? ¨º??? 20 01:03:21 GMT-05:00 2000:< E > < ServletContext-General >
Cannot find resource 'high_tech_area/front/file/htprog.css' in document root
'/opt/weblogic/weblogic/myserver/public_html'
D??¨²?? ¨º??? 20 01:04:02 GMT-05:00 2000:< E > < Posix Performance Pack >
Failure in processSockets()
java.net.SocketException: Connection reset by peer
at java.net.SocketInputStream.read(Compiled Code)
at weblogic.socket.PosixSocketMuxer.processSockets(Compiled Code)
at weblogic.socket.SocketReaderRequest.execute(Compiled Code)
at weblogic.kernel.ExecuteThread.run(Compiled Code)
D??¨²?? ¨º??? 20 01:04:22 GMT-05:00 2000:< I > < ServletContext-General >
Generated java file:
/opt/weblogic/weblogic/myserver/classfiles/jsp_servlet/_high_tech_area/_fron
t/_bbs/_bbs_list.java
D??¨²?? ¨º??? 20 01:04:28 GMT-05:00 2000:< E > < ServletContext-General >
Cannot find resource 'high_tech_area/front/file/htprog.css' in document root
'/opt/weblogic/weblogic/myserver/public_html'
D??¨²?? ¨º??? 20 01:04:33 GMT-05:00 2000:< E > < ServletContext-General >
Cannot find resource '/high_tech_area/back/hbk_perlaw/hbk_perlaw_list.jsp'
in document root '/opt/weblogic/weblogic/myserver/public_html'
D??¨²?? ¨º??? 20 01:04:45 GMT-05:00 2000:< E > < ServletContext-General >
Cannot find resource '/high_tech_area/back/hbk_perlaw/hbk_perlaw_list.jsp'
in document root '/opt/weblogic/weblogic/myserver/public_html'
D??¨²?? ¨º??? 20 01:05:31 GMT-05:00 2000:< E > < Posix Performance Pack >
Failure in processSockets()
java.net.SocketException: Connection reset by peer
at java.net.SocketInputStream.read(Compiled Code)
at weblogic.socket.PosixSocketMuxer.processSockets(Compiled Code)
at weblogic.socket.SocketReaderRequest.execute(Compiled Code)
at weblogic.kernel.ExecuteThread.run(Compiled Code)You will probably want to select your WLS/JDK environment using the platform
support information at:
http://www.weblogic.com/platforms/index.html#solaris
Hope this helps.
-Charlie -
I have the following Lenovo notebook :
Product: ThinkPad T61 8898-55G [change]
Operating system: All [change]
Original description: T7100(1.8GHz), 1GB RAM, 120GB 5400rpm HD, 14.1in 1024x768 LCD, Intel X3100, CDRW/DVDRW, Intel 802.11abg wireless, Bluetooth, Modem, 1Gb Ethernet, UltraNav, Secure chip, Fingerprint reader, 4c Li-Ion, WinVista Business 32
I configured my Notebook with a Dual-boot Windowx XP Pro SP3 and Windows Vista Bussines SP1 (32 bit)
I have 2x 512 MB PC2-5300 667 MHz DDR2 memory inside.
I read on the Lenovo site :
Memory Compatibility
(**) Windows Vista supports up to 4GB maximum memory (32-bit versions of Windows Vista cannot support 4GB). Windows XP supports up to 3GB maximum memory
I like to update my memory with
2x 40Y7734 1 GB PC2-5300 667 MHz DDR2
or
2x 40Y7735 2 GB PC2-5300 667 MHz DDR2
I like to know if I choose for 2x 2GB , will :
Windows XP SP3 work just fine only it works with 3GB instead of 4GB installed memory
Window Vista SP1 (32-bit) with the 4GB (even not supported) work stable ?
Because the prices of 1 GB and 2 GB won't change much nowadays.
I prefer to use 2x 2GB modules, but I like to know will it work (even with the memory limitation) stable on XP or on Vista
or it is better/safer to use 2x 1GB modules
Can anybody help/explain me or advice me ?
Electronic
Message Edited by electronic on 01-16-2009 09:51 PMYou're better off with 2x2GB, you may decide to run a 64-bit OS someday...and you will notice a difference between 2GB and 3GB when running a 32-bit OS.
Cheers,
George
In daily use: R60F, R500F, T61, T410
Collecting dust: T60
Enjoying retirement: A31p, T42p,
Non-ThinkPads: Panasonic CF-31 & CF-52, HP 8760W
Starting Thursday, 08/14/2014 I'll be away from the forums until further notice. Please do NOT send private messages since I won't be able to read them. Thank you.
Maybe you are looking for
-
Problem with logging in log files.
HI, Our's is a client/server application. In our application there are so many clients. They each have separate page(web page). When a client download any file from their site it logs(client name, time, file name etc.) into a common log file(access.l
-
"This item is currently being modified. Please..."
Trying to purchase a couple TV show seasons but for two different shows (Madmen and Burn Notice), it won't let me purchase and gives this message: "This item is currently being modified. Please try again later." Never seen this one before. Thoughts?
-
HP Officejet Pro 8500 A909a Series - printing question
I have a problem with a printing application within QuickBooks and I need some help. I can print anything in QuickBooks except for deposit slips. I can print checks, invoices, reports, deposit summaries, and anything else in QuickBooks. Any reason wh
-
Location of photos on computer
I'm new to iPhoto -- am in the process of importing thousands of photos into iPhoto. I can't find where the photos "live" on my hard drive once they are imported into iPhoto (I am importing them from the USER NAME > PICTURES folder where they have be
-
Hello, We are on SRM 5 and our RFC user to our backend is SAP_ALL. But for Sarbane Oaxley Controle we can't keep this SAP_ALL for this user. Does Someone knows wich profile or authorization we have to give to the RFC user? Thanks