Problem configuring TassieDB database to work with JBoss Servlets + EJB app

Hi everybody
I have been unable to get Budi Kurniawan's Tassie Onine Bookstore example (
http://benmira.free.fr/en/j2ee/sessionEJB.htm#ch29lev1sec4) application to read anything from the database TassieDB . I am not sure what is wrong. I downloaded the database from the CD. Then since this was an older version of Access, I had to let my Access convert it to the newer form.
I then configured the Database the way I thought I should in order for it to work. I created a Data Source Name called TassieDB, by following the procedure to create a System DSN on Windows. I selected the Microsoft Access Driver and associated my Database which I named TassieDB1, which I deposited under C:\budibookstore which also contains the package com.brainysoftware.tassie.servlet.ejb
When I access the SearchServlet page and type in "Computer" in the search box nothing turns up. I wonder what is going on?
The following errors are spewed out by Apache in this process:
May 18, 2005 8:27:24 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Starting service Tomcat-Standalone
Apache Tomcat/4.1.31
May 18, 2005 8:27:28 PM org.apache.struts.util.PropertyMessageResources
INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=tru
e
May 18, 2005 8:27:28 PM org.apache.struts.util.PropertyMessageResources
INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNul
l=true
May 18, 2005 8:27:29 PM org.apache.struts.util.PropertyMessageResources
INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources', retur
nNull=true
May 18, 2005 8:27:33 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
May 18, 2005 8:27:33 PM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
May 18, 2005 8:27:33 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=10/150 config=C:\tomcatj\conf\jk2.properties
javax.naming.NoInitialContextException: Cannot instantiate class: org.jnp.interf
aces.NamingContextFactory [Root exception is java.lang.ClassNotFoundException: o
rg.jnp.interfaces.NamingContextFactory]
javax.naming.NoInitialContextException: Cannot instantiate class: org.jnp.interf
aces.NamingContextFactory [Root exception is java.lang.ClassNotFoundException: o
rg.jnp.interfaces.NamingContextFactory]
All help is gratefully acknowledged and accepted. Thanks in advance

Hi
Did you notyfy the Exception ?
class not found Exception "org.jnp.interfaces.NamingContextFactory"
add these packages to your class path.
Vinoth

