Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. hyrogen

    Java source

    well it didnt fix the null pointer, but it showed me the line number it was on so that I could fix it. Thanks :)
  2. hyrogen

    Java source

    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.
  3. hyrogen

    Java source

    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)
  4. hyrogen

    Java 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...
  5. hyrogen

    Operation must use an updateable query

    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...
  6. hyrogen

    embedded JS onclick problem

    Sorted! Had to use an anonymous function: setMe = function() { msg = document.getElementById("email").value; alert(msg); } thanks anyway :)
  7. hyrogen

    embedded JS onclick problem

    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...
  8. hyrogen

    Load balencing with realm login

    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...
  9. hyrogen

    realm get user attributes

    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})"...
  10. hyrogen

    realm get user attributes

    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...
  11. hyrogen

    active directory silent login

    hmmm... thanks for the advice- im not really sure how that helps though sorry. :)
  12. hyrogen

    active directory silent login

    how can i get hold of the credentials of the user though? obviously without them typing them in for a second time.
  13. hyrogen

    active directory silent login

    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...
  14. hyrogen

    realm jndi active directory

    never mind I fixed it :) I used the following excellent tool to help me with the details I needed: http://www.jxplorer.org/
  15. hyrogen

    realm jndi active directory

    anyone have any ideas about this? Im still having no success :(
  16. hyrogen

    realm jndi active directory

    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...
  17. hyrogen

    active directory

    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.
  18. hyrogen

    active directory

    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...
  19. hyrogen

    active directory

    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...
  20. hyrogen

    word xml table

    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...

Part and Inventory Search

Back
Top