Hi,
I wrote the code for connecting db through session bean.
I am getting following error while doing ejbc.
<error>
java weblogic.ejbc db.jar
ERROR: ejbc found errors while parsing the descriptor for db.jar:
ERROR: Error from ejbc: Error parsing file 'META-INF/weblogic-ejb-jar.xml' at...
Hi,
I am learning J2ee.I want to know is there any way to connect to the database using session bean,if yes,could u please tell me the process.
Thanks,
nkmb
Hi,
I am trying to configure a connection to mysql db from weblogic server.I'm getting following error.
Communications link failure due to underlying exception: ** BEGIN NESTED EXCEPTION ** java.net.SocketException MESSAGE: java.net.SocketException: Permission denied: connect STACKTRACE...
Hi,
I want to interact with MYSQL db using java........for that i need jdbc drivers.somebody please send me the links and installation steps.
please send me the links as soon as possible.
Thanks,
nkmb.
Hi,
Yes i did.Eventhough i'm getting the error.
<code>
package sessionbean;
import javax.ejb.*;
import javax.naming.*;
import java.util.*;
import javax.rmi.*;
public class CountClient {
public static final int noOfClients = 30;
public static void main(String[] args) {...
Hi,
I am doing statefull sessionbean program.i have deployed the bean on server,by testing it i'm getting msg that the EJB Count has been tested successfully with a JNDI name of CountHome.
But i'm trying to compile the client.......i'm getting following error...
Hi,
I am getting problem with Client.My client.java is compiling,by running the client,i am getting this error
Exception in thread "main" java.lang.UnsupportedClassVersionError: javax/securit
y/auth/callback/CallbackHandler (Unsupported major.minor version 48.0)
at...
Hi,
Now i am getting problem with Client.My client.java is compiling,by running the client,i am getting this error
Exception in thread "main" java.lang.UnsupportedClassVersionError: javax/securit
y/auth/callback/CallbackHandler (Unsupported major.minor version 48.0)
at...
Hi,
Even after changing my classpath to bea tools.jar and rt.jar,still i am getting the same error.
Exception in thread "main" java.lang.SecurityException: Prohibited package name:
java.util.logging
at java.lang.ClassLoader.defineClass(Unknown Source)
at...
Hi,
I am developing simple hello world ejb applition using
statelesssession bean.I wrote all the code for it,and compiled it and packed in a jar file.
for deployment i am weblogic.ejbc.......it is generating the
following error
<error>
ava weblogic.ejbc test.jar
Exception in thread...
Hi all,
While i am running build.xml.I am getting the following error
java.lang.InstantiationException: org.apache.tools.ant.Main
at java.lang.Class.newInstance0(Class.java:293)
at java.lang.Class.newInstance(Class.java:261)
at...
Hi All,
I am trying to connect to oracle db from PHP.But it's not connecting.i did't put any host String while installing Oracle9i.
my code:
<code>
<?php
if ($c=OCILogon("scott", "tiger", ""))
{
echo "Successfully connected to Oracle.\n";
OCILogoff($c);
}
else {
$err =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.