Creating jvm-option with asadmin

Hi,
I am trying to create the following JVM option using asadmin:
-Dproperties.dir=C:/Projects/Project1/myproperties
so I used the following command:
create-jvm-options "-Dproperties.dir=C:/Projects/Project1/myproperties"
The command doesn't work. It ends up in the server as two properties:
"-Dproperties.dir=C
/Projects/Project1/myproperties"
including the quotes ("). I also tried:
create-jvm-options --"-Dproperties.dir=C:/Projects/Project1/myproperties" but it just gives the error:
--"-Dproperties.dir : Option does not have an exact match
Can anyone help?
thanks
Steve

Configuring JVM Options
To set JVM command-line options in the Administration interface:
# In the left pane, click the application server instance name.
# In the right pane, click the JVM tab.
# Click JVM Options.
# To add a JVM option, type it in the text field at the top of the screen and click Add.
# To delete a JVM option, click the checkbox next to it and click Delete.
# To edit a JVM option, edit the text in the JVM Option field and click Save.
For information about specific JVM options, see http://java.sun.com/docs/hotspot/VMOptions.html
Can you please try this and see if that works.

Similar Messages

  • Creating select option with the search help based on other select option

    Hi,
    I have displayed a selection screen with two select options S1 and S2.
    My requirement is that the values in the search help of S2 should get filled based on the values selected in S1.
    Note: User has option to select multiple values in S1.
    Does anybody know how to implement this?
    Thanks,
    Feroz

    >
    Sanjeeva wrote:
    > Hi,
    >
    > With standard f4 you cannot acheive this. You need to write customise with OVS or Simple value selector by reading S1 selected values.
    >
    > Thanks,
    > Sanjeev
    I'm getting fairly tired of seeing this completely incorrect information on this forum.  As stated before and already found out by this poster, you can map input and output values between multiple data dictionary search helps. You do NOT have to resort to using OVS for this option.

  • Create list options with check boxes?

    Is it possible to create a field that is a list of [names] that could have check-boxes next to them so that users can check the box next to each [name] if that [name] appears in the asset/production?
    I can create a lookup which makes a long vertical list of [names] but it's not a very efficient way of identifying that metadata...
    Cheers

    No.
    A drop-down menu with a checkbox next to each name? Or a multi-line text field that also contains checkboxes? I don't think I've seen either of those approaches supported in any user interface, let alone by Final Cut Server.
    In any case, the answer is no. A checkbox is a boolean value. A lookup is a menu of predetermined choices. A text field is a string. You can't nest the different variable types inside each other.

  • JVM options doesn't accept option with spaces

    I am trying to pass an option via JVM options that has spaces in it. In Admin console I set it via
    server1->JVM Settings->General->Debug Options.
    I specified
    -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=1678 -Xnoagent -Djava.compiler=NONE -Dcom.spss.util.xml.catalog=D:\SWDF\config\catalog with spaces
    The path - D:\SWDF\config\catalog with spaces
    cannot be retrieved in my code via
    String catalogRoot = System.getProperty(CATALOG_ROOT_KEY);
    I get
    D:\SWDF\config\catalog
    I tried surrounding it with single and double quotes but none of these work.
    When surrounded by double qoutes I get
    "D:\SWDF\config\catalog
    Is this a known issue? I am using Sun ONE ver 7. The JVM is
    java version "1.4.0_02"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0_02-b02)
    Java HotSpot(TM) Client VM (build 1.4.0_02-b02, mixed mode)
    Swavek

    Please run a simple test. Create a small standalone application that dumps the system properties it sees to the console. If you can get this to work (i.e. spaces in a property), and the same technique fails for AS7, file a defect report with Sun on the issue.

  • Creating if statements with 3 options

    Hey
    I have a Choose from List with 2 items, that if selected will pass the variable through for the Code variable.
    But if the variable for Code is not set from the previous selection, i want the option to type a variable for Code.
    but it does not ask for input even if there is no previous selection for the Code variable.
    Can someone please point out my stupidity ?
    if answer1 is equal to "PACKAGING" then
              set Code to "TA01"
    else
              if answer2 is equal to "IPOP" then
                        set Code to "TA02"
              else
                        set Code to text returned of (display dialog ¬
                                  "Enter Code:" with title ¬
                                  "Create Client Folder " with icon 1 ¬
      default answer ¬
                                  "" buttons {"Cancel", "Next…"} ¬
      default button 2)
              end if
    end if

    Are you sure it is Code that is not defined and not Job?
    Just noticed you can possibly not have job set when you go to use it.
    This works
    set Code to ""
    set job to ""
    if job is equal to "PACKAGING" then
              set Code to "TA01"
    else if job is equal to "IPOP" then
              set Code to "TA02"
    end if
    if Code is equal to "" then
              set Code to text returned of (display dialog ¬
                        "Enter Client Code:" with title ¬
                        "Create Client Folder " with icon 1 ¬
      default answer ¬
                        "" buttons {"Cancel", "Next…"} ¬
      default button 2)
    end if

  • I created a playlist with 100 songs.  I want those 100 songs played using the shuffle option.  This no longer works in iTunes version 11.1.5.5  How can I get an entire  playlist to paly one song after another by using the switch option?

    I created a playlist with 100 songs.  I want those 100 songs played using the shuffle option.  This no longer works in iTunes version 11.1.5.5  How can I get an entire  playlist to paly one song after another by using the switch option?

    You're welcome.
    Going back to your original post:
    5) Tried running Itunes in 'safe mode', running itunes as an administrator..nothing.
    Was that iTunes' safe mode as opposed to Windows' safe mode? iTunes safe mode is invoked by holding down CTRL+SHIFT immediately after clicking the icon to launch iTunes and continuing to hold until this message pops up:
    Click continue, then close iTunes and reopen. With luck iTunes now opens normally every time.
    tt2

  • Office 2010 created PDF only bringing up Work with Certificates option with Signing

    When creating PDF documents with Microsoft Word 2010, the only Sign option showing is Work With Certificates and is greyed, I Need To Sign and Get Others to Sign is missing.  My previous PC with Windows 7/Office 2010 and Reader Xi was able to sign documents.  I'm also able on my old XP machine to create a dummy pdf in Word 2010 and sign it in Reader, and on my Windows8/Office 2013/Reader Xi PC.  Any idea as to where this might have been broken?
    With the PDF file created in 2013, I Ctrl+D'd to get the security settings as it's commonly suggested that electronic signatures is failing because of a setting there, however I'm still able to sign it with Signing: Not Allowed and get the full signing menu instead of the Work With Certificates.

    Hi,
    If you meet any problems when using our products, you can post the question here. Please post one question in a single thread, and the question should be posted in the proper forum.
    The current forum is for Office 2010 - Planning, Deployment, and Compatibility.
    Just as Don mentioned, you may have multiple questions and some of them are not well placed, post them to the correct forum to get the specific support.
    Regards,
    Melon Chen
    TechNet Community Support

  • How do I create a dropdown with three options so that only one is visible in a form (non-flowable)

    I'm working on a form which needs to provides three options for the user out of a drop down list. When the user chooses one option, only that subform is to be visible. Two of the three subforms are text fields, and the third subform is a series of fields which are editable by the user.
    How do i create a dropdown with three options in it, so that in each instance only one subform is visible? This needs to happen in the same space on the main form.

    Hi Nellie,
    Here is the form back to you. There were three main issues:
    In order for dynamic behaviour, like showing and hiding, the form must be saved as a Dynamic XML Form in the save-as dialog.
    While you can use a minus sign when naming objects and subforms, it will cause scripts to fail. I have changed the name of the subforms so that they now use an underscore.
    The dropdown had specified values in the Object > Binding palette (1, 2, 3), so the script needs to use these in the if statements.
    When sharing forms on Acrobat.com, the best option is to select the file in your workspace and then click Publish. This will make it available to anyone who has the published URL.
    I hope that helps,
    Niall

  • I created a broacher with a template using pages but am unable to save it in JPEG. I tried saving as a pdf then using preview save as JPEG but it did not give that option??

    I have created a boucher with PAGES  using a template. How do I now get that teplate to JPEG?
    I tried convertong it to a PDF then saving , but I never got an option to save as JPEG.
    Appreciate any assistance.

    What version of Pages?
    Peter

  • Creating a Select-option with no-intervals and a parameter on a single line

    Hi
    I have a unusual reqirment of creating a select-option with no intervals obligatory and a parameter on a single line. Is this possible? Can any one please provide me a solution for this. I reffered to the SAP help and what i found out is a single line can contain only parameters.

    Hi,
    humm,
    I guess it's not possible on one line.
    SORRY I've tried and it works!
    Try this :
    SELECTION-SCREEN BEGIN OF BLOCK main WITH FRAME
                     TITLE text-s01 NO INTERVALS.
    SELECTION-SCREEN begin of line.
    PARAMETERS : p_gjahr LIKE bkpf-gjahr OBLIGATORY MEMORY ID gjr.
    SELECT-OPTIONS : s_blart FOR bkpf-blart MODIF ID knt .
    SELECTION-SCREEN end of line.
    SELECTION-SCREEN END OF BLOCK main.
    Regards,
    erwan

  • "Error creating JVM" in iPlanet Web Server 4.1SP7 when configured with JDK

    I need to configure iPlanet Web Server 4.1SP7 to execute JSP/Servlets on itself and lookup EJBs kept on IBM Websphere Application Server 4.0.1, both running on different servers with Sun Solaris.
    Whenever, I try to configure iPlanet Web Server 4.1 SP7 to use IBM's JDK 1.3.0 (provided with WAS 4.0) to lookup an EJB, iPlanet server stops as soon as it starts, giving:
    [07/Feb/2003:11:52:38] info ( 2788): Internal error: unable to create JVM acquire failed1:52:38] info ( 2788): NSServletSession::(late)init - JVMControl:: [07/Feb/2003:11:52:38] failure ( 2788): Failure to load JVM (check your JRE) on(late) NSServletLateInit: unknown error): conf_init: Error running init function
    Evenif, I configure it using Sun's JDK 1.4.0.03, iPlanet wS keeps on giving "Exiting JVM" in the error log..
    Now, I want to know, which JVMs are supported by iPlanet Web Server 4.1 SP7, that can be used to lookup deployed components (EJBs/Datasource) on Websphere Application Server 4.0.1?
    Regards,
    Vaibhav
    [email protected]

    I think you are running into this:
    http://sunsolve.sun.com/pub-cgi/retrieve.pl?doc=fsunone%2F8322&zone_32=-Xrs%2A%20
    Thanks
    Manish

  • If Firefox is not the default browser is there anyway to create an "Open with Firefox" right click option for internet icons on the desktop??

    When internet icons on the desktop are right clicked and Firefox is not the default browser, is there anyway to create an "Open with Firefox" option in the right click menu? If not you should create one in future versions.

    You will have to create a copy of the Firefox desktop shortcut and add the URL to the target line if you want to open such an internet shortcut with Firefox.
    A normal internet shortcut will always open in the default browser.

  • What are the best options for creating a PDF with bookmarks and a hyperlinked TOC?

    What I'm interested in is whether or not there is an alternate process I could follow that would side step Word 2011's inability to export to PDF with bookmarks and hyperlinked TOCs. How do you create PDF documents with bookmarks and hyperlinked TOCs in your documents?
    Some background:
    In Word 2010 and 2013 for Windows (and I'm sure this applies to older versions as well), you can export documents to a PDF file format where the exported file will carry over the bookmarks and hyperlinked table of contents. Specifically, by making specific text headers, will appear in the final PDF file as bookmarks on the side (see image taken from Adobe's website).
    Regarding the table of contents, using Word's built in Table of Contents feature successfully ports the ability to navigate to a specific section by clicking on its chapter in the table of contents to the finished PDF file.
    I've read several forum discussions that say it's not possible to do this from Word 2011, so my current solution is to just finish all documents on a Windows machine (either with parallels or a separate computer). The alternate process flow of creating a word document, exporting it to PDF, then rehyperlinking everything in Acrobat is just too time consuming to consider.

    Hi, beejasaurus
    I found a possible kluge from this discussion here
    https://forums.adobe.com/thread/1008480
    Create the hyperlinks in Word, save the file
    Open that file with Pages, export as PDF.
    The links work from that PDF.
    Note, I did not try this with TOC but it worked with hyperlinks embedded in the Word document

  • Need to create a report with drop down option

    Hi,
    I have created a report with a simple query. Its a real time report.
    select host_name, target_name, instance_name from MGMT$DB_DBNINSTANCEINFO
    where target_type = 'oracle_database';
    It gives me a tabular report. It works fine. But it is a huge report about 1000 rows. We can see a particular number of rows per page. Thats fine.
    I need something else. I will select a particular target name from a drop down and the report will give me the result for the respective target only. Is that possible ? How to do that ?
    Thanks in Advance

    Hello,
    When you create your report, in the "general" tab, under Targets click on the first radio button named "A target will be selected by the report viewer when viewing the report" and under that choose target type="Database Instance".
    Then in your report query, use the predefined variable ??EMIP_BIND_TARGET_GUID?? to identify the target the report user will select at execution time; for instance:
    select host_name, target_name, instance_name from MGMT$DB_DBNINSTANCEINFO
    where target_type = 'oracle_database' and target_guid=??EMIP_BIND_TARGET_GUID?? ;
    regards,
    Noel

  • Creating a database with Sun Java Application Server 9

    I am using a slightly outdated reference book on J2EE programming. It gives 2 methods of creating a database used in its casestudies. The first is an ANT script that gives the following output:
    D:\original\CaseStudy-2-5\CaseStudy\Day02\exercise>asant database
    Buildfile: build.xml
    env-user:
    prop-user:
    set-user:
    env-password:
    prop-password:
    read-password:
    set-password:
    set-j2ee:
    create-jdbc:
    set-j2ee:
    asadmin:
    [echo] asadmin.bat create-jdbc-resource user admin password password --
    connectionpoolid PointBasePool --enabled=true jdbc/Agency
    [exec] Usage: create-jdbc-resource [--terse=false] [--echo=false] [--intera
    ctive=true] [--host localhost] [--port 4848|4849] [--secure | -s] [--user admin_
    user] [--passwordfile file_name] --connectionpoolid id [--enabled=true] [--descr
    iption text] [--target target(Default server)] jndi_name
    [exec] CLI193 Password option "password" is not allowed on the command line
    . Please use --passwordfile option or asadmin login command.
    set-j2ee:
    asadmin:
    [echo] asadmin.bat list-jdbc-resources user admin password password
    [exec] Usage: list-jdbc-resources [--terse=false] [--echo=false] [--interac
    tive=true] [--host localhost] [--port 4848|4849] [--secure | -s] [--user admin_u
    ser] [--passwordfile file_name] [target (Default server)]
    [exec] CLI193 Password option "password" is not allowed on the command line
    . Please use --passwordfile option or asadmin login command.
    set-dbpath:
    BUILD FAILED
    D:\original\CaseStudy-2-5\CaseStudy\common\targets.xml:87: D:\Sun\SDK\pointbase\
    lib not found.
    Total time: 2 seconds
    D:\original\CaseStudy-2-5\CaseStudy\Day02\exercise>
    I've checked and there is no Sun\SDK\pointbase folder. The book was written for SDK 1.4 and I believe another application server. There is also a Java program that attempts to create it with jdbc. Its output looks like this :
    D:\original\CaseStudy-2-5\CaseStudy\Day02\exercise\classes>java CreateAgency
    java.lang.ClassNotFoundException: com.pointbase.jdbc.jdbcUniversalDriver
    java.lang.ClassNotFoundException: com.pointbase.jdbc.jdbcUniversalDriver
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:169)
    at CreateAgency.main(Unknown Source)
    D:\original\CaseStudy-2-5\CaseStudy\Day02\exercise\classes>
    I am not conversant enough to discuss the corrections for the ANT script but I'm reasonably certain the Java program could work if I had the right strings in these lines.
    // PointBase
    private static final String driver = "com.pointbase.jdbc.jdbcUniversalDriver";
    private static final String protocol = "jdbc:pointbase:server://localhost/sun-appserv-samples,new";
    private static final String user = "pbPublic";
    private static final String password = "pbPublic";
    Can anyone help me with the correct driver and protocol?
    I am using the latest download version SDK JavaEE5
    the entire java program looks like this:
    import java.sql.*;
    public class CreateAgency {
    // Cloudscape
    //private static final String driver = "COM.cloudscape.core.RmiJdbcDriver";
    //private static final String protocol = "jdbc:cloudscape:rmi:Agency;create=true";
    //private static final String user = "";
    //private static final String password = "";
    // PointBase
    private static final String driver = "com.pointbase.jdbc.jdbcUniversalDriver";
    private static final String protocol = "jdbc:pointbase:server://localhost/sun-appserv-samples,new";
    private static final String user = "pbPublic";
    private static final String password = "pbPublic";
    public static void main(String[] args) {
    Connection conn=null;
    Statement s=null;
    try {
    Class.forName(driver);
    System.out.println("Loaded driver: "+driver);
    conn = DriverManager.getConnection(protocol,user,password);
    System.out.println("Connected to: "+protocol);
    conn.setAutoCommit(false);
    s = conn.createStatement();
    System.out.println("Dropping exisiting BMP tables...");
    try {s.execute("drop table ApplicantSkill");} catch (SQLException ex){}
    try {s.execute("drop table Applicant");} catch (SQLException ex){}
    try {s.execute("drop table JobSkill");} catch (SQLException ex){}
    try {s.execute("drop table Job");} catch (SQLException ex){}
    try {s.execute("drop table Matched");} catch (SQLException ex){}
    try {s.execute("drop table Customer");} catch (SQLException ex){}
    try {s.execute("drop table Location");} catch (SQLException ex){}
    try {s.execute("drop table Skill");} catch (SQLException ex){}
    System.out.println("Dropped tables");
    System.out.println("Creating new tables...");
    s.execute("create table Skill(name varchar(16) CONSTRAINT pk_skill PRIMARY KEY (name), description varchar(64))");
    s.execute("create table Location(name varchar(16)CONSTRAINT pk_location PRIMARY KEY (name), description varchar(64))");
    s.execute("create table Applicant(login varchar(16) CONSTRAINT pk_applicant PRIMARY KEY (login), name varchar(64), email varchar(64), summary varchar(512), location varchar(16), CONSTRAINT fk_location FOREIGN KEY (location) REFERENCES Location(name))");
    s.execute("create table ApplicantSkill(applicant varchar(16), skill varchar(16), CONSTRAINT fk_applicant FOREIGN KEY (applicant) REFERENCES Applicant(login), CONSTRAINT fk_skill FOREIGN KEY (skill) REFERENCES Skill(name))");
    s.execute("create table Customer(login varchar(16) CONSTRAINT pk_customer PRIMARY KEY (login), name varchar(64), email varchar(64), address1 varchar(64), address2 varchar(64))");
    s.execute("create table Job(ref varchar(16), customer varchar(16), description varchar(512), location varchar(16), CONSTRAINT pk_job PRIMARY KEY (ref,customer), CONSTRAINT fk_customer FOREIGN KEY (customer) REFERENCES Customer(login), CONSTRAINT fk_location FOREIGN KEY (location) REFERENCES Location(name))");
    s.execute("create table JobSkill(job varchar(16), customer varchar(16), skill varchar(16), CONSTRAINT fk_job FOREIGN KEY (job,customer) REFERENCES Job(ref,customer), CONSTRAINT fk_skill FOREIGN KEY (skill) REFERENCES Skill(name))");
    s.execute("create table Matched(applicant varchar(16), job varchar(16), customer varchar(16), exact boolean, CONSTRAINT fk_job FOREIGN KEY (job,customer) REFERENCES Job(ref,customer), CONSTRAINT fk_applicant FOREIGN KEY (applicant) REFERENCES Applicant(login))");
    System.out.println("Created tables");
    System.out.println("Inserting table records...");
    s.execute("insert into Location values ('London','London UK')");
    s.execute("insert into Location values ('Washington','Washington DC, USA')");
    s.execute("insert into Location values ('Verona','Verona, Renaissance Italy')");
    s.execute("insert into Location values ('Wessex','Wessex, Kingdom of England')");
    s.execute("insert into Skill values ('Tree Surgeon','Tree Surgeon')");
    s.execute("insert into Skill values ('Cigar Maker','Cigar Maker')");
    s.execute("insert into Skill values ('Bodyguard','Bodyguard')");
    s.execute("insert into Skill values ('Cook','Cook')");
    s.execute("insert into Skill values ('Lawyer','Lawyer')");
    s.execute("insert into Skill values ('Critic','Critic')");
    s.execute("insert into Applicant values ('juliet','Juliet Capulet', 'juliet@localhost' , 'Dutiful daughter', 'London' )");
    s.execute("insert into Applicant values ('romeo','Romeo Montague', 'romeo@localhost' , 'Dutiful son', 'Wessex' )");
    s.execute("insert into Applicant values ('julius','Julius Caesar', 'julias@localhost' , 'Roman Emperor', 'Washington' )");
    s.execute("insert into Applicant values ('brutus','Marcus Brutus', 'marcus@localhost' , 'Roman Senator', 'Washington' )");
    s.execute("insert into Applicant values ('proteus','Proteus', 'proteus@localhost' , 'Gentleman', 'Verona' )");
    s.execute("insert into Applicant values ('valentine','Valentine', 'valentine@localhost' , 'Gentleman', 'Verona' )");
    s.execute("insert into ApplicantSkill values ('juliet', 'Cook')");
    s.execute("insert into ApplicantSkill values ('romeo', 'Cook')");
    s.execute("insert into ApplicantSkill values ('romeo', 'Bodyguard')");
    s.execute("insert into ApplicantSkill values ('julius', 'Tree Surgeon' )");
    s.execute("insert into ApplicantSkill values ('julius', 'Tree Surgeon' )");
    s.execute("insert into ApplicantSkill values ('brutus', 'Critic' )");
    s.execute("insert into ApplicantSkill values ('brutus', 'Lawyer' )");
    s.execute("insert into ApplicantSkill values ('proteus', 'Lawyer' )");
    s.execute("insert into ApplicantSkill values ('proteus', 'Critic' )");
    s.execute("insert into ApplicantSkill values ('valentine', 'Critic' )");
    s.execute("insert into ApplicantSkill values ('valentine', 'Cigar Maker' )");
    s.execute("insert into Customer values ('george','George Washington', 'george@localhost', 'White House', 'Washington')");
    s.execute("insert into Customer values ('winston','Winston S Churchill', 'winston@localhost', '10 Downing Street', 'London')");
    s.execute("insert into Customer values ('abraham','Abraham Lincoln', 'abe@localhost', 'Springfield', 'Illinois')");
    s.execute("insert into Customer values ('alfred','Alfred the Great', 'alf@localhost', 'Wessex', 'England')");
    s.execute("insert into Job values ('Tree pruner', 'george', 'Must be honest', 'Washington')");
    s.execute("insert into Job values ('Cigar trimmer', 'winston', 'Must like to talk and smoke', 'London')");
    s.execute("insert into Job values ('Theatre goer', 'abraham', 'Should be intelligent and articulate', 'Washington')");
    s.execute("insert into Job values ('Cake maker', 'alfred', 'Should have a good sense of smell', 'Wessex')");
    s.execute("insert into JobSkill values ('Tree pruner','george','Tree Surgeon')");
    s.execute("insert into JobSkill values ('Cigar trimmer', 'winston', 'Cigar Maker')");
    s.execute("insert into JobSkill values ('Cigar trimmer', 'winston', 'Critic')");
    s.execute("insert into JobSkill values ('Theatre goer', 'abraham', 'Bodyguard')");
    s.execute("insert into JobSkill values ('Theatre goer', 'abraham', 'Lawyer')");
    s.execute("insert into JobSkill values ('Theatre goer', 'abraham', 'Critic')");
    s.execute("insert into JobSkill values ('Cake maker', 'alfred', 'Cook')");
    System.out.println("Inserted records");
    conn.commit();
    System.out.println("Committed transactions");
    catch (SQLException ex) {
    System.out.println("SQL Exception thrown: "+ex);
    ex.printStackTrace();
    try { conn.rollback(); } catch (Exception e) {}
    catch (ClassNotFoundException ex) {
    System.out.println(ex);
    ex.printStackTrace();
    finally {
    try { s.close(); } catch (Exception ex) {}
    try { conn.close(); } catch (Exception ex) {}
    }

    JavaEE Tutorial has a chapter on security:
    http://java.sun.com/javaee/5/docs/tutorial/doc/
    Usually a no-arg InitialContext() is used, rather than InitialContext(props). For more info, see
    Glassfish EJB FAQ:
    https://glassfish.dev.java.net/javaee5/ejb/EJB_FAQ.html
    -cheng

Maybe you are looking for

  • I cannot find Aceeca 64-bit USB HotSync drivers in device manager or anywhere on my pc

    I downloaded drivers from Aceeca in April and it worked fine to last HotSync in July  but am now  unable to connect handheld to pc to perform a hotsync .  Cannot find drivers in Device Manager, do not have an option for "Other Devices"  when I search

  • Suggestion needed on creating report

    Morning all, I have been asked to create a report which would categorize each lens type according to month. However each lens type would show number of orders according to number of days. For example                                            Number

  • Aspect Ratio in Premiere Pro CS3

    I have imported a Quicktime movie (a desktop recording of a software created using SnapZ Pro) which was recorded in SnapZ Pro with frame dimensions of 720 x 480 pixels. When I import this quicktime movie file into my Premiere Pro CS3 project, the set

  • Boot Camp from External HDD

    I need to use boot camp so i can learn MSSQL for work, the problem is that I only have about 15G left on my hard drive. How do I use boot camp to set it up on the external hard drive, when i start boot camp assistant, it does not give me the option t

  • Apps taking forever to install on OS4

    Is anyone else having this problem? I've tried updating several apps and they took a very long time.