Need help JDBC masters

Hi everybody;
i'm doing a web app to record TimeIn and TimeOut for the employees of the company...
now each branch of the company has a different timeIn (for ex. 10.00 or 8.00,,) and this is all stored in the DB..
what i'm doing is that i'm taking this time from the MS SQL DB as Timestamp, and getting the current time also as Timestamp...
now the current time is completely correct with the date (ex. 2007-07-22 08:45:00)
but the MS SQL DB Time is becoming like this when retriving it (1900-01-01 08:00:00)..
see...
the time is correct but the DATE !!!!!!
i want to know if the employee is late or not so when ever i'm using this:
currentTime.after(branchTime)
i'm getting true for sure...
now what i thought of doing is away of getting only the time from both Timestamp obejcts and compare it...
but again how to trim this object...
I don't know really.. help me find a solution...
Thanks in advance...
p.s if you need more info. pls inform me...
Q.Najjar (^_^);

Thanks for everyone who tried to think about it...
will i found a soultion for this matter. ..
and to get some exp. here it is:
1- I took the java.sql.Timestamp branchTime and formed into string by calling toString();2- using the substring(int beginIndex) to cut the time and remove the wrong date:
ex. branchTime.toString() = 1900-01-01 08:00:00:0.0so i cut the 08:00:00:0.0 and save it into another String..
3- now i took the current date from java.sql.Datewhich gives correct date, so again i turn it into String and using substring() i took the date like 2007-07-224- the last thing i did was to use the method timestamp.valueOf(String s) which takes the string formed like this YYYY-MM-DD HH:MM:SSand the string i passed to through the parameter of valueOf(String s) was like this:
s = the date i got in step 3 + " " + the time i got from my DBand here it is a new Timestamp with the right date and it just look like this 2007-07-22 08:00:00:0.0I know it's complicated a bit, but at least i solved it...
hope that somebody would take benfit from this...
Thanks All
Q.Najjar (^_^);

