Help with Tomcat 5 and MS Access

Hi
I have a Tomcat 5 running and I want to query to a MS Access. Must I configure the server.xml to allow the connection?
I'm doing the connection in a class, not in JSP:
import java.sql.*;
public class BaseDatos {
String url="jdbc:odbc:sms";
String driver="sun.jdbc.odbc.JdbcOdbcDriver";
Connection con=null;
private Statement statement;
public BaseDatos()
       try{
              Class.forName(driver).newInstance();
   catch (Exception e) {}
public void Conectar()
  try {     
             con = java.sql.DriverManager.getConnection(url);
             statement = con.createStatement();
  catch (java.sql.SQLException e){e.printStackTrace();}
public void Guardar_sms(String prefijoL, String numeroL, String mensajeL, String recibo, String tabla)
     try
           Conectar();
           if (recibo.equals("1")) //si hay recibo eliminamos del texto los car�cteres de recibo
              mensajeL=mensajeL.substring(3,mensajeL.length());     
         statement.executeUpdate("INSERT INTO "+tabla+"(PREFIJO,NUM_MOVIL,TEXTO,RECIBO) VALUES ('"+prefijoL+"','" +numeroL+"','"+mensajeL+"','"+recibo+"')");
     } catch (SQLException e)
           e.printStackTrace();     
     Desconectar();
  public void Guardar_contacto(String nombre, String prefijo,String numero)
     Conectar();     
     ResultSet rs=null;
     try
          rs=statement.executeQuery("Select * from smsagenda where NOMBRE ='"+nombre+"' and NUM_MOVIL = '"+numero+"'");
          if (!rs.next()){System.out.println("no he encontrado el numero de telefono y guardo el nuevo");
          statement.executeUpdate("INSERT INTO smsagenda (NOMBRE,PREFIJO,NUM_MOVIL) VALUES ('"+ nombre+"','"+prefijo+"','"+numero+"')");
     catch(SQLException e)
          e.printStackTrace() ;
     Desconectar();
public void Borrar(int id,String tabla)
     Conectar();
     try
          statement.executeUpdate("DELETE FROM "+tabla+" WHERE ID="+id+"");
     }catch(SQLException e)
          e.printStackTrace() ;
     Desconectar();
public ResultSet leerTabla(String tabla)
     ResultSet rs=null;
     try
          rs=statement.executeQuery("Select * from "+tabla);
     }catch(SQLException e)
          e.printStackTrace() ;
     return rs;
public void Desconectar()
    if (con!=null)
       try
                 con.close();
        }catch (SQLException e){}
}Thanks in advance
Helen

Now I have modified the server.xml file in the
TOMCAT_HOME/conf/server.xml................like
this,just a line
/******************************* server.xml
<Context path="/sampleapp" docBase="e:\sampleapp"
debug="0" reloadable="true">
</Context>
/*****************************server.xml***************
********************/You say that your application is under
TOMCAT_HOME/webapps/sampleapp and then you tell
server.xml to look under e:\sampleapp ?? Don't you
find that strange?
you could probably use docBase="/sampleapp"
Also, you NEED to put your classes in packages.Thanks for the information about
AS

