Ahh, think I got it: I just had to compile Java with debugging enabled:
<javac debug="on" debuglevel="lines, vars, source"
This should be default but for some reason (perhaps eclipses version of ant) I had to do this.
yeah, the main class is in the manifest and it does begin running the code, it just gets a Null pointer at a certain point and falls over. the error is:
ERROR - MainImport.parseXMLFile(?) | Error:
java.lang.NullPointerException
at importXML.MainImport.parseXMLFile(Unknown Source)
Hi,
Apologies if this is the wrong forum, as it maybe an ANT issue.
I've created a JAR using ANT, but when I run the JAR I get a NULL pointer exception at an unknown line (?)
Do I have to create the JAR file with a certain parameter or run Java with a certain parameter to find the source...
Hi There,
Im trying to do an insert into an access DB through an ASP. It actually works for me, but when my collegue tries it she gets the following error:
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Microsoft Access Driver] Operation must use an updateable...
Hi there,
Ive got a problem where I have JS embedded in a page the Im dynamically included through ajax. Im executing the js in the embedded page by using the eval function.
My problem is I have an onclick event on an element in the embedded page, but when clicking on it, it says it cannot...
Hi,
We currently have a realm authenticated tomcat webapp thats alowwing users to loggin into to the website via AD. Its currently on our test server but we need to release it to live, but that is load balenced.
So we're wanting to ensure that because its load balanced its not going to mess up...
Here is my current realm configuration if it helps at all:
<Realm className="org.apache.catalina.realm.JNDIRealm" debug="99"
connectionURL="ldap://xxxx/"
connectionName="xxx"
connectionPassword="xxx"
userBase="OU=xxx,DC=xxx,DC=xx,DC=com"
userSearch="(sAMAccountName={0})"...
I've successfully connected to an active directory through realm and returned the user groups, now im trying to return some extra details about the user such as their email address.
I can return the roles of the user by setting
userRoleName="memberOf"
and I can get the email address by setting...
If a user is logged into their computer using active directory, is it then possible to automatically log them into a web based jsp site using their active directory details?
I've managed to get a login box appear and log them into their active directory account that way, but as they are already...
Hi there,
Im developing a jsp script for our intranet, where users are logged into their PC's by active directory. What I want the jsp todo is to silently log the user in to the intranet according to their active directory login.
Im not sure if Im going about this the right way, but Im trying...
Thanks, I managed to figure it out. All I had to do was remove the /DC=mydomain out of the Provider_URL line. Ive now managed to retrieve attributes and values, but I do not now how to find out if the client machine is logged into active directory?
Thanks for your help.
Thanks for the links, I've had some partial success with the following code:
Hashtable env= new Hashtable(11);
env.put(Context.SECURITY_AUTHENTICATION,"simple");
env.put(Context.SECURITY_PRINCIPAL,"name@mydomain");//User
env.put(Context.SECURITY_CREDENTIALS, "mypass");//Password...
Hi,
Im wanting to write a jsp/java script that finds who is currently logged in through active directory.
Im totally new to this so dont really know where to start. Has any body got any ideas? or just a simple script to get me started. Also, will I require to make any changes on our server so...
Hi Tony,
thanks for your help. I've tried numerous things so far, and none sucessfuly, I've eventually decided on using this:
http://paggard.com/projects/rtf.generator/
It seems to solve all my problems, as I can use the <tr header=yes> option to allow the first row of my table to be...
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.