CAN´T CONNECT TO CALENDAR SERVICES USING CSDK.JAR

Hi,
I'm trying to develop a web application using Jdeveloper 10.1.3.0.4 (SU5) to
connect to calendar services on the server (linux). I create a java class to
connect to the server and when i
execute the method i get this error:
500 Internal Server Error
javax.servlet.jsp.JspException: oracle.classloader.util.AnnotatedNoClassDefFoundError: Classe em falta:
oracle.calendar.sdk.Api Classe dependente:
extranet.view.backing.tarefas.AdicionarTarefa Carregador:
current-workspace-app.web.Extranet_10130_novo-ViewController-webapp:0.0.0
Code-Source: /C:/Extranet_10130/ViewController/classes/ Configuração:
<classpath> in C:\Extranet_10130\ViewController\public_htmlA classe em falta
está disponível a partir das seguintes localizações: 1. Code-Source:
/c:/libJava/csdk.jar (from system property java.library.path) Esta
code-source está disponível no carregador jre.bootstrap:1.5.0_05. at
com.sun.faces.taglib.html_basic.FormTag.doStartTag(FormTag.java:355)
The java code that i'm using to connect:
public AdicionarTarefa(){
try
Api.init("calendar.ini", "calendar.log");
catch(Api.StatusException e)
System.out.println("init returned status'" + e.getMessage() + "'");
System.exit (1);
// create session object:
Session mySession = null;
try
mySession = new Session();
catch(Api.StatusException e)
System.out.println("Session constructor returned status'" + e.getMessage() + "'");
System.exit (1);
// Connect to calendar server
String cal_host = new String("sis-ard.indra.pt:7778");
// open connection to calendar server:
try
mySession.connect(Api.CSDK_FLAG_NONE,
cal_host);
catch(Api.StatusException e)
System.out.println("connect returned status'" + e.getMessage() + "'");
System.exit (1);
// Authentication
String cal_user = new String("portal");
String cal_password = new String("oracle123");
// authenticate:
try
mySession.authenticate(Api.CSDK_FLAG_NONE,cal_user,cal_password);
catch(Api.StatusException e)
System.out.println("authenticate returned status'" + e.getMessage() + "'");
System.exit (1);
Handle agendas[] = {new Handle()};
try
agendas[0] = mySession.getHandle(Api.CSDK_FLAG_NONE,
null);
catch(Api.StatusException e)
System.out.println("getHandle returned status'" + e.getMessage() + "'");
System.exit (1);
// Read agenda for current yesterday and today
String properties[] = new String[0];
RequestResult results = new RequestResult();
String iCalendar = new String();
try
iCalendar = mySession.fetchEventsByRange(Api.CSDK_FLAG_STREAM_NOT_MIME,
agendas, // search agenda of current user
"-P1D",
"+P2D",
properties, // request all properties
results);
System.out.println(iCalendar);
catch(Api.StatusException e)
System.out.println("fetchEventsByRange returned status'" + e.getMessage() + "'");
System.exit (1);
// Cleanup
// deauthenticate:
try
mySession.deauthenticate(Api.CSDK_FLAG_NONE);
catch(Api.StatusException e)
System.out.println("deauthenticate returned status'" + e.getMessage() + "'");
System.exit (1);
// disconnect:
try
mySession.disconnect(Api.CSDK_FLAG_NONE);
catch(Api.StatusException e)
System.out.println("disconnect returned status'" + e.getMessage() + "'");
System.exit (1);
Thank's for the help.

Nevermind. It was a user name conflit. We have 3 possible ways to log on (lastname, firstname) (firstname lastname) (emailaddress). The Oracle Calendar Client would take all three, but the Connector would only accept the first 2.
Hope this helps someone else.

Similar Messages

  • Can't connect to analysis services

    Hi,
    After looking through the forum, I haven't seen the problem I encounter.
    I am able to connect to the Database Engine, Integration services, Reporting Services but I can't connect to Analysis Services from SQL Server Management Studio although the service is running.
    I am using SQL Server 2012.
    I have the following error :
    Internal error: An unexpected error occurred (file 'pfshcollation.cpp', line 323, function 'PFCollation::Init'). (Microsoft SQL Server 2012 Analysis Services)
    The progam location is:
       at Microsoft.AnalysisServices.AdomdClient.AdomdConnection.XmlaClientProvider.Connect(Boolean toIXMLA)
       at Microsoft.AnalysisServices.AdomdClient.AdomdConnection.XmlaClientProvider.Microsoft.AnalysisServices.AdomdClient.AdomdConnection.IXmlaClientProviderEx.ConnectXmla()
       at Microsoft.AnalysisServices.AdomdClient.AdomdConnection.ConnectToXMLA(Boolean createSession, Boolean isHTTP)
       at Microsoft.AnalysisServices.AdomdClient.AdomdConnection.Open()
       at Microsoft.SqlServer.Management.SqlStudio.Explorer.ObjectExplorerService.ValidateConnection(UIConnectionInfo ci, IServerType server)
       at Microsoft.SqlServer.Management.UI.ConnectionDlg.Connector.ConnectionThreadUser()
    What can I do to connect?

    Hi Thush,
    According to your description, you get the above error when connecting SSAS in SSMS. Right?
    In Analysis Services, this error turns out to be a the data provider issue. I suggest you re-install the OLE DB Provider for SQL Server 2012.
    On the Installation page, choose New SQL Server stand-alone installation or add features to an existing installation.
    On the Installation Type page, choose Perform a new installation of SQL Server 2012.
    On the Setup Role page, choose SQL Server Feature Installation.
    On the Feature Selection page, click Client Tools Connectivity. This option installs
    Microsoft.AnalysisServices.Xmla.dll
    Do not select any other features.
    Click Next to finish the wizard, and then click Install to run Setup.
    Reference:
    Microsoft® SQL Server® 2012 SP1 Feature Pack
    If you have any question, please feel free to ask.
    Regards,
    Simon Hou
    TechNet Community Support

  • I just downloaded the latest OS upgrade and since I can not connect to the internet using my cellular data plan.

    I just downloaded the latest iOS.7 upgrade on my ipad2, and since I can not connect to the internet using my cellular data plan.  I have checked my data plan and it's both current and over 2GB remaining.  However the indicator shows no service, thus would be the best steps to recover.  Thanks much for any support that can be provided.

    Hello Kmart2@3
    Check out the troubleshooting article below to get cellular to start working again. 
    iPad (Wi-Fi + Cellular Models): Troubleshooting a cellular data connection
    http://support.apple.com/kb/TS4249
    Regards,
    -Norm G.

  • Equium A200 can not connect to the interest using Wifi

    Hi,
    Since having to reinstall Windows Vista Ultimate, I can not connect to the interest using Wifi. It works fine for Ethernet, but when choosing the "Connect to the Internet" screen, its blank and will not find any wifi connects or let me manually connect to one.
    In Device Manager under Network Adaptors, it now only shows the Ethernet Controller and not the Wifi adaptor. I have tried to download the driver from this site and after rebooting nothing has changed. I have made sure the machine has all the latest Windows updates as well. I have also mader sure that the wifi button is switched on at the front of the machine.
    Also one a side note I cant seem to find the exact name of the Laptop in the system section of Control Panel other than Equum A200. On the download driver page there is NOT a A200 listed only A300 and A300D.
    http://uk.computers.toshiba-europe.com/innovation/download_drivers_bios.jsp?service=UK&mode=allMachi nes&action=search&teddProduct=759&selShortMod=667
    Any help would be grateful.
    Spec:
    Windows Vista Ultimate
    Toshiba Equium A200
    32-bit Operating System

    >Also one a side note I cant seem to find the exact name of the Laptop in the system section of Control Panel other than Equum A200. On the download driver page there is NOT a A200 listed only A300 and A300D.
    I guess you didnt look into the Archive the A200 is a little bit older therefore the drivers are placed in Archive!
    If you want to know what driver you need then I recommend checking this faq:
    http://forums.computers.toshiba-europe.com/forums/ann.jspa?annID=78
    All Wlan drivers can be found here:
    http://aps2.toshiba-tro.de/wlan/

  • Apple: PLEASE FIX "Can't connect to bckgrnd services" issue

    This is an appeal to Apple to please fix this "Can't connect to background services" bug/issue/problem that has plagued Compressor 2. We just went through a Pro Apps update and still it does not work. Sure there is the terminal workaround but it is a pain to have to do that every day. Your Compressor development is severely lacking as it has a number of issues which do not seem to be addressed. I am very close to going back to Squeeze. Please fix Compressor 2!

    The discussion areas aren't used by Apple to gather bug reports or product feedback (at least not officially). You need to send feedback to Apple through one of the following links:
    http://www.apple.com/feedback/finalcutpro.html
    or
    http://www.apple.com/feedback/dvdstudiopro.html
    Unfortunately, there is no direct link for Compressor.

  • How can I connect to the database using ODBC within excel.

    Hi,
    How can I connect to the database using ODBC within excel and just refresh the data when needed.
    Thanks,
    Priyanka
    Edited by: user554934 on Jun 9, 2009 2:53 AM

    This is NOT an APEX relevant question, try posting it in the SQL/PL/SQL Forum..
    Thank you,
    Tony Miller
    Webster, TX

  • How can I call a web service using JAVAscript in LCD

    hi guys,
         I know it can call a WSDL in LCD, but I have not any WSDL web service , and I have a REST web service ,how can I call this REST web service in LCD? I checked some documents and found nothing...if it's possible that it can call a REST web service using JAVAScript code, I mean I can program some code to call this web service ?
    thanks,
    Jesse

    Hi Jesse,
    You can do GET, PUT and POST using FormCalc, so you should be able to access a REST web service. 
    There is a example of accessing a RSS feed in this thread, http://forums.adobe.com/message/5695433#5695433
    Regards
    Bruce

  • How can I connect personal hotspot to use the internet from my phone on my laptop?

    I do not have internet at home and want to be able to connect using the personal hotspot on my phone. How do i do this??

    How much would be a month?
           From: Verizon Wireless Customer Support <[email protected]>
    To: kelly johnson <[email protected]>
    Sent: Wednesday, October 8, 2014 12:02 PM
    Subject:  - How can I connect personal hotspot to use the internet from my phone on my laptop?
    #yiv3595356488 img
    |  
    |
      | 
    A message from the Verizon Wireless Community
      |
    |   |
    How can I connect personal hotspot to use the internet from my phone on my laptop?
    created by Verizon Wireless Customer Support in iPhone 4S - View the full discussion                  Hello kmj65
    Thanks for replying. The plan you have it would be an additional charge to add the hotspot feature. It's not free with the Nationwide plan. You would need to add the feature online at www.verizonwireless.com/myverizon
    JoeL_VZW
    Follow us on Twitter @VZWSupport   Reply to this message by replying to this email -or- go to the message on Verizon Wireless Community Start a new discussion in iPhone 4S by email or at Verizon Wireless Community


    © 2014 Verizon Wireless
    Verizon Wireless
    One Verizon Way
    Mail Code: 180WVB
    Basking Ridge, NJ 07920
    Not interested in these emails anymore, or want to change how often they come? Update your email preferences by visiting https://community.verizonwireless.com/user-preferences!input.jspa.
      |
    We respect your privacy. Please review our privacy policy for more information
    about click activity with Verizon Wireless and links included in this email.
      |

    |

  • Can i connect 2 external hdd using the thunderbolt to ethernet adapter

    can i connect 2 external hdd using the thunderbolt to ethernet adapter

    thanks its a wd my book world i just want to directly connect to it i dont want to use it as a network hdd anymote and if i do it will i still be able to use wifi to connect to the internet.
    it shows up the the bonjour bookmarks when its connected through my router does that mean it will work?

  • I can't connect my personal hotspot using wifi,I can able to find my iphone4 but it's just showing obtaing ip adress ??wat can I do for this problem??

    I can't connect my personal hotspot using wifi,I can able to find my iphone4 but it's just showing obtaing ip adress ??wat can I do for this problem??

    Hey there arunvdi,
    It sounds like you are unable to connect to the Wi-Fi created by your Personal Hotspot. I recommend these troubleshooting steps from the article named:
    iOS: Troubleshooting Personal Hotspot
    http://support.apple.com/kb/ts2756
    Try disabling and reenabling Personal Hotspot from Settings > Personal Hotspot or Settings > General > Cellular > Personal Hotspot.
    Reset network settings by tapping Settings > General > Reset > Reset Network Settings.
    Wi-Fi troubleshooting
    If you encounter an issue using Personal Hotspot with other Wi-Fi devices, try the following:
    Turn Personal Hotspot off.
    Verify Wi-Fi is on in Settings > Wi-Fi.
    Turn Personal Hotspot back on.
    If another device is unable to join your Wi-Fi network, ensure that the user enters the Wi-Fi password correctly. If the device cannot see your Wi-Fi network, verify your device name.
    Note: Windows may not properly display a device name that uses non-ASCII characters.
    Verify how many devices are currently using your Personal Hotspot. Depending on your wireless carrier and, the maximum number of Wi-Fi connections may be limited to three at one time.
    If the other device still cannot connect, try turning Wi-Fi off and on again on the device. Verify that your device can see other Wi-Fi networks.
    Note: If you see an "Unable to Join" or timeout error when trying to connect a device using Wi-Fi, ensure that you remain on the Personal Hotspot screen until the first device connects. After a device has connected, you can leave the Personal Hotspot screen and use your phone normally. Your device will automatically stop broadcasting using Wi-Fi if you put your device to sleep or after 90 seconds elapse with no devices connected using Wi-Fi. You can start broadcasting your Wi-Fi network again by tapping Settings > Personal Hotspot.
    If none of the previous steps resolves your issue, restore the iPhone.
    Thank you for using Apple Support Communities.
    Regards,
    Sterling

  • I have an ipod 4 can i connect to pc and, using itunes match, store all music off ipod and then transfer to a new ipod 5?

    i have an ipod 4 can i connect to pc and, using itunes match, store all music off ipod and then transfer to a new ipod 5?

    hI, bella
    I also met this issue a few days ago and I finally find out how to transfer music from iPod to computer:
    1. Plug your iPod in and wait for the computer to recognize it.
    2. Open up 'My Computer' and under 'Devices With Removable Storage', double click and open apple iPod.
    3. Click on 'Tools' at the top of the window and drag down to 'Folder Options'.
    4. Under the 'View' tab, find the subfolder called 'Hidden files and folders'.
    5. Select the option 'Show hidden files and folders'.
    6. Click 'OK'.

  • My X61 can't connect wireless when i use battery!!!

    TYPE NO.:  7673-AN6
    i confused why it can not connect wireless when i use battery?!
    the problem drive me crazy nearly, it means i must take adapter every time
    i help every one can help me!
    cheers,

    Most of the functionality and problems are in the drivers. The hardware tends to be discrete testable functions though these days there is a fair bit of functionality in the hardware. The hardware tends to be implementing better defined protocols where as the to and fro of the higher level protocols tend to be what varies from Access Point to Access Point. The 4965AGN is a fairly recent chip set and the drivers are far from smoothly running.
    The problems can vary from AP to AP so may work at home but not at work etc. Some have reported here that the 4965AGN setup doesn't work with the Cisco 1200 Access Point and I have yet to be able to get it to work under Vista with the equipment at any New York Starbucks. T-mobile do use Cisco equipment but I don't know which models.
    Anything you can do to simplify the situation helps. Maximum power. No security. Disable IPv6 on the connection etc. Just to give a rough idea of the kind of thing that might be wrong here are some of the things listed as known issues or fixed according to the readme of the driver (Originating from Intel) that was released for the 4965AGN on 4/11/08.
    There are several authentication issues with EAP, PEAP and LEAP which will cause it not to authenticate. There are also Vista EAP issues and some things which may resolve with SP1 which was pushed out on update last week. So there are many comnbinations of situations which may not work and it is important to test with different access points. Authentication and security has more issues. Also at the higher speeds such as 54Mb some of the security mechanisms will not be able to keep up. AES is the only mechanism which Intel expects to work at 54Mb.
    http://downloadmirror.intel.com/15806/ENG/relnotes.htm
    There have also been past issues where the cards are silenced for twenty minutes after a failure to authenticate and in many cases the card will not be in a valid state after hibernation. It is noticable that when you phone T-mobile the first thing the tech has you do is completely shut the machine down - not hibernate - and begin afresh.
    Once you have uninstalled and re-installed the drivers and connection manager a few times it is also possible to be having problems with junk left in the registry.
    I don't recommend adding the 4965 drivers directly from the Intel site. I would wait for the one that has come through the Lenovo testing cycle.
    In reality for those who don't want to make maintaining their laptop a serious hobby (Hopefully all of us - Far too much time is wasted on wireless) it is really a matter of rebooting your machine at a given access point. Trying your luck and then shutting it down and going somewhere else if it doesn't work. Use wires when you can. At home if your access point doesn't work check your configuratiions, temporarily remove all security, restore factory settings on the AP, reinstall from scratch and if it still doesn't work replace it with a different brand of Access Point.
    Of course it is intended to just work and for 95+% of situations Wi-Fi does. The 4965AGN is newer so it has its fair share of early life issues to get resolved. Vista also still has issues. If the problem you are seeing is only when you are on batteries you are lucky and LANOgre's instructions may well solve it.
    Message Edited by hiker on 05-19-2008 09:23 PM

  • Can we connect to oracle 9i using vb6.0 in 64 bit machine.

    Can we connect to oracle 9i using vb6.0 in 64 bit machine.
    Code i have written is
    dim conn as new ADODB.Connection
    conn.open("Provider=MSDAORA.1;password=pw;user id=usname;data source=dbname;Persist Security info=false")
    but it is throwing an error saying
    "Connection not open"
    But the same code is working in vb.net.
    Do we need to install any providers for 64 bit machine?

    I have had no luck doing this in the 64-bit ODAC or otherwise. If anybody succeeds I would love to hear about it. My experience follows for those interested:
    I am trying to migrate some working VB6 code from Windows 2000 Server to 64-bit Windows Server 2003 but can't get the OLEDB connection to Oracle to work.
    In the working code (x86 environment), I am using ADO 2.8 and Microsoft OLEDB Provider for Oracle (MSDAORA). Since the Microsoft OLEDB provider for Oracle is no longer supported or available on Windows Server 2003 x64, I tried to use the 32-bit Oracle OLEDB provider in ODAC 10.2 but may have run into the parsing bug posted on MSDN (http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=159581). Next, I successfully installed the beta 64-bit version of ODAC 10.2, but when I try to open the connection I receive "Error 3706 Provider cannot be found. It may not be properly installed." However, I can successfully TNSPing the data source.
    Windows Server 2003 x64 (not Itanium)
    Oracle Enterprise 9.2
    Microsoft Visual Basic 6
    Microsoft ADO 2.8 (Objects & Recordset references)
    Oracle OLEDB Provider (ODAC 10.2, 64-bit)
    Code Snippet:
    Set m_dbConn = New ADODB.Connection
    With m_dbConn
    .ConnectionString = "Provider=OraOLEDB.Oracle;Data Source=oplprod; User ID=myid; Password=mypwd;"
    .ConnectionTimeout = 10
    .CursorLocation = adUseClient
    .Open
    End With

  • Can the "Delivery Frequency Calendar" be used with Commodities?

    A customer has many Suppliers in China that have different calendars
    for observing Chinese New Year.
    They must account for these schedules to order in time, so they do not miss fulfilling sales orders.
    According to Note 175935.1 , it appears that the ASL needs to be assigned to items.
    However; they are using a global ASL rule for a commodity instead of an item.
    Test Case:
    Create a "Delivery Frequency Calendar" a "Build"
    Add the calendar to the ASL
    Run MRP and see that the planned order has a dock date inside of the days
    specified as "off".
    Can the "Delivery Frequency Calendar" be used with Commodities?
    If so, how does one set this up?
    Thanks in advance.

    The customer explains the following:
    Organization Code = APP (Organization_id = 124)
    Part Number = 0328078 (Inventory_item_id = 102991)
    Item 0328078 exists in Organization APP
    Lead Times Preprocessing Lead Time 1 Org
    Lead Times Cumulative Total Lead Time ~ Org
    Lead Times Variable Lead Time ~ Org
    Lead Times Lead Time Lot Size 1 Master
    Lead Times Fixed Lead Time ~ Org
    Lead Times Cum Manufacturing Lead Time ~ Org
    Lead Times Processing Lead Time 65 Org
    Lead Times Postprocessing Lead Time 3 Org
    MRCNEW debug log file with the Inventory_item_id = 102991 details:
    https://gtcr.oracle.com/gtcr-dir/gtcr_106036848/6564940.993/MBPlanner_2nd_run.req</font>
    Please review the file 0328078_Setup.doc and the Supply Chain Planning report.
    So, support researched the issue more and came up with:
    Note.466300.1 "Organization Based Commodity Sourcing Rule Not Being Considered During Checkout"
    Note.466220.1 "How Does The Commodity Based Sourcing Work For Internal Requisitions?"
    However; the customer responded with:
    "We release out of the planners workbench, as well as purchase release drop
    ship S.O.s out of OM, and the P.O. is automatically created correctly to
    the correct Supplier/Site based on our S.R., A.S.L., and quotations.
    Doesn't that indicate it is finding and using the S.R., A.S.L., and
    quotations?"
    Subsequently, support located using Autodiagnose "MRP commodity sourcing
    dock date":
    1 TAR: 4441533.992 HOW TO SETUP AND USE DELIVERY FREQUENCY CALENDARS 719 11.5.10
    http://webiv.oraclecorp.com/cgi-bin/webiv/do.pl/Get?WwwID=<A TARGET="_BLANK" HREF="DWB_ITS_API.SHOW_TAR?P_TAR_NUMBER=4441533.992">TAR:4441533.992
    2 TAR: 4361672.996 PLANNING CONSTRAINT NOT CONSIDERING BY SUPPLY CHAIN MRP FOR ASL BY COMMODITY 574 11.5.9
    http://webiv.oraclecorp.com/cgi-bin/webiv/do.pl/Get?WwwID=<A TARGET="_BLANK" HREF="DWB_ITS_API.SHOW_TAR?P_TAR_NUMBER=4361672.996">TAR:4361672.996
    The current functionality in MRP does not consider planning constraint setup in ASL by commodity at this time.
    Can BDE contact development to confirm if this is supposed to work at all?

  • Could not connect to DbaaS Service using the given user name and password.

    I'm not able to create Java Cloud Service (Oracle Java Cloud - Virtual Image Services) for my newly created Oracle Database Cloud Service instance. It fails with
    "Incorrect values entered
    Could not connect to DbaaS Service using the given user name and password.
    Verify that the user name and password are correct and the user name has SYSDBA privileges."
    I'm using SYSTEM user and the password I used during Oracle Database Cloud Service instance creation. I've verified them with sqlplus and also by connecting remotely.
    Java Cloud Service wizard doesn't allow me to proceed to instance creation.

    Hi Alexander,
    Maybe you'll find useful the document from Oracle docs specified bellow regarding Creating an Oracle Java Cloud Instance:
    http://docs.oracle.com/cloud/latest/jcs_gs/JSCUG/GUID-31F00F2C-221F-4069-8E8A-EE48BFEC53A2.htm#JSCUG3128
    Thanks,
    Cristiana.
    #OracleCloud

Maybe you are looking for

  • Looking for libxtst-dev and libxtst6 for Solaris 10 x86

    I am trying to compile Synergy (http://synergy2.sourceforge.net) on a Solaris 10 x86 1/06 system and need the libxtst-dev and libxtst6 libraries. I believe these are part of XFree86. I searched Google and found these on GnuSolaris.org as Debian-based

  • NEWB: Premier CS4 & video not working

    Hi, I've installed CS4 as a trial on an IBM think pad, that's a bit old and video was not playing. The sound was not able to start from different points and video was only a single frame.  I figure, time to upgrade anyway's, I shop around and find a

  • Beginner for flash professional cs6

    hi, pls guide how to learn flash professional cs6 and what is actionsscript 3.0, and send sample flash files to my mail id [private info removed] i know illustrator and photoshop, both have sample files in internet. i will easily search illustrator i

  • Adobe Illustrator 10 on the System mac os x10.9

    I need to run Adobe Illustrator 10 on the System mac os x10.9 because it contains Arabic fonts. Does not want the new release of Adobe read it

  • Losing memory space to music files

    I sync my iphone to itunes and if you have all your music in the cloud why does it take up storage space on my phone. Each time I sync i am getttin less and less memory on my phone? Any ideas