Similar Messages

  • Dynamic VLAN Assignment with RADIUS Server and Aironet Access Points

    Hi Guys,
    I would like to go for "Dynamic VLAN Assignment with RADIUS Server and Aironet Access Points 1300". I want the AP to broadcast only 1 SSID. The client find the SSID ->put in his user credential->Raudius athentication->assign him to an specific vlan based on his groupship.
    The problem here is that I don't have a AP controller but only configurable Aironet Access Points 1300. I can connect to the radius server, but I am not sure how to confirgure the AP's port, radio port, vlan and SSID.
    http://www.cisco.com/en/US/tech/tk722/tk809/technologies_configuration_example09186a008076317c.shtml#switch
    I go through some references:
    3.5  RADIUS-Based VLAN Access Control
    As discussed earlier, each SSID is mapped to a default VLAN-ID on the wired side. The IT administrator may wish to impose back end (such as RADIUS)-based VLAN access control using 802.1X or MAC address authentication mechanisms. For example, if the WLAN is set up such that all VLANs use 802.1X and similar encryption mechanisms for WLAN user access, then a user can "hop" from one VLAN to another by simply changing the SSID and successfully authenticating to the access point (using 802.1X). This may not be preferred if the WLAN user is confined to a particular VLAN.
    There are two different ways to implement RADIUS-based VLAN access control features:
    1. RADIUS-based SSID access control: Upon successful 802.1X or MAC address authentication, the RADIUS server passes back the allowed SSID list for the WLAN user to the access point or bridge. If the user used an SSID on the allowed SSID list, then the user is allowed to associate to the WLAN. Otherwise, the user is disassociated from the access point or bridge.
    2. RADIUS-based VLAN assignment: Upon successful 802.1X or MAC address authentication, the RADIUS server assigns the user to a predetermined VLAN-ID on the wired side. The SSID used for WLAN access doesn't matter because the user is always assigned to this predetermined VLAN-ID.
    extract from: Wireless Virtual LAN Deployment Guide
    http://www.cisco.com/en/US/products/hw/wireless/ps430/prod_technical_reference09186a00801444a1.html
    ==============================================================
    Dynamic VLAN Assignment with RADIUS Server and Wireless LAN Controller Configuration Example
    http://www.cisco.com/en/US/tech/tk722/tk809/technologies_configuration_example09186a008076317c.shtml#switch
    ==============================================================
    Controller: Wireless Domain Services Configuration
    http://www.cisco.com/en/US/products/hw/wireless/ps4570/products_configuration_example09186a00801c951f.shtml
    Any help on this issue is appreicated.
    Thanks.

    I'm not sure if the Autonomous APs have the option for AAA Override.  On the WLC, I can go into the BSSID, Security, Advanced, and there's a checkbox that I would check to allow a Radius server to send back the VLAN.
    I did a little research and it looks like the 1300 may give this option but instead is defined as "VLAN Override".  I've found the release notes for 12.3(7)JA5 (not sure what version you're running) that give mention and a link to configuring EAP on page 4: http://www.ciscosystems.ch/en/US/docs/wireless/access_point/1300/release/notes/o37ja5rn.pdf
    Hope this helps

  • Need help with Blog, Wiki and Gallery

    Hi Team,
    Need help with Blog, Wiki and Gallery startup. I have newly started visiting forums and quite interested to contribute towards these areas also.
    Please help.
    Thanks,
    Santosh Singh
    Santosh Singh

    Hello Santhosh,
    Blog is for Microsoft employees only. However, you can contribute towards WIKI and GALLERY using the below links.
    http://social.technet.microsoft.com/wiki/
    http://gallery.technet.microsoft.com/

  • Please Help me in Labview and MS Access Database Connective

    Please Help me in LabVIEW and MS Access Database Connective through an example . I am new to LabVIEW .I need simple example that take a data from a table and display it on front panel .
    thanks in advance .

    duplicate post

  • What's the phone number I should call for help with my iPhone and ihome dock?

    What's the phone number I should call for help with my iPhone and ihome dock?

    http://www.ihomeaudio.com/support/

  • Help with photoshop quitting and AMD graphics

    help with photoshop quitting and AMD graphics
    im not a techy, but it appears i have to do someting with my amd graphics card - this might be why my software is crashing - ive no idea what to do though

    Hi Chris
    I have tried to go on the website, then i tried to download the automatic detect because i wasnt sure which driver i had or needed - but it has just downloaded a load of game software - which i dont want ( i dont think)
    i have find out my laptop has a amd radeon HD 8750M card, but i dont know what im doing! i would hate to mess my computer up as i am in thailand with no one to help me!
    its frustrating as i am paying for CC but cant use it!

  • Need help with Tomcat and JSP

    Hi
    I'm a complete beginner with JSP, I have experience with Java, Dreamweaver and HTML, but I'm having alot difficulty understanding JSP.
    I tried doing out some of the tutorial examples but they don't seem to come out right on the browser.
    For Example the Code for Date
    <HTML>
    <BODY>
    <%
    // This is a scriptlet. Notice that the "date"
    // variable we declare here is available in the
    // embedded expression later on.
    System.out.println( "Evaluating date now" );
    java.util.Date date = new java.util.Date();
    %>
    Hello! The time is now <%= date %>
    </BODY>
    </HTML>
    Comes out as
    <% // This is a scriptlet. Notice that the "date" // variable we declare here is available in the // embedded expression later on. System.out.println( "Evaluating date now" ); java.util.Date date = new java.util.Date(); %> Hello! The time is now <%= date %>
    I know this probably really sounds like a stupid question but what could be the problem?

    Those it have to saved on the desktop, or in the Tomcat webapps folder or what?It has to be in a web application under tomcat. The easiest one to get up and running with basic jsp is the webapps/ROOT directory which is where the main index page is.
    [url http://www.coreservlets.com/Apache-Tomcat-Tutorial/]This one is a good basic guide to installing/getting it running.
    Also the tomcat documentation itself is reasonable good. Of specific relevance to you would be [url http://tomcat.apache.org/tomcat-5.5-doc/appdev/index.html]Application developers guide which explains the basic layout/structure of a web application.

  • Hello I have a few questions and I need some help with my iTunes and  iPod

    Hello iTunes people.
    I have a little problem with my iTunes. I actually almost know nothing about iTunes really. But I have had a 80 gig ipod .. ummm I think it's a iPod classic maybe. A long time ago I just downloaded iTunes. I think one of my tech friends already had put the program onto my PC so I did not even have to download it. Anyways I put my life's collection of mp3's onto iTunes and then syncs it with my iPod and it worked great. Here is my problem. I just recently bought a MONSTER PC. I have lovingly named it " ED209 " I downloaded iTunes for it and I have the most up to date version.8.1.1 is the most current version correct? Ok well here is my problem. What I want to do is I want to put everything that is currently on my iPod ONTO the iTunes library. I DO NOT want to import anything from the library or playlist or whatever you call it ONTO the iPod because there is nothing in the library. Now this is were its gets weird and possibly silly. A person I was chatting with on Facebook sort of made fun of me because she was like " Dude! Just push " Sync " But the reason I am paranoid is because THIS is the message I get....
    " The iPod " Aaron's iPod " is synced with another iTunes library. Do you want to erase this ipod and sync with this iTunes library? "
    HOLY COW!! That girl on Facebook was making fun of me but READ THAT. That exactly says ERASE the "iPod" and Sync with THIS library " It does not say put what is ON the iPod into THIS Library. It says it the other way around. Clear as day it says it will ERASE the " Ipod " it does not say " Fill the library with whats on your iPod "
    Do I all of a sudden not understand English or something???? I know how to freaking read and from what it says is sounds a 100 percent like " we will ERASE youe iPod and put everything from this playist or library onto your iPiod" But there is NOTHING in my library? Am I mentally challenged or what?
    I hope someone can help me here and I have another request. Could someone just tell me all the cool things I can do with iTunes and my iPod? I am trying to read the help files and the FAQ and whatever else Apple provides you with but it has SO MUCH crap that looks usless. I find myself reading a whole paragraph about some simple little section of s section of a section of a feature! Know what I mean. Someone give me the long and short of the neat things I can do with this stuff. I have windows Vista with a wicked computer that has like 6 gigs of ram and m iPod is a 80 GB Classic
    help !!
    PROTEUS

    *What I want to do is I want to put everything that is currently on my iPod ONTO the iTunes library.*
    1). Connect your iPod to your computer. When you get the message that it is linked to a different library and asking if you want to link to this one and replace all your songs etc, press "Cancel". Pressing "Erase and Sync" will irretrievably remove all the songs from your iPod.
    2). When your iPod appears in the iTunes source list change the update setting to manual, that will let you continue to use your iPod without the risk of accidentally erasing it. Check the "manually manage music and videos" box in Summary then press the Apply button. Also when using most of the utilities listed below your iPod needs to be enabled for disc use, changing to manual update will do this by default: Managing content manually on iPod and iPhone
    3). Once you are connected and your iPod is safely in manual mode there are a few things you can do to restore your iTunes from the iPod. iTunes will only let you copy your purchases directly from an iPod to the computer, you'll find details in this article: Copying iTunes Store purchases from your iPod or iPhone to a computer
    For everything else (music from CDs, other downloads and including iTunes purchases) there are a number of third party utilities that you can use to retrieve the music files and playlists from your iPod. You'll find that they have varying degrees of functionality and some will transfer movies, videos, photos, podcasts and games as well. You can read reviews and comparisons of some of them here:
    Wired News - Rescue Your Stranded Tunes
    Comparison of iPod managers
    A selection of iPod to iTunes utilities:
    TuneJack Windows Only (iPhone and iPod Touch compatible)
    SharePod Windows Only (iPhone and iPod Touch compatible)
    iPod2PC Windows Only
    iDump Windows Only
    YamiPod Mac and Windows
    iPod Music Liberator Mac & Windows
    Floola Mac & Windows
    iPodRip Mac & Windows (iPhone and iPod Touch compatible)
    iPod Music Liberator Mac & Windows (iPhone and iPod Touch compatible)
    Music Rescue Mac & Windows (iPhone and iPod Touch compatible)
    iGadget Mac & Windows (iPhone and iPod Touch compatible)
    iRepo Mac & Windows (iPhone and iPod Touch compatible)
    iPod Access Mac & Windows (iPhone and iPod Touch compatible)
    TouchCopy Mac & Windows (iPhone and iPod Touch compatible)
    There's also a manual method of copying songs from your iPod to a Mac or PC. The procedure is a bit involved and won't recover playlists but if you're interested it's available on page 2 at this link: Copying Content from your iPod to your Computer - The Definitive Guide
    4). Whichever of these retrieval methods you choose, keep your iPod in manual mode until you have reloaded your iTunes and you are happy with your playlists etc then it will be safe to return it auto-sync.
    5). I would also advise that you get yourself an external hard drive and back your stuff up, relying on an iPod as your sole backup is not a good idea and external drives are comparatively inexpensive these days, you can get loads of storage for a reasonable outlay: Back up your iTunes library by copying to an external hard drive

  • Need help with Apps misbehaving and upgrading the MacOS: The all-in-one post. ;)

    Hi there,
    So, I've been browsing the SL and Mavericks forums for the last days but although I have fetched some useful tips and answers, still need some help. Let me put it diary-style so I can be more concise ;)
    Here's my current system profile:
    iMac 27" (aluminium back- if I'm no wrong, from around late 2009-mid 2010)
    MacOS 10.6.1 Never updated.
    3.06 Ghz Intel Core2 Duo
    4Gb RAM
    LaCie Big Disk via FireWire 800
    Internet access via Ethernet port (cable)
    And here's The Issues Log:
    – Day one: First ever Kernel Panic. Restart. Nothing (apparently) wrong.
    – 3 weeks elapsed: Second Kernel Panic. Same. iMac restarts fine. Apps fine. No missing files. No misbehaviour experiences.
    – After a month or so: One morning, Skype decides on its own to stop launching. The night before, I chatted with one of my clients, fine as always, but at the next day, nothing. Computer is usually shut off for the night. And so it was that night. Updated Skype and also did all the guest account trick / repaired permissions / repair ACLs. Nothing worked. Overwrote the Skype app with a former functioning version I have in an MacOS 10.5 system. Didn't work. Now I have to chat on the MacOS 10.5 computer. No good.
    – 15 days ago or so: After realising that I no longer have my HP1515n printer (it ran out of inks and thrashed it. It costs more to refill than to buy a new one), I deleted the printer from the printers list in the System Prefs Pane.
    – Last week: Acrobat (CS4) won't launch a PDF file and freezes. Spinning beach ball. Force quit and try opening the PDF file again. Freezes again. And again. And again. With that file and every other PDF.
    Photoshop CS5 fails to open or crashes when attempting to open any jpg or tiff file. InDesign and Illustrator CS5 are frozen and had to force quit both. MacOS 10.5
    Restart the iMac thinking it is just a "common" bad day and hoping everything will be alright after the restart, but nope.
    Not only the CS5 stops working; MSOffice stops working too. Spinning beach ball. Begin to suspect of the deletion of the printer, however, I also deleted the same printer in the above mentioned 10.5 system and I'm not experiencing anything strange. Reinstalled the HP drivers but nothing remarkable happens.
    Then, try to uninstall CS5, CS4, Office, etc. Try to reinstall Acrobat CS4 and the CS5 apps. Reinstall Office. Nothing. Just Outlook works.
    Since I had to desperately meet deadlines, convinced a colleague to come over to the studio and -I know, I know- allowed me to install a copy of CS6. It seems to work fine, except for Acrobat, which randomly freezes/hangs/works and Photoshop, which works fine unless you want to open a layered file containing text layers or if you want to type text on a normal file, because it freezes as soon as the Text Tool is pressed in the toolbar, of course, spinning beach ball again.
    Well, Illustrator CS6 sometimes shows a strange black thin frame overlaid on the interface but goes away by switching to another workspace and then back to the current. InDesign CS6 seems to be fine and making PDFs as expected. However, as I said before, it is pure luck if Acrobat accepts to open the file or even if it launches. Spinning beach ball when freezing/hanging.  
    As a method for eliminating possible culprits, did a clean up of the Suitcase Fusion database, removed duplicate and a few (less than 10) corrupted fonts.
    Removed completely MSOffice reinstalled and updated. Nothing. Now I neither have MSoffice running.
    I am no rookie but I can't even imagine what can cause such amount of misbehaviour, (kernel panics have something to do? malware? lack of system updates? MacHD is damaged?) so I'm thinking of a few scenarios:
    Backing up my projects and user folder –anything else to backup? (In fact I've already done that)– and:
    1. Do a clean install. Not sure if it will be best to completely erase the whole drive or if a standard reinstallation will be enough.
    2. Take the machine to a Genius Bar to see if there's anything that can be done without major OS messes.
    3. Erase the drive and go through the Mavericks upgrading (SL to Ln to MLn to Mavcks), although not sure if this upgrade is worth yet.
    4. Replace HD for a brand new one and either step 1 or 3.
    5. As a complement, I'm thinking of adding more RAM.
    Well. It is really the first time I don't know what to do. I have work to do and would not want to face a week away from my main computer and since most of the files are CS5-6 and hence, can't move to my wife's iMac...
    Apologies if this post feels too long, but I will truly appreciate any kind of input and advice on one of more of the issues mentioned in this post.
    And if it fits best in any other forum, please also let me know.
    Cheers and thanks in advantage.

    You have to use the Base Station Menu on the Menu Bar at the very top of your screen.
    Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
    I am employed by HP

  • Please help with A record and MX record!

    Guys please help - our IT guy disappeared and we changed the hosting over the weekend. He did setup exchange server for all the emails so now i am trying to recreate all the settings in bluehost for email and the bluehost is asking whats A record for our
    Exchange server. Forgive me but i am not an IT guy... where do i find the A record for our exchange server? I would greatly appreciate it if somebody could point me into that direction.

    If the DNS A record for mail.mydomainname.com is currently pointing to your Exchange server's external IP address then I would imagine that's setup correctly.
    Name servers are those used to find out where to get the DNS records for a domain, eg it tells people doing a DNS lookup the address of your DNS server(s) so they can query them to find the required records. As such I'm unsure whether you actually mean name
    servers or not.
    Anything that ends in a .local address is definitely a local record, eg it is only used internally on your local network. On the internet there's no such thing as .local, so server1.mywebsite.local definitely wouldn't be the address you'd put into your public
    DNS records. Do you mean that in Outlook when you look at the server address that you connect to collect email that it is displaying server1.mywebsite.local? If so then that's completely separate to where mail is delivered.
    With the CNAME and MX records I'd suspect that they'd remain the same if they currently point to the mail.mydomain.com address, if they point elsewhere then you might well need to update them.
    What confuses me is what is it that's been changed with your hosting? You say you've changed, and presumably bluehost are the new hosting company, but not what has changed to them. Do you mean the domain has transferred to them, or just the website, or your
    internet access or something else?. You say that via the bluehost dns editor mail already points to mail.mydomainname.com, so it sounds to me as if the relevant records have already been setup and are working. Is email failing to be sent / received currently?

  • Help with iTunes, iPhone and a third party app

    First off, I didn't know where to post this, so I am posting it in iTunes because that's where I am having trouble accessing it.
    I just downloaded the new remote app ( http://gizmodo.com/5023715/apple-remote-iphone-app-controls-your-itunes-over-wi+ fi ) and I have a couple of friends who have it so I know it works, but I can't seem to get it working with my phone.
    The screen for the app install is telling me the fllowing:
    To add an iTunes library, open iTunes and select "xx's iPhone" form the devices list.
    To add Apple TV, go to your Apple TV and choose Remotes from the General menu in Settings.
    That's all the steps to seting up my remote, but I managed to mess that up. I did the first step just fine, and selected my iPhone, synced my phone up with the remote, but I cannot find anything about Apple TV. The only "General menu" I can find is in Edit> Preferences> General, but that has nothing about Apple TV. The only thing I can find about Apple TV is in Help> Apple TV Help.
    So am I just missing a simple menu option somewhere? Thanks in advance.

    I did try going minimal security (I believe I read elsewhere WEP 128) still without result. So after much frustration went and bought an Express, Extreme replaced Netgear router. Internet access is good but I have been unable to "extend" with the Express-- I can access other network devices, but not the internet. When I disable the various "extending" options internet works fine (probably should start a new topic on this). Thanks.

  • Help with dock, desktop, and safari reseting

    For some reason the last time i shut my 20 inch imac down, it wouldnt shut off completely, so i held down the power button to shut it off. The next time i started up my dock, the desktop, and my safari settings all reset, does anyone have an idea of what could have happened?

    Similar Problem with MacPro. Freeze up while logging out of non-admin account <force quit using power button <restart resulted in ano-admin account reconfigured and could not acces mail or reconfigure via Preferences (e.g., dock, desktop background, etc. The Administrator account was not effected.
    FIX that worked: after much fiddling appeared that Permissions was problem. So- went to Mac HD (startup volume) <users <non-admin account < reset permissions using [command] and set permissions (Ownership & Permissions < Details (for both Owner and Group) to allow read & write ppermissions. Now it appears all is well. For some reason the freeze-shutdown glitch had reset the Ownership & Permissions to "system" and "no access allowed".
    Hope this helps
    Take care and a safe Thanksgiving

  • Need help with iphoto 8 and two users on same computer

    Let's me start by stating I'm brand new to Mac. My wife is putting all our photo's under her user name, but when I open my iphoto program I don't see the same photos. I thought I set up my iphoto to share from hers but I've obviously done something wrong. Any help would be appreciated. Thanks in advance.

    Afrergy
    Welcome to the Apple Discussions.
    There are two ways to share, depending on what you mean by 'share'.
    If you want to be able to see the pics, but not add to, change or alter the library, then enable Sharing in your wife's iPhoto (Preferences -> Sharing), leave iPhoto running and use Fast User Switching to open your account. In your account, enable 'Look For Shared Libraries'. Her Library will appear in her source pane.
    Remember iPhoto must be running in both accounts for this to work.
    IF you want to have the same access to the library: to be able to add, edit, organise, keyword etc. then:
    Quit iPhoto in both accounts
    Move the iPhoto Library Folder to the Users/Shared (or an external HD)
    Make sure the file permissions are set to allow read/write access to everyone
    In each account in turn: Hold down the option (or alt) key and launch iPhoto. From the resulting dialogue, select 'Choose Library' and navigate to the new library location. From that point on, this will be the default library location. Both accounts will have full access to the library, in fact, both accounts will 'own' it.
    However, there is a catch with this system and it is a significant one. iPhoto is not a multi-user app., it does not have the code to negotiate two users simultaneously writing to the database, and trying will cause db corruption. So only one user at a time, and back up, back up back up.
    Regards
    TD

  • Help with mail users and setup 10.6 mail server bound to 10.8 Open Directory

    We have a 10.7 Open Directory server which was upgraded from 10.6.  We have had some Open Directory issues since the upgrade.  I am manually creating a 10.8 server as a replacement for the 10.7 server.  All settings for services are running as expected and we are ready to turn over to the new server except for a problem with the ability to receive email.
    Setup in both the original and the replacement has the OD server with DNS running with a correct MX record pointing to our 10.6 mail server.
    In the replacement OD server the mail users were created as network users, with no userhome, with access to the mail service, and email addresses given. 
    The mail server was unbound from the original OD server, bound to the replacement OD server without SSL exactly as with the original, and restarted.
    Initially the mail service said that mail clients had the wrong name or password.  Opened WGM 10.6 on the MAIL server and checked the OD records.  They showed the mail users not having the checkbox saying they were set up to receive mail selected.  Selected the checkbox to receive mail.
    Now the mail client seems to connect to the server correctly but does not show the emails in the system for the users.  It is as though there is no email and the account is brand new.
    Unbind the mail server from the replacement OD server, rebind it to the original OD server, and restart.
    Mail clients connect and receive the mail in the accounts as expected.
    Any ideas?
    Thanks

    I figured out what the mail server is doing.  It has created new email stores for each of the new users.  If we bind to the original OD it uses the original set of email stores.  If we bind to the replacement OD it uses the new set of email stores.
    I have tried to make sure that the userIDs match in each OD but that did not help.
    The server is working for each OD.  Does anyone know if I can tell the 10.6 mail server to use the old emails in the mailstore for the new user in the new OD?
    If nothing else I can solve the problem by archiving the emails and copying them into the new user when running the new OD.

  • Help with RMI tutorial (and Eclipse)

    Hi!
    I need a little help with RMI tutorial. I have all source files from tutorial downloaded, but I never did anything like this and don't know, how to run it. I somehow did Building a JAR File of Interface Classes from [http://download.oracle.com/docs/cd/E17409_01/javase/tutorial/rmi/compiling.html], but got stuck on simple HTTP server, I didn't understand, what to do.
    Bonus question: is it possible to do those commands from Eclipse? How?
    Thanks a lot!

    It seems that the example provided (in the link) requires a web serverNo it doesn't. It requires an HTTP server.
    tomcat will be a better option which you can useThe Apache HTTP server might be more to the point.
    But If you are new to RMI and need to understand the exact flow of RMI I think this will not be a better exercise to start withI agree. I would get it running without the codebase feature. This isn't as widely used as you might think, and anyway it is a deployment option not something you need to engage with much when developing.
    @OP: ignore the HTTP stuff and the codebase feature and build 3 JAR files:
    (a) the common stuff (remote interface, stubs if any, and any classes referecned by the remote interface)
    (b) the server (the remote object itself and anything server-side it uses)
    (c) the client.
    The common JAR file should be deployed to both the server and the client, and both the other JARs should name it in their Class-Path entry in the manifest.

Maybe you are looking for

  • Sharing apps between itunes accounts

    My husband  & I have 2 separate itunes accounts. We got our son an ipod & we each want to 'give' him some of our apps and songs, etc. How can we both do this in sharing? Sharing sounds like it is one 'HOME' account.

  • Data Conversion Logic

    I am now trying to implement a data conversion logic(such as UOM field), I want to load all the data conversion rules in the cache from file and keep them in the cache. So when mapping starts it just picks up the data conversion rules from the cache.

  • Unable to open *.SQL files is v2.1

    Hello, I just 'upgraded' to v2.1 from Version 1.5.0.53 and I can no longer open any of my SQL files correctly. They open in v2.1 as unreadable characters. Any ideas?? I have had to go back to Version 1.5.0.53 so that I can continue to work. Any comme

  • Screen Share for Brand New Mini Server

    Hello all, just unpacked the brand new Mac Mini Server and don't know what to do. We all work on laptops in my studio so have no keyboards to use with the thing. I haven't turned it on yet, but is there a way to immediately go into remote screen shar

  • Mooing and whining! (again)

    Hi all! My MB recently started mooing and whining. It was fine before, but it recently decided to act on me. My questions are: 1. Is there a software fix for the mooing? Is there a small app that would allow me to control the on/off temperature for f