Similar Messages

  • How to configure Oracle 8 to work with Weblogic portal4.0

    Hi! I'm trying to configure my portal to work with oracle8i using thin driver.I've set classes12.zip in the classpath.But if I set the DATABASE=ORACLE_OCI value inthe set-environment.sh file the server does not start.Pls help.

    Here's the error log it throws for the problem:
    : 'Fatal initialization exception
    Throwable: java.lang.IllegalAccessError: Exception[com.bea.p13n.security.realm.R
    DBMSException: An error occured creating a database connection for the realm.]
    java.lang.IllegalAccessError: Exception[com.bea.p13n.security.realm.RDBMSExcepti
    on: An error occured creating a database connection for the realm.]
    at weblogic.security.acl.Realm.getRealm(Realm.java:91)
    at weblogic.security.acl.Realm.getRealm(Realm.java:62)
    at weblogic.security.SecurityService.initializeRealm(SecurityService.jav
    a:258)
    at weblogic.security.SecurityService.initialize(SecurityService.java:115
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:390)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:202)
    at weblogic.Server.main(Server.java:35)
    '>

  • How do i configure my airport to work with my other wireless router

    how do i configure my airport to work with my other wireless router? I want to be able to listen to itunes through my speakers wirelessly.

    Please check out the following Apple Support article for details on the many methods to use an AirPort Express for iTunes streaming.

  • Having problems getting Comcast internet to work with my power Mac running 10.5.8  Help needed

    Just got Comcast Cable and everything works: phone, WiFi, and TV, BUT ethernet won;t work with my power mac tower running 10.5.8 . Hooked modem to laptop running Microsoft and no problem, but it won't work with my Mac.  Any solutions out there?

    Hi, see if this changes anything...
    Make a New Location, Using network locations in Mac OS X ...
    http://support.apple.com/kb/HT2712
    10.5, 10.6, 10.7 & 10.8…
    System Preferences>Network, top of window>Locations>Edit Locations, little plus icon, give it a name.
    10.5.x/10.6.x/10.7.x/10.8.x instructions...
    System Preferences>Network, click on the little gear at the bottom next to the + & - icons, (unlock lock first if locked), choose Set Service Order.
    The interface that connects to the Internet should be dragged to the top of the list.
    If using Wifi/Airport...
    Instead of joining your Network from the list, click the WiFi icon at the top, and click join other network. Fill in everything as needed.
    For 10.5/10.6/10.7/10.8, System Preferences>Network, unlock the lock if need be, highlight the Interface you use to connect to Internet, click on the advanced button, click on the DNS tab, click on the little plus icon, then add these numbers...
    208.67.222.222
    208.67.220.220
    (There may be better or faster DNS numbers in your area, but these should be a good test).
    Click OK.

  • Is there a way to work with two or more app at the same time on iPhone or iPad

    Is there a way to work with two or more app at the same time on iPhone or iPad?

    What i am attempting to achieve is to work with at least two app at the same time. For example: select any picture from my albums to attach them in an email. Another example is get data from an app to use it with the calc app. And there are more exaples for it. And for sure I need support for an iPad air. I mencioned the other tablet just to try to be a bit clearer.

  • Problems configuring HP Laserjet M1213nf MFP with Mac via AirPrint

    Hello,
    I have a HP Laserjet M1213nf MFP printer, connected to a Dlink DSL-2730U ADSL router. I am having problems configuring the printer with my Macbook running OSX Yosemite. I can see the printers name in nearby printers but when I try to add the printer, the mac gives me an error saying, "unable to communicate with the printer at this time". The network settings on the printer are configure for iPv4 and iPv6 addresses. 
    Previously, I had the ADSL DSL-2750U model router, and the printer was connected fine. I did not face any issues then. I have been facing problems since I changed my router so the problem should be in the router. I have the IP for the printer reserved in the DHCP reservation list on the router settings using the mac address of the printer.
    Can someone please help me out here? Is there something I am probably missing.
    Rgds
    ~n~

    I talked to the DLink Support. They asked me to disable an option called "MultiAP Isolation" and Voila, the printer is working fine. I can add it to all my devices on the wireless network. I looked up google. Apparently, this isolation feature present in some routers, prevent wifi clients to interact with other devices connected to the wired network and also with each other. Thats why only my desktop which was also connected wired was only able to access the printer and not the laptops connected wirelessly. 
    Problem solved. Thanks for all your help on this one.
    Cheers!

  • Configure macbook air to work with projector

    Do I need to configure my new MacBook Air to work with a digital projector or should it work automatically without any setting up other than connection to the projector?

    If you have a Lightning to whatever input that the projector has more than likely HDMI, VGA, or DVi you should be able to to hook the projector up with no problem. You can find a number of different displayPort outputs in the apple store or other electronic online/stores. Once connected to the projector you can choose to have the the additional desktop displayed or you can enable Airplay Mirroring in the Displays section under System Preferences. You can also close your Air and use a bluetooth mouse and keyboard and completely operate through the projector screen.

  • Is it possible to configure Time Capsule to work with Time Machine (MBP) and Genie Timeline (PC)

    I have an Apple Time Capsule (2TB) and I need to configure it to work with my MBP and Time Machine and also back up my a PC with Genie Timeline Pro 2013 (or any other suggested PC back up software).
    Setting it up to work with Time Machine is simple enough but the PC access is proving to be difficult.
    http://www.genie9.com/support/KB/KnowledgeArticle.aspx?KBID=198
    I followed the above steps but still can't connect to the network drive.  I have reformatted the TC and will be walking through the steps again.  My concern is that the two different operating systems (Win8 and Mavericks) can't share the same destination drive.
    I have created two user accounts with drive sharing activated.  One in my name for my MBP and the other in the name of my partner for her Dell laptop.
    Should the Time Capsule be partitioned?  Can it even be partitioned?  When I use Drive Utility it can't see the TC.  The only way to connect to it seems to be via Airport Utility.
    On a seperate note the TC Router Mode is set to OFF (Bridge Mode).  I have connected it to the ADSL modem/router (WiFi Off) via the WAN port.  All seems to be well.  Am I loosing any useful functionality by doing this?
    The internet settings are set Connect Using DHCP.  I have no issues but I am not really sure what it means and if I should be using other settings.  The ADSL modem/router seems to have all the PPP0E settings.
    The WiFi on the TC has been set up with a 5Ghz and 2.4Ghz network as well as a Guest Network.  I then plan to introduce 2 Airport Express (MB321LL/A). One will be an access point for AirPlay and the other a wireless extender with AirPlay.
    There is also a Canon WiFi printer that accesses the 2.4Ghz network.  It has an Ethanet port so I am wondering if I should disable the wifi connection and cable it and if so to the TC or the DSL modem/router.

    Lion, 7.6.1 firmware and iCloud offers remote access.
    http://www.apple.com/au/support/icloud/back-to-my-mac/
    To do it without the iCloud service your issue is static public IP address.. if you have one this is simple to the point of trivial. If not it is very hard, as Apple did not put in a standard dynamic DNS service.. (ensuring you were roped into their cloud accounts). Static IP from your ISP is the best solution.. if it is possible go for it.
    Then the actual protocol for access is AFP, so the only device you can do this on is a Mac.
    Do you have the TC as the main router?
    If you want any other kind of access, or to avoid icloud use vpn.. which teamviewer is a kind of.. but buy a real vpn router, and bridge the TC.. you can then vpn into your network with full security and get windows access via smb..

  • Sudden problem getting CD-LabelPrint to work with Canon ip5200R

    The last time I successfully printed a disc label on my Canon ip5200R was in November last year - until then, I'd had no problems printing from a couple of different iMacs & my MacBook Air. I have recently tried to print a new label, but am receiving the message: "The Paper Settings are not correct. Please check the paper size, magnification ratio, and the paper orientation. To set the paper settings, please click on "Settings". To cancel printing, please click "Cancel"." All of my settings are correct! I used to get a message that advised me to check the "Quality & Media" settings, where I could make further adjustments (eg, tick "greyscale printing"), but I can no longer access this option.
    A Google search revealed that others have had similar problems - solutions suggested included updating the software. I was using CD LabelPrint v.1.3. I have installed v.1.7, but the problem persists. (When I installed v.1.8, the message indicated that there was no printer installed that would work with the program!) (I uninstalled the previous versions correctly by deleting the folder from Applications as well as from Preferences in the Library.) I have attempted to print from 4 different Macs - three of them are running Mac OS 10.5.8 and one is running 10.4.11- no luck with any of them! The only change that is consistent between them since November last year is that they have all received software updates for their operating systems. I am wondering whether something in these updates is now interfering with CD LabelPrint?
    I am frustrated with the amount of time this has taken so far, and so am hoping that someone will please be able to help me rectify the problem.
    - Merrilly

    Hi there,
    I have v1.60 of CD LabelPrint on my 10.5.8 VM and it is working fine. It also has all the Apple updates installed so I don't think this would be the cause.
    I also have v1.80 on 10.6 and it is working fine as well.
    The version 1.60 on 10.5.8 generates a pop-up as soon as the Print icon is pressed. This takes you to the Page Setup menu for CD LabelPrint to ensure you have the 'Format for' set to the iP5200R and the 'Paper Size' set to 'CD Tray C'. With these selected and the OK button pressed, the next warning window appears regarding the Quality & Media settings.
    If you manually open Page Setup in your CD LabelPrint, does it have the iP5200R set as the printer and the CD Tray C set for the paper size?
    Regarding the v1.8 and the error, this version was released to add support for Snow Leopard. Since you have to use the CUPS v10.26 driver on Snow Leopard (the v4.8.3 driver for Leopard cannot be used on SL) then maybe the same driver would have to be installed on Leopard in order for CD LabelPrint to function?
    Pahu

  • Advice needed: The way to solve out of memory problem (or the way to work with big csv files)

    Hello:)
    I'm in trouble: I have a big csv file (over 5gb of web-analytics data) and my 64 bit excel (and 6gb ram)
    I cant load file to data model because of it's size. There is an error "out of memory" in power query. 
    This is the first time when I encountered such a problem.
    What options do I have to work with such a file? To increase memory in my computer? Would it solve the problem? How much do I need to work with 6gb csv? 
    Or may be I can upload my data somewhere to azure and work with it there? 
    So the problem - is there any way to deal with big files using power query? Or I need to become a developer and learn sql or other languages? 
    Thanks in advance.
    Max

    Hi Miguel!
    Thanks for your answer. 
    I've tried to load this file on virtual pc from azure cloud with this config:
    I have increased memory limit in power query settings:
    And still, the proble is the same:
    What I do wrong? 

  • Problem when displaying images when working  with PHP, mysql and dreamweaver in a brower

    Hey Guys
    I am new to dynamic development but I already did some
    research and tutorials about how to get a dynamic web site working
    with PHP and Mysql in Dreamweaver. I set up a test page to view
    some content on it directly from the mysql database and it worked
    just fine in dreamweaver only when I pressed the
    live data view.
    When I tried to view the same page using the browser preview
    with firefox and internet explorer, plain text from the database
    was correctly displayed on the brower but the images were absent.
    In the mysql database I used the varchar as my picture data
    type field so that I will refer in dreamweaver in the data binding
    panel in the img.src to the picture column of my database.
    I anyone can tell me what am I doing wrong so that my
    pictures are not displayed in the browser when i click the browser
    preview facility in dreamweaver I would be very very and very
    pleased ! :)

    The odds are that it is the way that you have referenced the
    images rather
    than an issue with the database. If you have the images root
    relative like
    this "/images" then they will work in preview, and on the
    webserver, but
    will not view when looking at the file via localhost.
    If possible make the links page relative and then they should
    work fine.
    Paul Whitham
    Certified Dreamweaver MX2004 Professional
    Adobe Community Expert - Dreamweaver
    Valleybiz Internet Design
    www.valleybiz.net
    "mariosal026" <[email protected]> wrote in
    message
    news:ea3nq2$9ol$[email protected]..
    > Hey Guys
    >
    > I am new to dynamic development but I already did some
    research and
    > tutorials
    > about how to get a dynamic web site working with PHP and
    Mysql in
    > Dreamweaver.
    > I set up a test page to view some content on it directly
    from the mysql
    > database and it worked just fine in dreamweaver only
    when I pressed the
    >
    live
    > data view.
    >
    > When I tried to view the same page using the browser
    preview with firefox
    > and
    > internet explorer, plain text from the database was
    correctly displayed on
    > the
    > brower but the images were absent.
    >
    > In the mysql database I used the varchar as my picture
    data type field so
    > that
    > I will refer in dreamweaver in the data binding panel in
    the img.src to
    > the
    > picture column of my database.
    >
    > I anyone can tell me what am I doing wrong so that my
    pictures are not
    > displayed in the browser when i click the browser
    preview facility in
    > dreamweaver I would be very very and very pleased ! :)
    >

  • Problem getting MySQL driver to work with JAVA

    Hi
    I have downloaded this driver for MySQL 'mysql-connector-java-3.0.16-ga-bin.jar' what should I do with this to make it work with my instalation of jdk1.3.1_15?
    I have placed it in the folder C:\jdk1.3.1_15\lib but I am getting the following error on compilation:
    MyClass.java:9: <identifier> expected
    Class.forName("com.mysql.jdbc.Driver").newInstance();
    ^
    MyClass.java:9: cannot resolve symbol
    symbol : class forName
    location: class java.lang.Class
    Class.forName("com.mysql.jdbc.Driver").newInstance();
    ^
    2 errors
    or am i doing something else wrong?

    Here's a snippet of the code I am using if this helps
    import java.util.*;
    import java.sql.*;
    class MyClass{
         Class.forName("com.mysql.jdbc.Driver").newInstance();
             Connection connection = DriverManager.getConnection("jdbc:mysql://localhost/myDB?user=admin&password=admin", "", "");
         Statement statement = connection.createStatement();
         public void MyClass(){
                  // count the number of records in the database table
              ResultSet rsCount = statement.executeQuery("SELECT COUNT(*) AS tCount FROM myTable");     
              rsCount.first();
              int tCount = rsCount.getInt("tCount");
              rsCount.close();
    }

  • Configuring airport express to work with a secure router

    i have installed a new router on our network and have added security.  My airport express no longer can recognize the network since I believe it has to pass along a password.
    How do I tell the airport express the network password? 
    Airport utility version 5.5.3
    MAC OSX version 10.6.8

    You have to start over and perform a Factory Default Reset on the AirPort Express....then re-configure it using the new settings for your "new" network.
    Power off the AirPort Express
    Wait a few minutes
    Hold in the reset button first, and keep holding it an additional 9-10 seconds while you simultaneously plug the Express back in to power
    Release the reset button after the 9-10 hold period and allow a full minute for the Express to restart to a slow, blinking amber light
    The Express is now back to new, out of box settings so that you can configure it to work with your "new" network.

  • How to configure airport extreme to work with Actiontec gt701d modem

    I have been trying to set up a new Actiontec modem to work with a new Airport Extreme with no luck. I don't know what the right settings are to get it to work correctly. So far the only way I have been able to get the two to work together is to have the AE connect with ethernet and bridge mode. However with this configuration I can't setup a guest network which I would like to be able to do. I have read some past posts and have tried other configurations but end up either losing internet connection or getting a very slow connection. If anyone has some idea how to get this modem to work with the AE i would really appreciate some advice
    Thank you

    Welcome to the discussion area, Meagan!
    The Actiontec "modem" that you mention is really a gateway...a combination modem/router, so with this device and the AirPort Extreme, you have two routers on the network.
    Whenever you have two routers on a network, the first router must be configured to handle the main routing chores and any other routers must be configured in Bridge Mode to function correctly. So, Bridge Mode is the correct setting for the AirPort Extreme when used with the Actiontec gt701d gateway.
    In order for the AirPort Extreme to provide a Guest Network, it must be configured as the "main" router on a network. This won't be possible unless you can re-configure the Actiontec device to act as a simple modem, not a router. You might want to check with Actiontec support to see whether this might be possible.
    Message was edited by: Bob Timmons

  • Configuring NI Labview to work with Telelogics CM Synergy 6.3

    Having successfully set up NI TestStand to work with Telelogics CM Synergy 6.3 by downloading the Integration patch from their website and carrying out the associated work, I want to achieve the same with LabVIEW 6.1. When I select the "Configure SCC Options" the Provider field offers only the "Built-in" option. I need to see something akin to "CM Synergy" in this field. Can anyone asssit?

    Additional articles of interest are:
    http://digital.ni.com/public.nsf/allkb/B68CCC0FCD1C426486257163005106E5 which speaks of the necessary registry key. (aka why a particuler CM application might not show up in the Configuration Control dialog)
    And:
    http://digital.ni.com/public.nsf/allkb/3c1eadff9708084a86256e85005636aa which speaks of the patch.  Note that when I viewed the link at the bottom of the article it did not lead to the patch location on Telelogics web site. Rather it led to some support pages.
    The patch can be found at:  synergy drop down, select Product Downloads, Current Integration section, click on SYNERGY/CM 6.4, Windows section, PC Integrations.  I downloaded this and installed the only SCCI integration. That install created the registry key.
    And a document about MSCCI:
    http://download2.telelogic.com/synergy/cm_synergy/6.2/cm_synergy/documentation/scc_api_conform.pdf
    Now the issue is descerning functionality.  Initially, upon setup, I am prompted to select a project which does not seem appropriate. Also note that in the Tools->Source Control->Configure Source Control dialog a specific Source Control Project can be listed.  These seems odd as I would expect the configuration of Source Control and usage such as creating or selecting a particular project would be seperate.
    I perceive my next step to be create a source tree from an existing project in labview.  This is not possible because a Source Control configuration forces one to select a project. Therefor new Source Control project must be created outside of labview.  ie directly in Synergy.  I will give that a go and report back.
    thanks
    >
    Message Edited by kbsimm on 09-01-2006 11:30 AM

Maybe you are looking for

  • How to tell if a client has backed up to Time Machine

    I have multiple MACBook Pro and an iMAC at my home.  All are configured to backup to the same Time Machine.  One of the MacBook Pro had a problem with the installation of Lion and needs to restore from a Time Capsule backup.  When prompted for the us

  • My iPod Touch 5th Generation won't play music out loud. Why and what can i do to 'fix' it?

    My iPod Touch 5th Generation won't play music out loud. Why and what can i do to 'fix' it?

  • Flex 4.5 SDK in Flash Builder 4.0

    I am attempting to use the Flex 4.5 SDK in Flash Builder 4.0, as my company does not yet have FB4.5.  Everything seems ok, however whenever I try to use the <s:ViewNavigatorApplication>  or the <s:View> Flash builder does not seem to recognize them,

  • Weblogic 12c not picking up persistence unit in WAR

    I'm trying to get an example CRUD application to run on WebLogic 12c (for the app see: http://henk53.wordpress.com/2012/04/15/jsf2-primefaces3-ejb3-jpa2-integration-project/) So far the applications runs on JBoss AS 7.1, GlassFish 3.1.2 and TomEE bet

  • Combined Invoicing

    In Customer Master we have maintained payment terms for e.g. Z001 i.e. 12 Days •     There is only one Sales Area •     One sales order contain One Material Only •     In the sales area multiple products are allowed for sales •     In this Sales Area