No such method found for com.sun.jndi.toolkit.url.UrlUtil: method
Hello,
I have a servlet which allow users to authenticate to IPlanet LDAP server. I have no problem to access it when it runs under a standalone Tomcate server but I have an internal error when it runs under Oracle8i server.
The following error message was found in mod_serv.log file in \%OracleHome%\Apache\Jserv\logs folder:
ajp12: Servlet Error: java.lang.NoSuchMethodError: com.sun.jndi.toolkit.url.UrlUtil: method decode(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; not found: com.sun.jndi.toolkit.url.UrlUtil: method decode(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; not found.
What is the problem? Where should I put my jndi.jar? Thanks.
Regards
CY Seah
Hello,
I have a servlet which allow users to authenticate to IPlanet LDAP server. I have no problem to access it when it runs under a standalone Tomcate server but I have an internal error when it runs under Oracle8i server.
The following error message was found in mod_serv.log file in \%OracleHome%\Apache\Jserv\logs folder:
ajp12: Servlet Error: java.lang.NoSuchMethodError: com.sun.jndi.toolkit.url.UrlUtil: method decode(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; not found: com.sun.jndi.toolkit.url.UrlUtil: method decode(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; not found.
What is the problem? Where should I put my jndi.jar? Thanks.
Regards
CY Seah
Similar Messages
-
Looking for com.sun.jndi.toolkit.url.Uri.class
Does anybody have any idea where I can find com.sun.jndi.toolkit.url.Uri.class?
Ah well...I found it. Not seperate from the provider classes but I did finally find it. It is in the providerutil.zip that is included with the LDAP Service Provider download. The download is available at: http://java.sun.com/products/jndi/#download
-
Need javadoc for com.sun.jndi.ldap.ctl.*?
Hi,
has anybody the javadoc for the above named package?
I need at first com.sun.jndi.ldap.ctl.SortKey.
It is needed to get a sorted search result from a LDAP server.
Thank you for your help.
FrediDownload the LDAP provider at
http://java.sun.com/products/jndi/#download
See the README-LDAP.txt in the bundle.
It says that the javadocs for the controls are
at doc/ldapcontrols. -
No method found for XML query element
Hi,
I have an EJB module which contains some entity beans.
If I try to deploy it or verify it using the Sun One Verifier Tool I get the following exception...
Error: ** Error trying to process file: java.lang.RuntimeException: No method found for XML query element: Ambiguous or invalid <query-method>
java.lang.RuntimeException: No method found for XML query element: Ambiguous or invalid <query-method>
at com.sun.enterprise.deployment.xml.EjbNode.parseQueries(EjbNode.java:700)
at com.sun.enterprise.deployment.xml.EjbNode.completeLoadingDescriptor(EjbNode.java:671)
at com.sun.enterprise.deployment.xml.EjbBundleNode.completeLoadingDescriptor(EjbBundleNode.java:524)
at com.iplanet.ias.deployment.EjbBundleXmlReader.load(EjbBundleXmlReader.java:249)
at com.iplanet.ias.deployment.EjbBundleXmlReader.loadStdAloneModule(EjbBundleXmlReader.java:162)
at com.sun.enterprise.tools.verifier.Verifier.openEjbJar(Verifier.java:2421)
at com.sun.enterprise.tools.verifier.Verifier.loadEjbJar(Verifier.java:1318)
at com.sun.enterprise.tools.verifier.Verifier.loadJar(Verifier.java:866)
at com.sun.enterprise.tools.verifier.gui.MainPanel.run(MainPanel.java:187)
at java.lang.Thread.run(Thread.java:536)
Look in file "EntityBeans.jar_verified.xml" for detailed results on test assertions.
This problem can be resolved by un-installing the IDE, removing my user directory, and re-installing the IDE (I am using SunOne Studio 5 SE Update 1). The problem is that it returns with alarming regularity.
Anyone else experiencing this? Any help would be much appreciated.Sometimes, but not always, this exception appears in the ide.log before the error first occurs.
com.sun.forte4j.j2ee.packaging.PackagingIOException: package/EntityBeans.ejbjar
at com.sun.forte4j.j2ee.packaging.PackagingUtil.writeJarFile(PackagingUtil.java:403)
at com.sun.forte4j.j2ee.packaging.PackagingUtil.writeJarFile(PackagingUtil.java:67)
at com.sun.forte4j.j2ee.ejbmodule.EJBModuleDataObject.writeEJBJar(EJBModuleDataObject.java:2673)
at com.iplanet.ias.tools.forte.verifier.VerifierAction.performAction(VerifierAction.java:63)
at org.openide.util.actions.NodeAction$DelegateAction.actionPerformed(NodeAction.java:431)
at org.netbeans.core.ModuleActions$1.run(ModuleActions.java:97)
at org.openide.util.Task.run(Task.java:136)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:328)
at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:670) -
JNDI: Can't find Class com.sun.jndi.nis.NISCtxFactory
Hi
I searched this forum for similar problems .. and I also found some, but this questions were either not be answered or not detailed enough.
Now to my question. I've got a Java File that I imported to Oracle (I use it from PL/SQL). This Java File contains following code.
static Properties = System.getProperties();
env.put(Context.INITIAL_CONTEXT_FACTORY,"com.sun.jndi.nis.NISCtxFactory");
env.put(Context.PROVIDER_URL, "nis://disney/geo.unizh.ch");
Context ctx = new InitialContext(env);
And if I run it from oracle(PL/SQL) I get the error below.
javax.naming.NoInitialContextException: Cannot instantiate class: com.sun.jndi.nis.NISCtxFactory. Root exception is java.lang.ClassNotFoundException: com/sun/jndi/nis/NISCtxFactory
at java.lang.Class.forName0(Class.java)
at java.lang.Class.forName(Class.java)
at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java)
at javax.naming.InitialContext.init(InitialContext.java)
at javax.naming.InitialContext.<init>(InitialContext.java)
at GIUZContext.getCtx(GIUZContext:42)
at CheckPwd.check(CheckPwd:18)
The nis.jar I imported with the loadjava, so actuallay should it be in the database. But why it cant find this class (NISCtxFactory)!
I get no error if I use this code ->
NISCtxFactory test = new NISCtxFactory();
System.out.println(test);
It would be very nice if you could give me some clues. TNX!!
Oracle Version 8.1.7.
CyrillHi Cyrill,
I don't know what other postings you have read, and I also don't
know why they were insufficient for you, so excuse me if I repeat
things you already know.
As far as I know, the error message you are getting is most probably
due to one of the following three causes:
1. The class is not loaded into the database.
2. The class is loaded but is not "valid".
3. You don't have permission to access the class.
To the best of my memory, there have been several posts to either
this forum or the "Products > Database > JVM" forum
http://forums.oracle.com/forums/forum.jsp?id=424322
that (in my opinion) sufficiently explain how to resolve the problem
for each of the three causes listed above.
Personally, I believe that the Oracle documentation sufficiently
explains how to resolve the above three issues, and I have posted
the URLs for the relevant Oracle documentation several times already.
I am guessing that you are trying to "talk" to an EJB (probably deployed
in SUN's application server) from a java stored procedure in the Oracle
database. If that is the case, then that question has been discussed
many times in this forum. Perhaps you can say why those discussions
were not sufficiently helpful for you.
Hope this helps.
Good Luck,
Avi. -
We are using the Sun jndi 1.2.1 files from a Java client to
access the IBM SecureWay Directory 3.2 server. Our test case is
retrieving entries using the ctx.getAttributes (String, String[])
method. Occasionally we are receiving the following error.
java.lang.NullPointerException
at com.sun.jndi.ldap.Connection.run(Connection.java:525)
at java.lang.Thread.run(Thread.java:481)
The java.lang.NullPointerException is coming from the Sun JNDI file.
Our program is not catching this exception.
Has anyone seen this problem before and have any ideas on how this can be resolved?Download and use LDAP 1.2.3 or JDK 1.3.1.
The problem should go away. -
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
PL/SQL Release 10.2.0.1.0 - Production
CORE 10.2.0.1.0 Production
TNS for Linux: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 - Production
In java store procedure we have to contact an iiop enabled application
If I specify
env.put("java.naming.factory.initial","com.sun.jndi.cosnaming.CNCtxFactory");
In the java stored procedure
the SQL call will end with the error :
ORA-03113: end-of-file on communication channel
with a huge core dump in cdump
any idea?
The class exists in the loaded JVM
it is valid and resolved
Nothing can explain that.
Thanks in advance
Message was edited by:
Réda BOULOSYes, CORBA as well as the entire J2EE stack has been desupported in 9i R2.
I ran the sample using 10g database which is Java SE 4.0 compatible and therefore susceptible of acting as RMI/IIOP client. Here are the jars file i have loaded in my example
loadjava -u scott/tiger@localhost:port:instance_name -r -v
$J2EE_HOME/ejb/helloworld/dist/stub_helloworld.jar
$J2EE_HOME/lib/ejb.jar
$J2EE_HOME/ejb/helloworld/dist/helloworld-ejb.jar
$J2EE_HOME/ejb/helloworld/dist/helloworld-client.jar
[code/]
In addition, you need to:
- grant ejbclient to the schema in question
- grant java.util.PropertyPermission, java.lang.RuntimePermission, java.util.logging.LoggingPermission, and java.util.PropertyPermission
Frankly you need to read the section of my book to get everything right;
for example i tweak a bit the JNDI lookup in the client code.
Fwiw, SAP JCO callout using RMI is also covered in chapter 4 of my book.
Kuassi -
Random classcast exception - com.sun.jndi.cosnaming.CNCtxFactory
Hi,
I am trying to use a remote ejb (weblogic 8.1.5/ jdk 14) from a j2se 1.5 rmi-iiop client.
If I use com.sun.jndi.cosnaming.CNCtxFactory to look up the remote home & then use the remote interface, I get the following error RANDOMly (i.e only some calls succeed).
java.lang.ClassCastException
at xxx.equals(xxxjava:129)
at weblogic.corba.utils.IndirectionValueHashtable.get(IndirectionValueHashtable.java:119)
at weblogic.iiop.IIOPOutputStream.write_value(IIOPOutputStream.java:1471)
at weblogic.iiop.IIOPOutputStream.write_value(IIOPOutputStream.java:1624)
at com.sun.corba.se.internal.io.IIOPOutputStream.writeObjectField(IIOPOutputStream.java:685)
at com.sun.corba.se.internal.io.IIOPOutputStream.outputClassFields(IIOPOutputStream.java:745)
at com.sun.corba.se.internal.io.IIOPOutputStream.defaultWriteObjectDelegate(IIOPOutputStream.java:167)
at com.sun.corba.se.internal.io.IIOPOutputStream.outputObject(IIOPOutputStream.java:526)
at com.sun.corba.se.internal.io.IIOPOutputStream.simpleWriteObject(IIOPOutputStream.java:123)
at com.sun.corba.se.internal.io.ValueHandlerImpl.writeValueInternal(ValueHandlerImpl.java:136)
at com.sun.corba.se.internal.io.ValueHandlerImpl.writeValue(ValueHandlerImpl.java:116)
at weblogic.iiop.IIOPOutputStream.write_value(IIOPOutputStream.java:1593)
at weblogic.iiop.IIOPOutputStream.write_value(IIOPOutputStream.java:1624)
at com.sun.corba.se.internal.io.IIOPOutputStream.writeObjectField(IIOPOutputStream.java:685)
at com.sun.corba.se.internal.io.IIOPOutputStream.outputClassFields(IIOPOutputStream.java:745)
at com.sun.corba.se.internal.io.IIOPOutputStream.defaultWriteObjectDelegate(IIOPOutputStream.java:167)
at com.sun.corba.se.internal.io.IIOPOutputStream.outputObject(IIOPOutputStream.java:526)
at com.sun.corba.se.internal.io.IIOPOutputStream.simpleWriteObject(IIOPOutputStream.java:123)
at com.sun.corba.se.internal.io.ValueHandlerImpl.writeValueInternal(ValueHandlerImpl.java:136)
at com.sun.corba.se.internal.io.ValueHandlerImpl.writeValue(ValueHandlerImpl.java:116)
at weblogic.iiop.IIOPOutputStream.write_value(IIOPOutputStream.java:1593)
at weblogic.iiop.IIOPOutputStream.write_value(IIOPOutputStream.java:1624)
at weblogic.iiop.RMIMsgOutput.writeObject(RMIMsgOutput.java:117)
at xxx.yyy_ehqjge_EOImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:492)
at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:108)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:435)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:430)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:35)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
I had a look at IndirectionValueHashtable class. It looks like the classcast is happening because the "handle-to-object" map has non String values.
Could this be a corba compatabilty issue?
The problem doesn't occur if I use weblogic initial context factory & t3 protocol.
What is the best way to overcome this problem? I dont want to distribute weblogic.jar [from 8.1.5 server]. wlclient is okay.
thanksTony Zimmer <> writes:
Certainly looks like a bug, in which case you need to go through
support to get it fixed. Do however check that your objects are in
fact serializable (including all their fields).
andy
Tried a few more combinations. No luck so far.
classcast exception for some objects at some times
server: WebLogic Server 10.0 / Sun 1.5.0_06/ WinNT 6
client: Sun jdk 1.5.0_11/1.4.2_14
java.lang.ClassCastException: java.lang.String
at xxxpack.client.PaymentReceipt.equals(PaymentReceipt.java:881)
at weblogic.corba.utils.IndirectionValueHashtable.get(IndirectionValueHashtable.java:119)
at weblogic.iiop.IIOPOutputStream.write_value(IIOPOutputStream.java:1836)
at weblogic.iiop.IIOPOutputStream.write_value(IIOPOutputStream.java:1992)
at weblogic.iiop.IIOPOutputStream.writeObject(IIOPOutputStream.java:2253)
at weblogic.utils.io.ObjectStreamClass.writeFields(ObjectStreamClass.java:413)
at weblogic.corba.utils.ValueHandlerImpl.writeValueData(ValueHandlerImpl.java:235)
at weblogic.corba.utils.ValueHandlerImpl.writeValue(ValueHandlerImpl.java:182)
at weblogic.iiop.IIOPOutputStream.write_value(IIOPOutputStream.java:1957)
at weblogic.iiop.IIOPOutputStream.write_value(IIOPOutputStream.java:1992)
at weblogic.iiop.IIOPOutputStream.writeObject(IIOPOutputStream.java:2253)
at weblogic.utils.io.ObjectStreamClass.writeFields(ObjectStreamClass.java:413)
at weblogic.corba.utils.ValueHandlerImpl.writeValueData(ValueHandlerImpl.java:235)
at weblogic.corba.utils.ValueHandlerImpl.writeValue(ValueHandlerImpl.java:182)
at weblogic.iiop.IIOPOutputStream.write_value(IIOPOutputStream.java:1957)
at weblogic.iiop.IIOPOutputStream.write_value(IIOPOutputStream.java:1992)
at weblogic.iiop.IIOPOutputStream.writeObject(IIOPOutputStream.java:2253)
at xxxpack.server.ProcessPayment_ehqjge_EOImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)
at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:224)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:479)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:475)
at weblogic.rmi.internal.BasicServerRef.access$300(BasicServerRef.java:59)
at weblogic.rmi.internal.BasicServerRef$BasicExecuteRequest.run(BasicServerRef.java:1016)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
server: WebLogic Server 8.1 SP6 / Sun 1.4.2_11 / WinNT 6
client jdk 1.4.2_14/1.5.0_11:
java.lang.ClassCastException
at xxxpack.client.PurchaseAmount.equals(PurchaseAmount.java:148)
at weblogic.corba.utils.IndirectionValueHashtable.get(IndirectionValueHashtable.java:119)
at weblogic.iiop.IIOPOutputStream.write_value(IIOPOutputStream.java:1471)
at weblogic.iiop.IIOPOutputStream.write_value(IIOPOutputStream.java:1624)
at com.sun.corba.se.internal.io.IIOPOutputStream.writeObjectField(IIOPOutputStream.java:685)
at com.sun.corba.se.internal.io.IIOPOutputStream.outputClassFields(IIOPOutputStream.java:745)
at com.sun.corba.se.internal.io.IIOPOutputStream.defaultWriteObjectDelegate(IIOPOutputStream.java:167)
at com.sun.corba.se.internal.io.IIOPOutputStream.outputObject(IIOPOutputStream.java:526)
at com.sun.corba.se.internal.io.IIOPOutputStream.simpleWriteObject(IIOPOutputStream.java:123)
at com.sun.corba.se.internal.io.ValueHandlerImpl.writeValueInternal(ValueHandlerImpl.java:136)
at com.sun.corba.se.internal.io.ValueHandlerImpl.writeValue(ValueHandlerImpl.java:116)
at weblogic.iiop.IIOPOutputStream.write_value(IIOPOutputStream.java:1593)
at weblogic.iiop.IIOPOutputStream.write_value(IIOPOutputStream.java:1624)
at com.sun.corba.se.internal.io.IIOPOutputStream.writeObjectField(IIOPOutputStream.java:685)
at com.sun.corba.se.internal.io.IIOPOutputStream.outputClassFields(IIOPOutputStream.java:745)
at com.sun.corba.se.internal.io.IIOPOutputStream.defaultWriteObjectDelegate(IIOPOutputStream.java:167)
at com.sun.corba.se.internal.io.IIOPOutputStream.outputObject(IIOPOutputStream.java:526)
at com.sun.corba.se.internal.io.IIOPOutputStream.simpleWriteObject(IIOPOutputStream.java:123)
at com.sun.corba.se.internal.io.ValueHandlerImpl.writeValueInternal(ValueHandlerImpl.java:136)
at com.sun.corba.se.internal.io.ValueHandlerImpl.writeValue(ValueHandlerImpl.java:116)
at weblogic.iiop.IIOPOutputStream.write_value(IIOPOutputStream.java:1593)
at weblogic.iiop.IIOPOutputStream.write_value(IIOPOutputStream.java:1624)
at weblogic.iiop.RMIMsgOutput.writeObject(RMIMsgOutput.java:117)
at xxxpack.server.ProcessPayment_ehqjge_EOImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:491)
at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:120)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:434)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:429)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:35)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
Do you have a list/ martix of client-server versions used for the bug fixes?
Thanks -
When I try to request a simple reuest (getversion) from the drm wsdl I receive an error in the XML repsonse (see below).
I read somewhere in the forum that I have to change the external direcortory provider in HSS from "MSAD" to LDAP/OID. But this can not be configured in HSS since I can not change the ID attribute (its greyed out).
Does anyone knows how I can sole it: I think its related to: "message: Cannot begin session. com/sun/jndi/ldap/ctl/PagedResultsControl"
Perhaps wrong or missing jar files in the connection configuration?
Any help is welcome.
Detlev
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Header/>
<env:Body>
<env:Fault>
<faultcode>env:Server</faultcode>
<faultstring>Cannot getVersion.
[Tue Feb 14 16:03:06 CET 2012] - Oracle EPM Foundation Agent
Error in request: begin session (message: Cannot begin session. com/sun/jndi/ldap/ctl/PagedResultsControl)</faultstring>
<detail>
<DrmServiceException xmlns="http://drm.webservices.epm.oracle">
<Message xmlns:ns2="http://drm.webservices.epm.oracle" xmlns="">Cannot getVersion.
[Tue Feb 14 16:03:06 CET 2012] - Oracle EPM Foundation Agent
Error in request: begin session (message: Cannot begin session. com/sun/jndi/ldap/ctl/PagedResultsControl)</Message>
<Code xmlns:ns2="http://drm.webservices.epm.oracle" xmlns="">0</Code>
</DrmServiceException>
</detail>
</env:Fault>
</env:Body>
</env:Envelope>Thanks for the repsonse.
Its exactly how you explain it.
Last thing I am dealing with (as var as I can see now) is getting a (generic/other) ldap connection in HSS to our MSAD.
HSS userinterface comes up with an error just before showing the user list. (on the serverside I traced traffic (wireshark) and see that userinformation is indeed retrieved).
But the frontend is juist not showing/ loading the information.
the error"a communication error occured when loading the view pane" Than the screen keeps on loading for ever
Oracle support tries to find out whats going wrong here.
Detlev -
Where to download API for com.sun.j3d.utils ?
hi,
where can i download the api for com.sun.j3d.utils. i dont want to see it online, i need an offline version (in order to use it with a textpad-plug-in.
thanx,
Usulyes, the documentation.
well, of couse i have downloaded java3d. but i cant find the documentation in there. java3d has two subfolders "demo" and "jre". in "jre" are the two subfolders "bin" and "lib". and the documentation nowhere to be found. -
Using WLS 10.0 mp2 and jrockit, there looks to be intermittent delays in the webservice, of about 3.5 seconds delay, when WLS is trying to acquire locks for com.sun.xml.ws.handler.ServerSOAPHandler in com.sun.xml.ws.handler.HandlerPipe.process(). This is showing up in JRA recording, and is happening about 15-20% of the calls.
Does anyone encounter similar issue?
Also, WLS 10.0.2 comes with JAX-WS 2.0.1. Is there any issue upgrading to 2.2?Using WLS 10.0 mp2 and jrockit, there looks to be intermittent delays in the webservice, of about 3.5 seconds delay, when WLS is trying to acquire locks for com.sun.xml.ws.handler.ServerSOAPHandler in com.sun.xml.ws.handler.HandlerPipe.process(). This is showing up in JRA recording, and is happening about 15-20% of the calls.
Does anyone encounter similar issue?
Also, WLS 10.0.2 comes with JAX-WS 2.0.1. Is there any issue upgrading to 2.2? -
Where is the source for com.sun.media.rtp?
Is the source for com.sun.media.rtp available for download?
I downloaded the JMF source code, but, it's not there. I have downloaded the source for J2SE and it's not there.
Where is it?
Greg Silverman
NGC
San Jose, CAHi,
This forum is exclusively for discussions related to Sun Java Studio Creator. Please post your question in the appropriate forum.
Thanks,
RK. -
Com.sun.jndi.ldap
Hi,
Is anyone familiar with JNDI LDAP automatic discovery codes
env.put(Context.PROVIDER_URL,
ldap:///o=JNDITutorial,dc=example,dc=com);
It seems that by using DNS that associate with multiple domain controllers, it would lock out user account if they enter wrong pw because LDAP provider will send the request to each of the associated DC at the same time. I wonder if anyone run through this issue and if it is a JDK bug and if someone does, how to you work around it?
Thanks,
JenniferHi,
did you also try the following timeout variables?
env.put("com.sun.jndi.dns.timeout.initial", "2000");
env.put("com.sun.jndi.dns.timeout.retries", "3");...
Besides you specific problem you will find a probably interesting article about handling network timeouts her:
http://www.javacoffeebreak.com/articles/network_timeouts/
Regards
Klaus -
Looking for com.sun.xml.tree package
Hi,
I�m looking for a jar which contains the XmlDocument class to download.
I found the package, (it�s com.sun.xml.tree) but I cannot find where the package/jar is to download it.
Your help will be much appreciated.
Thank you,
ChrisI have all latest jars (jaxp, xerces, xalan, jdom, dom4j and any related jars). I have w3c DOM and i have been trying to convert it to JDOM and dom4j using relevant APIs. i keep getting following error.
Exception in thread "main" java.lang.AbstractMethodError: com.sun.xml.tree.Eleme
ntNode.getNamespaceURI()Ljava/lang/String;
at org.dom4j.io.DOMReader.readElement(DOMReader.java:181)
at org.dom4j.io.DOMReader.readTree(DOMReader.java:106)
at org.dom4j.io.DOMReader.read(DOMReader.java:88)
Can you advise what could be the reason and how to resolve this?
FYI : my w3c DOM has been created with com.sun.xml.tree.XmlDocumentBuilder class and other methods of the package. I need to resolve this error at earliest to move forward.
I would apprecaite early response at [email protected]
Thanks, -
F110 - No valid payment method found for Customer Direct Debits
Hi All,
I am running customer Direct debit pre-notifications payment run via F110.
I am runnnig only for one customer and it appears as an exception with the message 'No valid payment method found
We have used payment method D lots of times before so it is nothnig to do with the company code or payment method set up.
It is however the first we've tried to run for this customer.
I have checked everything I know:
1) Payment method D selected in the F110 parameters
2) Payment method D entered in the invoice line item
3) Payment method D entered in the payment transactions tab on the customer master data
4) Valid Direct Debit madate exists and check complete
5) parameters are correct in the F110 selection - company code, payment method, dates, next payment date, invoice is well overdue, it was only entered today but was due back in 2014!, free selection, additional log etc.
6_ Checked in SPRO in "Payment Method/Country" details and the following are required : Bank details including IBAN required, SWIFT code required, SEPA mandate required. These are all maintained in the customer master data.
and still the customer invoice I want to pay is show as an exception in the log. In the payment proposal it shows as an exception No valid payment method found. In the log it shows as
Customer/vendor does not have any allowed bank details Message class FZ Message no. 651
No permitted payment method exists Message class FZ Message No. 608
Information re. customer 131275 / paying company code N120 ... Message class FZ Message no. 306
... payment not possible because of reported error Message class FZ Message no. 311
I am at a loss as to where to check next. Please help.
thanks
JemmaHi Jenna,
In the log I can see the message 'SEPA mandate & for bank xxx has been assigned to a contract' FZ788. This means: Mandates with contract cannot be used for the payment of any invoice. The invoice has to be assigned to the mandate or be assigned in the payment run.
Please check the F1-help of the field 'SEPA Mandate: Contract Type' in the mandate.
The Note http://service.sap.com/sap/support/notes/1874892 describes the various options.
Regards,
Emőke
Maybe you are looking for
-
I bought two songs on itunes and it dosen't show up on my ipod nano!
I got a new computer (windows 8) and I downloaded Itunes. I got all my songs form my old computer and put it on my new one. A few weeks later I bought two songs. I had my ipod plugged in when I downloaded the songs. It will not show up on my ipod nan
-
LabVIEW Functions and reentrant execution
Are the LabVIEW functions reentrant? I am writing a threaded application where the same code is used for the multiple threads. I have made the top level and lower level VIs reentrant but am wondering if the LabVIEW functions (specifically TCP Read an
-
Signature disappear when i merge the documents
Hi everyone, I have a problem, a big problem with adobe. When i merge some documents, all the electronic signature disappear. It's umbelivable because PDF Creator can do it. So does anybody know why the electronic signature disappear. Just to explain
-
Why is Adobe Creative Suite crashing with Lion?
Adobe Creative Suite is crashing now that I upgraded to the Lion Operating System. Can anyone recommend a fix for this?
-
I´m trying to purchase an app (SEAiq Pilot). Every time I try to buy it, I am asked to confirm my VISA information, which is correct, I have a positive credit limit.. It is the first time I´m trying to purchase an app....coud you please help me? Than