Similar Messages

  • Need help in mastering BI

    I am trying to master BI, need help in mastering BI.
    Where i need to start with?. Can you please help me?.
    [email protected]
    Thanks in advance

    Hi  Jay,
    Knowledge of ABAP would be an added advantage to excel in the BW environment.
    Perhaps this document can also help you:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/4493c4a6-0301-0010-62a2-efd6ded61e04
    I would recommend on the following to master BI:
    1. Read Datawarehousing books written by Kimbal or Inmon to familiarize yourself with the basic concepts.
    2. Follow the SAP training on BW Data Warehousing, BW Reporting and BW Modeling (there are SAP press books that can help with this)
    3. Business Information Warehouse Study Guide (Paperback)
    by Catherine M. Roze
    4.There is also SAP BW Professional Training by Norbert Egger that is a good one.
    . Try to grab a little bit of ABAP. Horst Keller book (ABAP Objects) can help.
    explore this -
    http://www.sap-press.com/product.cfm?account=&product=H1918
    and look for BW books.
    /people/gilad.weinbach2/blog/2007/02/23/a-beginners-guide-to-your-first-bi-model-in-nw2004s
    Hope this helps.
    Regards,
    Ravikanth

  • Need help moving masters to external drive

    Drag images from internal drive to external...
    Relocate Masters...
    Locate Referenced Files......
    I realize these options are available, but I'm wondering which way to do this. Out of 160 GB of images about 1/2 of them are imported into Aperture while the remaining 1/2 are on the Mac but not in Aperture. All images are on my internal drive and I use Aperture as referenced masters, not managed. I need to make space on my internal drive and need to move all images (those already imported and those not yet imported) to an external. Given my current set up (1/2 imported 1/2 not), which option is best for a clean move to the external w/o messing up Aperture?
    Thank you,
    Jerry

    Jerry -- sorry, this thread slipped by.  I haven't had the time recently to be attentive.
    jbshanks wrote:
    So, I still need a little help with this. If I have this folder structure on my internal drive and 1/2 of those images are imported into Aperture (but referenced), and I use the "Relocate" feature, how will they be moved? Will it take the folders to the external or just the images, leaving the folders on the internal drive?
    I'm afraid to experiment in case it messes things up. Any help is greatly appreciated.
    1.  Don't be afraid to experiment -- set up a practice Library and use it to experiment.  That's how all of us learned what we know.
    2.  Your situation is a little peculiar, and I'm going to recommend something I wouldn't otherwise.  First, backup your system and confirm your backup.  Then go ahead and use Finder to copy all the Finder folders and files in question, intact, to a new drive.  Then delete the ones on your system drive.  Then open Aperture and run "File➞Locate Referenced Files" to re-attach your Aperture Images to your moved files.  You may have to run "File➞Locate Referenced Files" more than once (but most likely not) in order to end up with no Images that have missing Originals.  (If you need to, search for posts on the board about using this command.)
    At that point, you have done what you set out to do: move all of your photo files to an external drive while retaining the connection between those that are Aperture Originals and their corresponding Images in Aperture.
    But you haven't addressed the very good point brought up by bjurasz, which is that you are going out of your way to maintain competing databases.  Aperture is a database of your Images.  It has _outstanding_ storage and retrieval capabilities.  Finder is a database of your files.  It doesn't do a tenth the job Aperture does.  Finder is a file manager.  Aperture is an image manager (that does good file management).  Aperture has _terrific_ tools for helping you instantly retrieve _any_ subset of your Images (e.g.: family, spouse, dog, students from 2010, science students from 2010, vacation photos, vacation photos w. spouse, etc.).  The key to this is simply tagging your Images (e.g.: grayscale 2010 vacation photos w. spouse and dog) so that you can retrieve them as needed.  Importantly, you are not confined to a flat folder structure and whatever information you can stuff into the file name, as you are with Finder.  (Yes, more or less -- Finder is actually much more sophisticated than many realize or use.)
    I suggest moving more fully into Aperture, learning what tags are available and deciding how to use them, designing an Aperture Library structure that meets your needs, and transitioning your Finder collection of photo files to an Aperture database of Images.
    Ask more questions -- might be best to start new threads as they come up.

  • Need help JDBC conncetion for local database

    I have installed Oracle 8i home version on PC. I'm trying to access my database using JDBC, but I'm having problems with JDBC. How do I connect to the local database. Please post me the coding for that.
    Thanks
    my email address is - [email protected]

    http://otn.oracle.com/docs/products/oracle9i/doc_library/release2/java.920/a96654/basic.htm#1003303

  • NEED HELP: JDBC ERROR

    I get this error when I try to connect my applet through JDBC:
    Error null: Unexpected Packet. Type = 0
    I have punch a hole on my firewall to allow my jdbc thin to hit
    directly to oracle database.
    If you have an answer for my problem, please email me at
    [email protected]
    Thanks a bunch,
    -ed-
    null

    Hi ,
    Use following String
    http://<Hostname>:<PortNo>/ftpjdbc
    This can be used to check whether FTP and JDBC Drivers are properly deployed and connection can be done or not.
    Select JDBC . Then   :
    Driver Class (fully qualified)  : com.microsoft.sqlserver.jdbc.SQLServerDriver
    JDBC URL : jdbc:sqlserver://255.255.255.255:8888;databasename=Dummy
    USERNAME : DUMMY
    PASSWORD : DUMMY
    and enter valid values and then press connect
    Then In response you will see connection will be established and then closed , any else response means there is some problem...
    Regards
    Prabhat Sharma.

  • Help Needed : Setting JDBC Datasource in Crystal XI using Sybase 12.5??

    All,
    We are migrating our systems to the Crystal XI from Crystal 9 Reporting Servers. I need some technical assistance on the Java API ( use of the Datasources) .
    Problem: Currently in Crystal 9 we are using OLEDB datasources to connect to various Sybase 12.5 databases (which is been set programmatically at runtime). After I changed the Java code for getting the report object from the Crystal XI server instead of 9.  I stared facing the dbLogon failed exceptions.. But surprisingly it does work randomly on only one datasource for a given session (AppServer Restart).
    Need Help on Topics:
    1. Is there any different way of configuring/usage the OLEDB datasources for CrXI? or any Java API changes while setting the datasource when using OLEDB?
    2. Configuration required for using Simple JDBC connection (Sybase) instead of OLEDB? Can I get detailed help on this.
    I will prefer using JDBC for CrXI using the Sybase 12.5, but there are very less documentation for how to configure and set databases at runtime.
    Many Thanks in Adv.
    Regards - Sudhir Deshmukh | Solutions Lead

    Hi Sudhir,
    For Building up a connection for OLEDB  we need :
    In order for Crystal Reports to connect to a database through OLE DB, there are some requirements that must be met:
    u2022     The database client software must be installed on the client machine.
    u2022     The client machine must be able to connect to the server from its client software
    u2022     The client softwareu2019s working directory (example. c:\orant\bin) must be in the Windows search path
    u2022     The OLE DB provider must be installed on the local machine.
    We have the connection for crystal reports through OLEDB :
    The process by which Crystal Reports access data from an OLE DB data source consists of these five layers:
    Crystal Reports Layer
    OLE DB Translation Layer
    OLE DB Layer
    DBMS Translation (OLE DB provider) Layer
    Database Layer
    The data translation is similar to the ODBC connection model. Crystal Reports uses CRDB_ADO.DLL to communicate to the OLE DB provider, which communicates to the database. Crystal Reports can connect to any database as long as that database has an OLE DB provider.
    When creating a new report in Crystal Reports, OLE DB data sources are found in the Create New Connection folder with the OLE DB (ADO) connection.
    Regards,
    Naveen.

  • I need help switching back to iPhoto

    In February of this year I switched from iPhoto to Aperture for very specific reasons. My laptop's hard drive was running out of space, as it was housing my photo library that was quickly approaching 25,000 photos and pushing about 30 Gigabytes, and I wanted to take advantage of Aperture's ability to store photo masters on an external drive.
    So why switch back? When I described why I had switched and my experiences doing so back in February I had said that I ran into many problems all of which I was able to solve save two:
    "The two things I have yet to solve, which are rather large things: 1) Spotlight can no longer find my photos since switching to [edit: from] iPhoto. I am really not sure where to start with fixing this so I think I’m just going to have to ask someone. 2) Reorganizing my keywords in Aperture (since I had them set up in iPhoto) is impossible. When I bring up the Keywords HUD, I’m greeted with all of my keywords residing subordinately to a master keyword of 'iPhoto'. When I try to access the keywords that are “below” iPhoto Aperture freezes. Perhaps I have too many keywords (I do have an awful lot). I’m not sure how to solve this one yet either. Maybe there is a raw .plist file that I can manually edit (and I am willing to do so)." -- Me.
    After using Aperture for the past 3+ months I've yet to resolve either of these issues. Recently there was an update to Aperture from Apple that, according to the documentation for the update, was supposed to help resolve my second issue with having too many keywords for Aperture to handle - but it hasn't helped much. So since switching to Aperture I've not tagged more than maybe fifty photos, which is discouraging because I know that once I switch back to iPhoto I'm going to be busy tagging photos again.
    So I suppose you could say I'm switching back for two main reasons. First, I want it to be much easier to tag my photos since that is probably the single most important thing to me and the experience with iPhoto and Keyword Manager ( http://www.bullstorm.se/KeywordManager.php ) is far superior to that of using keywords in Aperture. Second, I want my photos to start showing up in Spotlight searches again. I'm more than willing to deal with the caveat, albeit a rather large one, that I won't have my photos with me wherever I go anywhere but that they'll forever reside on my firewire drive.
    What I need help with...
    When I open iPhoto I see all of the previews for the photos that I had the day I switched to Aperture. However, the originals have been moved by Aperture onto my firewire drive - so when I click on each photo all I get is a ( ! ) symbol. The previews still reference a file that does not exist yet the iPhoto database still retains all of the relevant metadata (date/time, keywords, comments, etc) that I had worked so hard to put into iPhoto. I need to retain this information and somehow get the originals back into place so that iPhoto sees them again.
    What I thought about doing was this: 1) Somehow restore the originals for the almost 25,000 photos into the place where iPhoto thinks they should be. 2) Move the entire library to my external firewire drive. 3) Import the remaining images that I've taken since switching to Aperture into iPhoto.
    Since I have Aperture store my photos by date - importing only the images that I've imported into Aperture should be a piece of cake. I do not need to retain any metadata from Aperture since I've only tagged a few photos in Aperture and all of the other information I may need should be on the original file (like date taken, etc.). I know I'm going to lose a lot of edits that I've done like cropping, rotating, color balancing, red-eye reduction, etc. but I'm more than willing to lose all of that if it means that I can pick up where I left off and get back into the swing of things in iPhoto.
    I've Googled like crazy and haven't found someone doing exactly what I'm trying to accomplish so any help with my current situation is greatly appreciated. I've also posted this on my blog http://cdevroe.com/notes/back-to-iphoto/

    cvdevroe
    2) Reorganizing my keywords in Aperture (since I had them set up in iPhoto) is impossible. When I bring up the Keywords HUD, I’m greeted with all of my keywords residing subordinately to a master keyword of 'iPhoto'.
    Bear with me, my terminology may not be right. I'm heading in the opposite direction, and one of the advantages i see to Aperture is that I've got the same advantages in Keyword management as I have with KM in iPhoto.
    Have you tried re-organising them using the control bar: Below the thumbs there's a drop down menu, by default it shows Photo Descriptors. Click on it and Select 'Edit Buttons'. You can merrily re-organise your Keywords in this window, and even have your changes reflected in live in the HUD.
    As to the Spotlight searching, I'm afraid someone else will need to help on that one. Personally - and it's a regular on the iPhoto forums - I've never had much luck getting Spotlight to search within iPhoto for keywords, apart, of course, from using the search window in the iPhoto Window. I suspect a system-based search of iPhoto keywords is simply not possible.
    What I thought about doing was this: 1) Somehow restore the originals for the almost 25,000 photos into the place where iPhoto thinks they should be.
    That will work, but they'll need to be exactly as they were.
    2) Move the entire library to my external firewire drive.
    Easily done, after you've copied it over launch iPhoto holding down the option (or alt) key and choose 'Locate'. Navigate to the new location and that''ll be your default iPhoto Library Folder thereafter.
    3) Import the remaining images that I've taken since switching to Aperture into iPhoto.
    That should work too.
    But the key is, can you return the iPhoto Library Folder exactly as it was, otherwise you'll need to create and populate a new library - and that will inevitable mean losing your keywords in iPhoto too.
    FWIW, I need to keep iPhoto going for others in the household who are daunted by Aperture. My solution is a referenced library pointing towards the iPhoto Library Folder / Originals folder.
    Regards
    TD

  • Need help in logging JTDS data packets

    Hi All,
    I m having web application which uses SQL Server database.
    I have to find out some problems in database connection for that there is need to log the jtds data packets.
    I have tried to use class net.sourceforge.jtds.jdbc.TdsCore but in constructor of TdsCore class there are two parameters needed one is ConnectionJDBC2 and another is SQLDiagnostic.
    I have tried a lot but it did not allow me to import class *SQLDiagnostic*.
    I need help in logging JTDS data packets. If there are any other ways or any body having any idea about logging JTDS data packets/SQLDiagnostic.
    Please reply it is urgent...!!
    Thanks in advance......!!

    if you want to use log4j then,
    in your project create a file called log4j.properties and add this
    # Set root logger level to INFO and its only appender to ConsoleOut.
    log4j.rootLogger=INFO,ConsoleOut
    # ConsoleOut is set to be a ConsoleAppender.
    log4j.appender.ConsoleOut=org.apache.log4j.ConsoleAppender
    # ConsoleOut uses PatternLayout.
    log4j.appender.ConsoleOut.layout=org.apache.log4j.PatternLayout
    log4j.appender.ConsoleOut.layout.ConversionPattern=%-5p: [%d] %c{1} - %m%n
    log4j.logger.org.apache.jsp=DEBUG
    #Addon for
    com.sun.faces.level=FINEGo to your class and add this line
    private static final Logger logger = Logger.getLogger("classname");and then you can use
    logger.info();
    logger.error();
    methods

  • Need help toUpdate or insert in to AS400 database

    Hi all,
    I have created one scenario in which I am using JDBC receiver adapter,
    now the database at the end which is to be updated is the AS400 database
    which has the concept of liabraries and staging tables.
    while mapping the Inbound message type I use the structure as
    <MT>
      <Statement>
           <Tablename>
                  action
                <access>
                      <field1>
                      <field2>
                <key>
    I assign a const. 'update_insert' to action attrib. but when I activate the adapter at the end the error I get is :
    'field1' column does not exists in 'Tablename'
    But when I use a JAVA code for doing the same the data is successfully updated on the database.
    I tried the same thing using MS Access database it works fine but not AS400
    need help.
    Thanks
    Ranjit

    Ranjith,
    The process is the very same for  AS400 too. We are doing operations with AS400 and we dint face any problems. Hope you have already deployed the JDBC drivers in your XI server.
    Change your Data type slightly.
    <MT>
    <Statement>
    <table action = UPDATE_INSERT>
    <table>specify the table name in library.table  name eg: LIBRARY.TABLE1</table>
    <access>
    <field1>a</field1>
    <field2>2</field2>
    <access>
    <key>
    <field1>a</field1>
    </key>
    </Statement>
    </MT>
    Regards,
    Jai Shankar

  • Need help for reporting

    hi,
    Hope I did not post to the wrong place. but I really need help here. I've been using Crystal Report all these while before I tried out java. However, there is a problem here.
    I've been doing some complex reports that comes with subreports and grabing values from the program. but there is no one program that i found can really support the reporting in java. I've even tried the crystal clear and Jbuilder enterprise trial version (which comes with crystal report). but I still can't get the output that I want.
    So, I'm here to ask :
    1. what sort of reporting system r u using that is recommended?
    2. And if I were to continue supporting crystal report where can I get a better component that supports crystal report ?
    3. And where can I get tutorials for java integration with crystal reports?
    thanks.

    Also check out i-text. It's an open source Java -> PDF tool. You will need to write a mapper to go from JDBC ResultSet to your own custom Java class. Otherwise, it is almost like writing HTML programatically.
    - Saish

  • Need help restoring iPhoto 08 Library into iPhoto 11

    Ok, I have spent hours trying to figure this out on my own. I'm not being lazy but I need help!  I have a black macbook (2009) that had Leopard (not Snow) and iPhoto 08. It crashed. I had a time machine backup on external drive. I got a new hard drive installed and they upgraded me to Lion and iPhoto 11.  I messed up and started the system without hooking up to time machine. I tried to use migration assistant. It imported only imported 400 pics of my many thousand pics.
    I did several things: I tried to rebuild the library, look for orphans, etc. I deleted the ProjectDBVersion.plist, Projects.db, Projects.db-journal files as someone suggested. I deleted the new iphoto 11 library. i dragged the my old iphoto library from time machine. I held down option and tried to build it again from the old library. I still get the same 400 pics. I even tried the free version of Photo Library Manager. It created the same library with 400 pics. (not sure if I know how to use this app right).
    If I open the new iphoto 11 library, I can see my pics in the  "Masters" file.  I was able to drag these to my desktop and then put in iphoto but does this method save my edits? Should I drag the "Modified" pics into iphoto instead? I don't care much about keywords, I just want my edits. I also don't want old deleted photos put back into iphoto. 
    another question, time machine (TM) is not turned on yet with new hard drive and OS. it doesn't recognize my external drive as TM. It asks if I want to designate it as TM. If I do this, will it delete my old backup (with all my important data) and start a new backup of my new hard drive which doesn't have all the pics yet.
    I don't have a copy of Lion so if I do a complete restore, I will have to buy it and add all info again. Is this my best option? Would it really make a difference?
    Terrance, you out there?
    Thanks for any help!

    It might start backing up your new drive but will not erase what's on it as long as there is sufficient space. Also you can turn on TM and exclude your entire HD via the TM Options pane.
    Then go to your Pictures folder and enter Time Machine.  Go back to the appropriate date, select the library and use the Restore button.
    OT
    NOTE:  if you have trouble entering TM's backups go to the Lion forum and ask your question there.  Also do a search there for Time Machine so see if there are any similar topics there already.

  • XI Realtime scenarios-need help

    Hello experts,
    I am new to XI and I need help with real time XI scenarios.
    can you please give me 2-3 examples of What kinds of systems involve in data transfer (both sap and non sap) for transfer of what kinds of data (general IDOCs, RFCs and other kinds of data)
    and what is the purpose of that scenario? also how many times the data will be transferred between the systems?
    Thanks in advance,
    Haritha.
    useful answers will be rewarded ***

    Hi Haritha,
        Hi,
    Please go through the following are the links.
    Maybe this is a good start:
    http://help.sap.com/saphelp_nw04/helpdata/en/80/8e3841e26cef23e10000000a155106/frameset.htm
    <http://help.sap.com/saphelp_nw04/helpdata/en/80/8e3841e26cef23e10000000a155106/frameset.htm>
    https://www.sdn.sap.com/irj/sdn/developerareas/xi?rid=/webcontent/uuid/a680445e-0501-0010-1c94-a8c4a60619f8 [original link is broken]
    <https://www.sdn.sap.com/irj/sdn/developerareas/xi?rid=/webcontent/uuid/a680445e-0501-0010-1c94-a8c4a60619f8 [original link is broken]>
    This might help you
    http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
    <http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm>
    Further, this thread deals with everything that is needed for a starter
    on XI. Do check them out,
    JDBC Receiver: exact SQL statement
    <JDBC Receiver: exact SQL statement>
    /message/527697#527697 [original link is broken]
    </message/527697#527697 [original link is broken]>
    And after you are done with the documentation probably you can go
    through this scenario,
    JDBC Receiver: exact SQL statement
    <JDBC Receiver: exact SQL statement>
    Also check the following threads which might help you a little more,
    Learning XI
    <Learning XI>
    XI 3.0 Training
    <XI 3.0 Training>
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/13926f23-0a01-0010-149c-c1170e7a25db
    <https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/13926f23-0a01-0010-149c-c1170e7a25db>
    /people/sravya.talanki2/blog/2006/12/25/aspirant-to-learn-sap-xiyou-won-the-jackpot-if-you-read-this-part-i
    </people/sravya.talanki2/blog/2006/12/25/aspirant-to-learn-sap-xiyou-won-the-jackpot-if-you-read-this-part-i>
    /people/sravya.talanki2/blog/2006/12/26/aspirant-to-learn-sap-xiyou-won-the-jackpot-if-you-read-this-part-ii
    </people/sravya.talanki2/blog/2006/12/26/aspirant-to-learn-sap-xiyou-won-the-jackpot-if-you-read-this-part-ii>
    /people/sravya.talanki2/blog/2006/12/27/aspirant-to-learn-sap-xiyou-won-the-jackpot-if-you-read-this-part-iii
    </people/sravya.talanki2/blog/2006/12/27/aspirant-to-learn-sap-xiyou-won-the-jackpot-if-you-read-this-part-iii>
    and once you are through ...follow the following links to weblogs which
    explain all the basic scenarios in XI
    Following are the links to weblogs which will help to develop the basic
    scenarios.
    /people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters
    </people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters> - IDoc to
    File
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    </people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy> - ABAP
    Proxy to File
    /people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30
    </people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30> - File to
    JDBC
    /people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy
    </people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy> - File to
    ABAP Proxy
    /people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
    </people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1> - File to
    File Part 1
    /people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
    </people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2> - File to
    File Part 2
    /people/ravikumar.allampallam/blog/2005/06/24/convert-any-flat-file-to-any-idoc-java-mapping
    </people/ravikumar.allampallam/blog/2005/06/24/convert-any-flat-file-to-any-idoc-java-mapping> - Any flat
    file to any Idoc
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    </people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit> - File to
    RFC
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1685 [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken]
    <https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1685 [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken]> - File to
    Mail
    /people/jayakrishnan.nair/blog/2005/06/20/dynamic-file-name-using-xi-30-sp12-part--i
    </people/jayakrishnan.nair/blog/2005/06/20/dynamic-file-name-using-xi-30-sp12-part--i> - Dynamic File Name Part 1
    /people/jayakrishnan.nair/blog/2005/06/28/dynamic-file-namexslt-mapping-with-java-enhancement-using-xi-30-sp12-part-ii
    </people/jayakrishnan.nair/blog/2005/06/28/dynamic-file-namexslt-mapping-with-java-enhancement-using-xi-30-sp12-part-ii> - Dynamic File Name Part 2
    /people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address
    </people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address> - Dynamic
    Mail Address
    /people/siva.maranani/blog/2005/05/25/understanding-message-flow-in-xi
    </people/siva.maranani/blog/2005/05/25/understanding-message-flow-in-xi> - Message
    Flow in XI
    /people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm
    </people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm> - Walk
    through BPM
    /people/siva.maranani/blog/2005/05/22/schedule-your-bpm
    </people/siva.maranani/blog/2005/05/22/schedule-your-bpm> - Schedule
    BPM
    /people/sriram.vasudevan3/blog/2005/01/11/demonstrating-use-of-synchronous-asynchronous-bridge-to-integrate-synchronous-and-asynchronous-systems-using-ccbpm-in-sap-xi
    </people/sriram.vasudevan3/blog/2005/01/11/demonstrating-use-of-synchronous-asynchronous-bridge-to-integrate-synchronous-and-asynchronous-systems-using-ccbpm-in-sap-xi> - Use of
    Synch - Asynch bridge in ccBPM
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken]
    <https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken]> - Use of
    Synch - Asynch bridge in ccBPM
    /people/michal.krawczyk2/blog/2005/08/22/xi-maintain-rfc-destinations-centrally
    </people/michal.krawczyk2/blog/2005/08/22/xi-maintain-rfc-destinations-centrally> - Maintain
    RFC destination centrally
    /people/sravya.talanki2/blog/2005/08/18/triggering-e-mails-to-shared-folders-of-sap-is-u
    </people/sravya.talanki2/blog/2005/08/18/triggering-e-mails-to-shared-folders-of-sap-is-u> -
    Triggering Email from folder
    /people/sravya.talanki2/blog/2005/08/17/outbound-idocs--work-around-using-party
    </people/sravya.talanki2/blog/2005/08/17/outbound-idocs--work-around-using-party> - Handling
    different partners for IDoc
    /people/siva.maranani/blog/2005/08/27/modeling-integration-scenario146s-in-xi
    </people/siva.maranani/blog/2005/08/27/modeling-integration-scenario146s-in-xi> - Modeling Integration
    Scenario in XI
    /people/michal.krawczyk2/blog/2005/08/25/xi-sending-a-message-without-the-use-of-an-adapter-not-possible
    </people/michal.krawczyk2/blog/2005/08/25/xi-sending-a-message-without-the-use-of-an-adapter-not-possible> - Testing
    of integration process
    /people/michal.krawczyk2/blog/2005/05/25/xi-how-to-add-authorizations-to-repository-objects
    </people/michal.krawczyk2/blog/2005/05/25/xi-how-to-add-authorizations-to-repository-objects> -
    Authorization in XI
    http://help.sap.com/saphelp_nw04/helpdata/en/58/d22940cbf2195de10000000a1550b0/content.htm
    <http://help.sap.com/saphelp_nw04/helpdata/en/58/d22940cbf2195de10000000a1550b0/content.htm>
    - Authorization in XI
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step
    </people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step> - Alert
    Configuration
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--troubleshooting-guide
    </people/michal.krawczyk2/blog/2005/09/09/xi-alerts--troubleshooting-guide> - Trouble
    shoot alert config
    /people/sameer.shadab/blog/2005/09/21/executing-unix-shell-script-using-operating-system-command-in-xi
    </people/sameer.shadab/blog/2005/09/21/executing-unix-shell-script-using-operating-system-command-in-xi> - Call
    UNIX Shell Script
    /people/sravya.talanki2/blog/2005/11/02/overview-of-transition-from-dev-to-qa-in-xi
    </people/sravya.talanki2/blog/2005/11/02/overview-of-transition-from-dev-to-qa-in-xi> -
    Transport in XI
    /people/r.eijpe/blog/2005/11/04/using-abap-xslt-extensions-for-xi-mapping
    </people/r.eijpe/blog/2005/11/04/using-abap-xslt-extensions-for-xi-mapping> - Using
    ABAP XSLT Extensions for XI Mapping
    /people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure
    </people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure> - Mail Adaptor options
    /people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm
    </people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm> -
    Collection of IDoc to Single File
    /people/sap.user72/blog/2005/11/17/xi-controlling-access-to-sensitive-interfaces
    </people/sap.user72/blog/2005/11/17/xi-controlling-access-to-sensitive-interfaces> -
    Controlling access to Sensitive Interfaces
    /people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
    </people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14> - The same
    filename from a sender to a receiver file adapter - SP14
    /people/prasad.illapani/blog/2005/11/14/payload-based-message-search-in-xi30-using-trex-engine
    </people/prasad.illapani/blog/2005/11/14/payload-based-message-search-in-xi30-using-trex-engine> - Payload
    Based Message Search in XI30 using Trex Engine
    /people/sap.user72/blog/2005/11/24/xi-configuring-ccms-monitoring-for-xi-part-i
    </people/sap.user72/blog/2005/11/24/xi-configuring-ccms-monitoring-for-xi-part-i> - XI :
    Configuring CCMS Monitoring for XI- Part I
    /people/michal.krawczyk2/blog/2005/11/23/xi-html-e-mails-from-the-receiver-mail-adapter
    </people/michal.krawczyk2/blog/2005/11/23/xi-html-e-mails-from-the-receiver-mail-adapter> - XI: HTML
    e-mails from the receiver mail adapter
    /people/sap.user72/blog/2005/11/22/xi-faqs-provided-by-sap-updated
    </people/sap.user72/blog/2005/11/22/xi-faqs-provided-by-sap-updated> - XI :
    FAQ's Provided by SAP
    Books from SAP PRESS...add this link to your favourites...
    http://www.sap-press.de/international?GalileoSession=97477303A3.xx-M0Y78
    Real World Scenarios of SAP XI ...VERY VERY GOOD....AWESOME
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/0
    b95b488-0701-0010-57b9-e861b1ad572f
    Check this up:
    Exchange Infrastructure How-to Guides for SAP NetWeaver 2004 [original link is broken] (how to guides)
    http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm (very nice XI help)
    Here is some scenarios from SDN:
    /people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters - IDoc to File
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy - ABAP Proxy to File
    /people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30 - File to JDBC
    /people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy - File to ABAP Proxy
    /people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1 - File to File Part 1
    /people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2 - File to File Part 2
    /people/ravikumar.allampallam/blog/2005/06/24/convert-any-flat-file-to-any-idoc-java-mapping - Any flat file to any Idoc
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit - File to RFC
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1685 [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] - File to il
    /people/jayakrishnan.nair/blog/2005/06/20/dynamic-file-name-using-xi-30-sp12-part--i - Dynamic File Name Part 1
    /people/jayakrishnan.nair/blog/2005/06/28/dynamic-file-namexslt-mapping-with-java-enhancement-using-xi-30-sp12-part-ii - Dynamic File Name Part 2
    /people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address - Dynamic Mail Address
    /people/siva.maranani/blog/2005/05/25/understanding-message-flow-in-xi - Message Flow in XI
    /people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm - Walk through BPM
    /people/siva.maranani/blog/2005/05/22/schedule-your-bpm - Schedule BPM
    /people/sriram.vasudevan3/blog/2005/01/11/demonstrating-use-of-synchronous-asynchronous-bridge-to-integrate-synchronous-and-asynchronous-systems-using-ccbpm-in-sap-xi - Use of Synch - Asynch bridge in ccBPM
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] - Use of Synch - Asynch bridge in ccBPM
    /people/michal.krawczyk2/blog/2005/08/22/xi-maintain-rfc-destinations-centrally - Maintain RFC destination centrally
    /people/sravya.talanki2/blog/2005/08/18/triggering-e-mails-to-shared-folders-of-sap-is-u - Triggering Email from folder
    /people/sravya.talanki2/blog/2005/08/17/outbound-idocs--work-around-using-party - Handling different partners for IDoc
    /people/siva.maranani/blog/2005/08/27/modeling-integration-scenario146s-in-xi - Modeling Integration Scenario in XI
    /people/michal.krawczyk2/blog/2005/08/25/xi-sending-a-message-without-the-use-of-an-adapter-not-possible - Testing of integration process
    /people/michal.krawczyk2/blog/2005/05/25/xi-how-to-add-authorizations-to-repository-objects - Authorization in XI
    http://help.sap.com/saphelp_nw04/helpdata/en/58/d22940cbf2195de10000000a1550b0/content.htm - Authorization in XI
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step - Alert Configuration
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--troubleshooting-guide - Trouble shoot alert config
    /people/sameer.shadab/blog/2005/09/21/executing-unix-shell-script-using-operating-system-command-in-xi - Call UNIX Shell Script
    /people/sravya.talanki2/blog/2005/11/02/overview-of-transition-from-dev-to-qa-in-xi - Transport in XI
    /people/r.eijpe/blog/2005/11/04/using-abap-xslt-extensions-for-xi-mapping - Using ABAP XSLT Extensions for XI Mapping
    /people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure - Mail Adaptor options
    /people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm - Collection of IDoc to Single File
    /people/sap.user72/blog/2005/11/17/xi-controlling-access-to-sensitive-interfaces - Controlling access to Sensitive Interfaces
    /people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14 - The same filename from a sender to a receiver file adapter - SP14
    /people/prasad.illapani/blog/2005/11/14/payload-based-message-search-in-xi30-using-trex-engine - Payload Based Message Search in XI30 using Trex Engine
    /people/sap.user72/blog/2005/11/24/xi-configuring-ccms-monitoring-for-xi-part-i - XI : Configuring CCMS Monitoring for XI- Part I
    /people/michal.krawczyk2/blog/2005/11/23/xi-html-e-mails-from-the-receiver-mail-adapter - XI: HTML e-mails from the receiver mail adapter
    /people/sap.user72/blog/2005/11/22/xi-faqs-provided-by-sap-updated - XI : FAQ's Provided by
    SAP
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/6051-Performance [original link is broken] [original link is broken] [original link is broken] [original link is broken] Tuning for PI
    Please give reward points if it is useful.
    Regards,
    Sai.

  • Datasource connection with jboss, need help

    Hi friends,
    I am doing data source connection through Jboss (jboss-4.0.2) with mysql database. I am using java(j2sdk1.4.2_04). I have made all changes given in this link -- http://community.jboss.org/wiki/SetUpAMysqlDatasource
    After making changes I restart jboss properly, but when I am going to attempt to connection through class. it give following error.
    1.ERROR! Shared library ioser12 could not be found.
    Can't find SerialContextProvider
    When a create a diffrent new class, then give me this error.
    2. ERROR! Shared library ioser12 could not be found.
    Cannot get connection: javax.naming.CommunicationException: Can't find SerialContextProvider
    Kindly help me out for this problem.
    Thanks
    Abhishek Jain

    user13428037 wrote:
    ,,, JBoss ... give following error.
    1.ERROR! Shared library ioser12 could not be found.
    Can't find SerialContextProvider
    When a create a diffrent new class, then give me this error.
    2. ERROR! Shared library ioser12 could not be found.
    Cannot get connection: javax.naming.CommunicationException: Can't find SerialContextProviderPlease don't crosspost http://www.javaprogrammingforums.com/jdbc-databases/6353-datsource-connection-mysql-need-help.html#post22533
    The
    ERROR! Shared library ioser12 could not be found.error message has nothing to do with you adding a datasource.
    It would happen even before you made the datasource configuration changes.
    Looks like you added a j2ee.jar to the JBoss classpath.

  • I need Help  ( Check out cart)

    I try to develop shopping site by JSP and I need help ?
    my checkout button display jsp page include product in the cart and then insert this product in table by using anther button (valid cart)
    how can I insert item in table???
    anther queation how can I edit my cart ( like delete item or chang quentity)?
    thank you

    I try to develop shopping site by JSP and I need help
    ?Yes you need help
    >
    my checkout button display jsp page include product
    in the cart and then insert this product in table by
    using anther button (valid cart)
    how can I insert item in table???If the table you are talking about is an HTML table you need to read upon DHTML
    if the table is a DB table you will need SQL insert either through EJB or JDBC
    >
    anther queation how can I edit my cart ( like delete
    item or chang quentity)?You write a method that does whatever you want on your cart Object
    >
    thank youMy pleasure
    PS: since you question is VERY vague better help is impossible to give

  • Need help with log4j logging tool (org.apache.log4j.*) to log into database

    Hi,
    I need help with log4j logging tool (org.apache.log4j.*) to log into database using JDBCAppender. Have look at my logger code and corresponding log4j.properties file stated below. I'm running this program using Eclipse IDE and it's giving me the following error (highlighted in red) at the end:
    log4j: Parsing for [root] with value=[debug, stdout, Roll, CRSDBAPPENDER].
    log4j: Level token is [debug].
    log4j: Category root set to DEBUG
    log4j: Parsing appender named "stdout".
    log4j: Parsing layout options for "stdout".
    log4j: Setting property [conversionPattern] to [%x %d{HH:mm:ss,SSS} %5p [%t] (%c:%-4L %M) - %m%n].
    log4j: End of parsing for "stdout".
    log4j: Parsed "stdout" options.
    log4j: Parsing appender named "Roll".
    log4j: Parsing layout options for "Roll".
    log4j: Setting property [conversionPattern] to [%x %d{yyyy.MM.dd HH:mm:ss,SSS} %5p [%t] (%c:%-4L %M) - %m%n].
    log4j: End of parsing for "Roll".
    log4j: Setting property [file] to [HelloWorld.log].
    log4j: Setting property [maxBackupIndex] to [10].
    log4j: Setting property [maxFileSize] to [20KB].
    log4j: setFile called: HelloWorld.log, true
    log4j: setFile ended
    log4j: Parsed "Roll" options.
    log4j: Parsing appender named "CRSDBAPPENDER".
    {color:#ff0000}
    Can't find class HelloWorld{color}
    import org.apache.log4j.*;
    public class HelloWorld {
    static Logger log = Logger.getLogger(HelloWorld.class.getName());
    public static void main(String[] args) {
    try{
    // Now, try a few logging methods
    MDC.put("myComputerName", "Ravinder");
    MDC.put("crsServerName", "ARNDEV01");
    log.debug("Start of main()");
    log.info("Just testing a log message with priority set to INFO");
    log.warn("Just testing a log message with priority set to WARN");
    log.error("Just testing a log message with priority set to ERROR");
    log.fatal("Just testing a log message with priority set to FATAL");
    catch(Exception e){
    e.printStackTrace();
    ------------------------- log4j.properties file ------------------------------
    #### Use three appenders - log to console, file and database
    log4j.rootCategory=debug, stdout, Roll, CRSDBAPPENDER
    log4j.debug=true
    # Print only messages of priority WARN or higher for your category
    # log4j.category.your.category.name=WARN
    # Specifically inherit the priority level
    # log4j.category.your.category.name=INHERITED
    #### stdout - First appender writes to console
    log4j.appender.stdout=org.apache.log4j.ConsoleAppender
    log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
    log4j.appender.stdout.layout.ConversionPattern=%x %d{HH:mm:ss,SSS} %5p [%t] (%c:%-4L %M) - %m%n
    #### Roll - Second appender writes to a file
    log4j.appender.Roll=org.apache.log4j.RollingFileAppender
    ##log4j.appender.Roll.File=${InstanceName}.log
    log4j.appender.Roll.File=HelloWorld.log
    log4j.appender.Roll.MaxFileSize=20KB
    log4j.appender.Roll.MaxBackupIndex=10
    log4j.appender.Roll.layout=org.apache.log4j.PatternLayout
    log4j.appender.Roll.layout.ConversionPattern=%x %d{yyyy.MM.dd HH:mm:ss,SSS} %5p [%t] (%c:%-4L %M) - %m%n
    #### CRSDBAPPENDER - third appender writes to the database
    log4j.appender.CRSDBAPPENDER=org.apache.log4j.jdbc.JDBCAppender
    log4j.appender.CRSDBAPPENDER.Driver=net.sourceforge.jtds.jdbc.Driver
    log4j.appender.CRSDBAPPENDER.URL=jdbc:jtds:sqlserver:/arncorp15:1433;DatabaseName=LOG
    log4j.appender.CRSDBAPPENDER.USER=sa
    log4j.appender.CRSDBAPPENDER.PASSWORD=p8ss3doff
    log4j.appender.CRSDBAPPENDER.layout=org.apache.log4j.PatternLayout
    log4j.appender.CRSDBAPPENDER.sql=INSERT INTO LOG (computername, crsservername, logtime, loglevel, threadname, filename, linenumber, logtext) VALUES ('%X{myComputerName}', '%X{crsServerName}', '%d{dd MMM yyyy HH:mm:ss,SSS}', '%p', '%t', '%F', '%L', '%m')
    #log4j.appender.CRSDBAPPENDER.sql=INSERT INTO LOG(COMPUTERNAME,CRSSERVERNAME,LOGTIME,LOGLEVEL,THREADNAME,FILENAME,LINENUMBER,LOGTEXT) select host_name(),'${CRSServerName}${InstanceName}','%d','%5p','%t','%F','%L','%m%n'
    #log4j.appender.CRSDBAPPENDER.sql=INSERT INTO LOG (computername, crsservername, logtime, loglevel, threadname, filename, linenumber, logtext) VALUES ("%X{myComputerName}", "%X{crsServerName}", "%d{dd MMM yyyy HH:mm:ss,SSS}", "%p", "%t", "%F", "%L", "%m")
    ------------------------------- end of log4j.properties file ------------------------------
    Here is the directory structure of my program. My log4j.properties file and HelloWorld.class file are residing in folder HelloWorld\bin.
    HelloWorld\bin
    HelloWorld\lib
    HelloWorld\src
    Please note - The same program works fine for console and file appender when I comment the database appender part in my properties file.
    Thanks
    Ravinder

    try this :
    log4j.appender.PROJECT.Append=false

Maybe you are looking for

  • Issuess in creation of  New company

    Hi By mistake  i have created "S" (Branch Company ) in 2000 in OM. As parent company (R) has created on 2004 i want to change the date of the Company "S" on 2004 or after 2004. But when i m changing the date in the changed mode in OM its not taking t

  • Bridge not reading EXIF "datecreated" field for video

    Seems that Bridge is preferring the MS Windows "file created" date for AVI files rather than the EXIF date. In windows, any time a file is moved from one disk to another, the file created date gets changed, so it's not really a useful creation date.

  • Using wildcard in database Connectivity toolkit

    I have a MS Access databese like I want to delete the characters begining with 'abc' but after running it, the characters doesn't be deleted.  Any mistakes in the code? Thank you. Attachments: test_cn2011.zip ‏525 KB

  • Failed in starting up Portal 4.0 server

    Hi, I downloaded WebLogic Portal 4.0 from the web, followed the installation instructions (ie. wl server 6.1 -> portal 4.0 -> ebcc -> docs -> copying portal-license, setting PATH and updating license), then tried to start portal server; but, it never

  • PROGRAM REUKEWUSALDOCHECK aborting in currency conversion

    the program  is aborting when running currency conversion the error is like Program REUKEWUSALDOCHECK started on 14.08.2008 at 11:08:56 by user DEVELOPER Client: 300 Package: 700 Phase: CONVERSION                                   There are 1 documen