Sample application using the Eclipse BIRT schema
<p>Somaco have produced a sample application based upon the Eclipse BIRT example schema (customers, orders, products, etc). Hopefully this will be of some use to new-to-Spring developers looking for other example applications and sample applications.</p>
<p>So far we're tested/run the sample application on Tomcat, using JOTM transactions against the MySQL version of the BIRT schema. We'd like to (a) offer the sample application to those Weblogic users looking for sample applications (other than petstore), and (b) get some feedback on the sample application from Weblogic users - both for the deployment and for the app itself.</p>
<p>
The sample application uses the following Spring MVC Framework features:</p>
<ul>
<li>Various Spring controllers including: SimpleFormController, AbstractWizardFormController, and MultiActionController.</li>
<li>Validation and Custom Editors (including a CustomTimestampEditor for java.sql.Timestamp fields).</li>
<li>Clearly tiered application design with web, application and persistence tiers.</li>
<li>Ibatis/DB persistence tier using result maps, correlated result maps, dynamic and iterative map definitions.</li>
<li>Simple QBE on text fields.</li>
<li>Externalised messages (for i18n/l10n).</li>
<li>WAI-friendly page structure (e.g. CSS2 styling, use of divs, not tables).</li>
<li>Declarative JOTM transactions.</li>
</ul>
<p>The sample application was created using the Somaco Software Production service.</p>
<p>Follow the link from the Somaco home page to download the application (~4.1 MB).</p>
<p>No registration required. Feedback would be appreciated. Enjoy.</p>
<p>Cheers - John</p>
<p>Somaco have produced a sample application based upon the Eclipse BIRT example schema (customers, orders, products, etc). Hopefully this will be of some use to new-to-Spring developers looking for other example applications and sample applications.</p>
<p>So far we're tested/run the sample application on Tomcat, using JOTM transactions against the MySQL version of the BIRT schema. We'd like to (a) offer the sample application to those Weblogic users looking for sample applications (other than petstore), and (b) get some feedback on the sample application from Weblogic users - both for the deployment and for the app itself.</p>
<p>
The sample application uses the following Spring MVC Framework features:</p>
<ul>
<li>Various Spring controllers including: SimpleFormController, AbstractWizardFormController, and MultiActionController.</li>
<li>Validation and Custom Editors (including a CustomTimestampEditor for java.sql.Timestamp fields).</li>
<li>Clearly tiered application design with web, application and persistence tiers.</li>
<li>Ibatis/DB persistence tier using result maps, correlated result maps, dynamic and iterative map definitions.</li>
<li>Simple QBE on text fields.</li>
<li>Externalised messages (for i18n/l10n).</li>
<li>WAI-friendly page structure (e.g. CSS2 styling, use of divs, not tables).</li>
<li>Declarative JOTM transactions.</li>
</ul>
<p>The sample application was created using the Somaco Software Production service.</p>
<p>Follow the link from the Somaco home page to download the application (~4.1 MB).</p>
<p>No registration required. Feedback would be appreciated. Enjoy.</p>
<p>Cheers - John</p>
Similar Messages
-
Can multiple APEX application use the same parsing schema?
Hi,
I have 4.2 APEX thru pl/sql Gatewat, 11gr2 DB and using theme 24.
Due to the APEX limitation for version control I would be splitting 1 big ERP applications into 24 different APEX applications and each application would be considered as 1 unit for version control.
I have about 800 tables and I would assume that all of these would need to be stored in 1 schema since a lot of these table are linked thru FK.
Can I have multiple APEX APPS using the same parsing schema? or is there a better way to do this?
Thanks in advance!Hi,
Multiple applications can have same (one) parsing schema.
You can test that on e.g. apex.oracle.com, where normally you have only one schema and you create multiple applications and all use that same schema.
Regards,
Jari
My Blog: http://dbswh.webhop.net/htmldb/f?p=BLOG:HOME:0
Twitter: http://www.twitter.com/jariolai
Edited by: jarola on Jan 28, 2013 7:15 PM -
Need help in creating a sample application using Oracle I\PM 10gR3.
I am a new to Oracle I\PM 10gR3 and I need a guide to create a sample
application using Filer and a sample Process.
I have searched the net and was unable to find any documents. If any body has
any kind of guide to create an application please let me know.
Waiting for a response.Please see Kenichi Unnai in his blog "How to use UWL API for NetWeaver BPM Tasks"
How to use UWL API for NetWeaver BPM Tasks
The .sca-file can be found on the sap service marketplace, afterwards you need to import the .sca-file, add the SC to your "MyComponents" and then you can select your necessary DC's. -
Authorization Scheme using the APEX Authentication Scheme
How would you build an authentication scheme that is using the APEX Authorization scheme. All users are belonging to a group which could be Oracle, External or Developer and I'd like to hide certain pages from the External users.
I am not sure if I can grab the group name from some V('..') function and make something work?
Cheers,
AndyI'll give it a try again, sorry for not being able to describe the problem better!
I am using the APEX built in authorization and authentication to make my life simple with regards to user mgmt. So all the users are managed using the Home>Administration>Manage Application Express Users. Every user belongs to an APEX group (Home>Administration>Manage Application Express Users>User Groups). For example:
User A belongs to Group External
User B belongs to Group Oracle
User C belongs to Group Admin
Now, there are certaing pages in my application that I want to restrict from the Group External (but the Group Admin and Group Oracle can see them).
So my question is really how would I build such an Authorization Scheme to accomplish this? Not suer about which APEX API functions I should use to get this data and how to build the function.
I hope this makes more sense?
Andy -
What is the max sample clock using the Shielded Single-Ended Flying-Lead Cable
Hi
What are the max practical limits for the sample clock using the Shielded Single-Ended Flying-Lead Cable?
I am playing with the Labview embedded example "Dynamic Generation and Acquisition Source Synchronou.vi" using the Shielded Single-Ended Flying-Lead Cable and the PXIe-6556.
This example write in the channels 0-7 and read in the channels 7-15.
It also export the sample clock and data active event so we have a "Source Synchronous"
I change the original example to set the input impedance to 50ohm and VH and VL voltatages.Write 3.3V - 0V and read 0.5V 0.3V.
The problem is the signal integrity at higher frequencies. Please see the picture attached.
Sample clock 30MHz
50MHz
70MHz
90MHz
Error: PLL could not phase-lock to the external reference clock.Hello engfpe,
According Hardware manual the Maximum Sample Clock rate is 200 MHz.
http://www.ni.com/datasheet/pdf/en/ds-421
Is not clear for me if your error message was received on LabVIEW or on your Agilent Scope, and I don´t know your Agilent Scopes specifications. Neither I don´t know what exactly you are trying to generate, maybe if yo ucan clarify more your application and your issue I can help you more.
Best regards, -
I'm trying to distribute a DB Application using the Instant Client provided
Hi!!
I'm trying to distribute a DB Application using the Instant Client provided by Oracle.
I've checked the FAQ of Oracle and says the Instant Client supports all existant versions of Oracle.
But I've also seen in another posting that the oci.dll needs the same Oracle version file it was created with.
I need to distribute an application that provides all the 8i, 9i and 10g versions.
Do I have to distribute the oci.dll for each version?
I just wanted to check if this was true.
One more question, when I uncompress the Instant Client, many files appear from which
I only left oci.dll, oraocci11.dll and oraociei11.dll and erased them all, but the program
still works. Is it ok?
thanx
Edited by: user11139984 on 2009. 5. 6 오후 11:10I am not sure what you mean if you say that you "need to distribute an application that provides all the 8i, 9i and 10g versions".
If you mean that you want your application to be able to access Oracle Databases of versions 8, 9 and 10, then you can use Instant Client 10.2.0.4 which is able to connect to all of them.
If your application does not need more than the three DLLs you mention to run, that should be fine.
Yours,
Laurenz Albe -
Trouble deploying a J2EE application using the J2EE 6.20 Deploy Tool
I am having trouble deploying a J2EE application using the J2EE 6.20 Deploy Tool.
I successfully create the WAR/EAR files, I then select deploy and the deploy process gets to 100% before displaying an error message.
Can anybody help?
Please see Deploy Tool log entry:
01:39 - **********************************************************
05/01/17 10:19:16 - Applying user role management mappings.
05/01/17 10:19:16 - Start updating EAR-file...D:\SAP_J2EEngine6.20_Cluster\deploying\carmodeller\carmodeller.ear
05/01/17 10:19:27 - Temp files deleted...
05/01/17 10:19:27 - Ear-file updated successfully for 11375ms.
05/01/17 10:19:27 - Start deploying ...
05/01/17 10:20:15 - Ear-file uploaded to server for 47297ms.
05/01/17 10:21:47 - ERROR: ID90506: NOT Deployed. ERROR returned from deploy service :
com.inqmy.services.deploy.container.DeploymentException: Can't init application carmodeller. com.inqmy.services.servlets_jsp.server.WebApplicationException: ID17110: Error in starting application carmodeller.java.lang.NullPointerException
at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.deploy(ServletsAndJspImpl.java:482)
at com.inqmy.services.servlets_jsp.server.WebContainer.commitDeploy(WebContainer.java:256)
at com.inqmy.services.deploy.server.DeployServiceImpl.commit(DeployServiceImpl.java:2848)
at com.inqmy.services.deploy.server.DeployServiceImpl.deploy1(DeployServiceImpl.java:512)
at com.inqmy.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:140)
at com.inqmy.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:184)
at com.inqmy.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:157)
at com.inqmy.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:108)
at com.inqmy.core.service.context.container.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:36)
at com.inqmy.core.cluster.impl5.ParserRunner.run(ParserRunner.java:55)
at com.inqmy.core.thread.impl0.ActionObject.run(ActionObject.java:46)
at java.security.AccessController.doPrivileged(Native Method)
at com.inqmy.core.thread.impl0.SingleThread.run(SingleThread.java:153)
05/01/17 10:21:47 - **********************************************************Hi, it looks like the app has trouble starting up:
05/01/17 10:21:47 - ERROR: ID90506: NOT Deployed. ERROR returned from deploy service :
com.inqmy.services.deploy.container.DeploymentException: Can't init application carmodeller. com.inqmy.services.servlets_jsp.server.WebApplicationException: ID17110: Error in starting application carmodeller.java.lang.NullPointerException
Did you have any errors on the compile of the code?
You also want to check if the app is deployed (if so you may want to remove it before re-deploying it) -
Close the application using the camera, then try opening!!!
i use my built in isight everymorning with iMovie and iChat. I used it again this morning. Throught out the day, for some reasons i had to reinstall quicktime and another video file exporter software "ffmpegx". now i don't know if this has to do anything with it, but now if i open my ichat, imovie, phoneboot, anyway, all of them, they keep saying that the camera is being used by another application!!! there is NO application using the camera!!! i tried to restart, shut it down, even deleted the video file export software, even reinstalled quicktime another time, yet the message keeps popping up. i am travelling and don't have my restore or reboot cd with me. i need my camera to work, it is part of my work. i need some help.
300 pmTool root 0.90 1 1.20 MB 36.46 MB Intel
299 Activity Monitor danielbelanger 4.60 2 9.47 MB 345.03 MB Intel
286 Database Daemon danielbelanger 0.00 3 15.01 MB 448.61 MB PowerP
285 Word danielbelanger 3.40 6 81.95 MB 696.12 MB PowerPC
281 Mail danielbelanger 0.00 6 20.00 MB 362.41 MB Intel
276 Address Book danielbelanger 0.00 1 11.57 MB 346.98 MB Intel
274 AppleSpell danielbelanger 0.00 1 1.91 MB 37.75 MB Intel
272 Safari danielbelanger 1.50 9 171.56 MB 668.81 MB PowerPC
270 iTunes danielbelanger 7.30 4 33.47 MB 378.62 MB Intel
267 mdimport unknown 0.00 4 2.46 MB 39.55 MB Intel
266 iChatAgent danielbelanger 0.00 3 5.41 MB 298.09 MB Intel
261 System Events danielbelanger 0.00 1 3.52 MB 328.50 MB Intel
260 Plazer danielbelanger 0.00 4 7.86 MB 344.36 MB Intel
259 Temperature Monitor danielbelanger 0.00 6 9.21 MB 377.50 MB Intel
257 Alarm Clock danielbelanger 0.00 1 5.06 MB 335.72 MB Intel
256 mdimport danielbelanger 0.00 4 4.38 MB 40.16 MB Intel
249 Finder danielbelanger 0.00 4 12.48 MB 355.98 MB Intel
247 SystemUIServer danielbelanger 0.00 2 10.50 MB 348.57 MB Intel
246 Dock danielbelanger 0.00 2 4.15 MB 310.77 MB Intel
241 pbs danielbelanger 0.00 2 2.02 MB 54.99 MB Intel
234 WindowServer windowserver 2.50 3 58.66 MB 383.14 MB Intel
233 mdimport ibrido 0.00 3 2.42 MB 38.42 MB Intel
231 loginwindow danielbelanger 0.00 4 5.51 MB 335.82 MB Intel
229 mdimport nobody 0.00 4 2.41 MB 39.25 MB Intel
194 slpd root 0.00 6 1,008.00 KB 30.16 MB Intel
169 ntpd root 0.00 1 404.00 KB 27.07 MB Intel
165 automount root 0.00 3 1.07 MB 28.72 MB Intel
160 mds root 0.00 9 4.78 MB 43.91 MB Intel
154 AppleFileServer root 0.00 2 2.20 MB 33.68 MB Intel
145 automount root 0.00 5 1.32 MB 29.77 MB Intel
142 rpc.lockd root 0.00 1 188.00 KB 26.66 MB Intel
133 nfsiod root 0.00 5 184.00 KB 28.61 MB Intel
110 translated root 0.00 1 248.00 KB 35.93 MB Intel
108 lookupd root 0.00 2 1.52 MB 28.50 MB Intel
106 integod root 0.00 2 17.54 MB 121.01 MB PowerPC
82 crashreporterd root 0.00 1 204.00 KB 26.60 MB Intel
68 ATSServer danielbelanger 0.00 2 9.13 MB 66.61 MB Intel
64 coreservicesd root 0.00 3 12.75 MB 43.35 MB Intel
63 blued root 0.00 1 1.98 MB 37.04 MB Intel
51 DirectoryService root 0.00 3 2.96 MB 30.25 MB Intel
49 update root 0.20 1 220.00 KB 26.60 MB Intel
48 distnoted root 0.00 1 832.00 KB 27.01 MB Intel
42 notifyd root 0.00 2 464.00 KB 27.20 MB Intel
41 securityd root 0.00 1 2.25 MB 28.68 MB Intel
40 memberd root 0.00 3 648.00 KB 27.64 MB Intel
39 diskarbitrationd root 0.00 1 1.13 MB 27.14 MB Intel
38 coreaudiod root 0.00 1 1.11 MB 28.32 MB Intel
37 configd root 0.00 3 1.91 MB 29.13 MB Intel
35 syslogd root 0.00 1 420.00 KB 26.63 MB Intel
34 netinfod root 0.00 1 568.00 KB 26.92 MB Intel
33 mDNSResponder root 0.00 3 1.11 MB 27.88 MB Intel
32 KernelEventAgent root 0.00 2 628.00 KB 27.18 MB Intel
27 kextd root 0.00 2 1.02 MB 27.54 MB Intel
23 dynamic_pager root 0.00 1 168.00 KB 26.61 MB Intel
1 launchd root 0.00 3 524.00 KB 27.67 MB Intel
0 kernel_task root 2.60 45 65.02 MB 947.15 MB Intel -
Revision: 13538
Revision: 13538
Author: [email protected]
Date: 2010-01-15 16:26:36 -0800 (Fri, 15 Jan 2010)
Log Message:
Modified the RTMP dynamic streaming sample to use the new SMIL plugin.
Modified Paths:
osmf/trunk/apps/samples/framework/DynamicStreamingSample/.actionScriptProperties
osmf/trunk/apps/samples/framework/DynamicStreamingSample/src/DynamicStreamingSample.mxml
Removed Paths:
osmf/trunk/apps/samples/framework/DynamicStreamingSample/src/org/But DynamicStream.as is part of the code base and the does get executed. Jody, which version of DynamicStream.as is more current? The one that ships with FMS 3.5 or the one in tools?
Can anyone answer my original question (I think) which is: should I be able to switch source = http://dynamicStream1.smil -> source = http://dynamicStream2.smil and back and forth etc. It seems to work. Are there any caveats? I am not switching back and forth between flv-s and smil-s
It turns out that there are a couple of lines of code in NCManger.as::bitrateMatch() which is concatenating the streamName and this results in 404 on the FMS side. I'm not sure what this is supposed to do or if this is just a bug, but the upshot was that I could not specify source = http://dynamicStream.smil on a remote server. The uncanny part of this issue is if I serve the same smil locally, referencing remote remote smil and media, it works. Maybe this has something to do with the bit rate. Bottom line is that this cost me 3 days, becuase I was under the incorrect impression that you could not reference *.smil directly and I blindly followed the handrail provided by the the FMS videoPlayer sample. Shame on me for trying to leverage working code shipped with a production version.
NCManger.as::bitrateMatch()
if
(_streamName != null
) {_streamName += _streams[whichStream].src;
My incling is to change the += above to an = and get on with it.
If someone at adobe or anywhere can have a look and give me some other guidance, it would be much appreciated.
Thanks to Sean for the kind and detailed responses and giving me the green light that source=http://dynamicStream.smil _should_ work.
Thanks to all. -
How can we take the incremental export using the datapump at schema level.
Hi,
How can we take the incremental export using the datapump at schema level. Example, today i had taken the full export of one schema.
After 7 days from now , how can i take the export of change data , from the data of my full export.
using the export datapump parameter - FLASHBACK_TIME ,can we mention the date range. Example sysdate - (sysdate -7)
Please advice
thanks
Naveen.Think of the Data Pump Export/Import tools as taking a "picture" or "snapshot."
When you use these utilities it exports the data as it appears (by default) while it's doing the export operation. There is no way to export a delta in comparison to a previous export.
The FLASHBACK_TIME parameter allows you to get a consistent export as of a particular point in time.
I recommend you go to http://tahiti.oracle.com. Click on your version and go to the Utilities Guide. This is where all the information on Data Pump is located and should answer a lot of your questions. -
Internet and applications using the Internet keep crashing after IOS5 upgrade on the iPod Touch 4th generation. Any suggestion on how to prevent the it?
Try:
http://snapguide.com/guides/calibrate-your-home-button/?utm_expid=69945963-15
fix for Home button
iPhone Home Button Not Working or Unresponsive? Try This Fix
- If you have iOS 5 and later you can turn on Assistive Touch it add the Home and other buttons to the iPods screen. Settings>General>Accessibility>Assistive Touch
- If not under warranty Apple will exchange your iPod for a refurbished one for:
Apple - Support - iPod - Repair pricing
You can do it an an Apple store by:
Apple Retail Store - Genius Bar
or sent it in to Apple. See:
Apple - Support - iPod - Service FAQ
- There are third-party places like the following that will repair the Home button. Google for more.
iPhone Repair, Service & Parts: iPod Touch, iPad, MacBook Pro Screens -
[svn] 656: Added a short readme explaining how to use the Eclipse projects.
Revision: 656
Author: [email protected]
Date: 2008-02-26 09:38:38 -0800 (Tue, 26 Feb 2008)
Log Message:
Added a short readme explaining how to use the Eclipse projects.
Added Paths:
flex/sdk/trunk/development/eclipse/readme.txtRevision: 656
Author: [email protected]
Date: 2008-02-26 09:38:38 -0800 (Tue, 26 Feb 2008)
Log Message:
Added a short readme explaining how to use the Eclipse projects.
Added Paths:
flex/sdk/trunk/development/eclipse/readme.txt -
Attn: Installing the Sample Applications from the ifs Development Kit
There are a number of problems with the sample Applications included in the
Developer's kit. These need to manually fixed in order to get the demos to work.
#1: Solaris Only
The install of the iFS Development Kit, replaces the existing adk.jar with a new
one containing some additional classes. Unfortunately the install process does not
set the correct privileges on the new version of adk.jar. Please ensure that the
file $ORACLE_HOME/ifs/lib/adk.jar is world readable.
Bug # 1304730
This issue will be resolved on the next drop of the Oracle Internet File System
development kit.
#2: Generic
There is a problem with the way in which the login.jsp establishes a connection to
the repository. The current code makes incorrect assumptions about the name of the
iFS Service and the schema password.
The following changes are required.
In order to connect to the repository 4 pieces of information are required.
1. The iFS User Name
2. The iFS User's password
3. The properties file to be used
4. The database password of the user who owns the iFS Schema
The Login.jsp needs to be altered so that it requests these four arguments before
attempting to establish a connection to the repository.
(The current version only requests username and password).
All four arguments need to be provided as arguments to the login method on the
underlying JavaBean that the JSP invokes when it want to open a connection
to the repository.
***************** HERE IS THE REVISED CODE FOR INSURANCE APPLICATIONS ************
********************************** LOGIN.JSP *************************************
<%@ page import = "ifsdevkit.sampleapps.insurance.InsuranceLogin" %>
<%@ page import = "oracle.ifs.adk.security.IfsHttpLogin" %>
<html><head>
<jsp:useBean id="inslogin" scope="session" class="ifsdevkit.sampleapps.insurance.InsuranceLogin" />
<jsp:setProperty name="inslogin" property="*"/>
<%
String REDIRECT_PATH = "/public/examples/insuranceApp/claims";
boolean loggedIn = false;
if (inslogin.getSession() != null && inslogin.getResolver() != null)
// Use existing insurance login
loggedIn = true;
else
// No existing insurance login
IfsHttpLogin login = (IfsHttpLogin) request.getSession(true).getValue("IfsHttpLogin");
if (login != null && login.getSession() != null && login.getResolver() != null)
// Use existing IfsHttpLogin login
inslogin.init(login.getSession(), login.getResolver());
loggedIn = true;
if (!loggedIn)
String username = request.getParameter("username");
String password = request.getParameter("password");
String serviceName = request.getParameter("serviceName");
String schemaPassword = request.getParameter("schemaPassword");
if (username != null && password != null &&
!username.trim().equals("") && !password.trim().equals(""))
// Login using username/password
try
if (serviceName == null | | serviceName.trim().equals(""))
serviceName = "IfsDefault";
inslogin.init(username, password, serviceName, schemaPassword);
request.getSession(true).putValue("IfsHttpLogin", inslogin);
loggedIn = true;
catch (Exception e)
%>
<SCRIPT LANGUAGE="JavaScript1.2">
alert("The username or Password was not valid, please try again.");
</SCRIPT>
<%
if (loggedIn)
// Redirect to the directory where the claim files reside
response.sendRedirect(REDIRECT_PATH);
else
%>
<title>Insurance Demo App Login</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF">
<form METHOD=POST NAME="loginform" ACTION="login.jsp">
<table>
<tr>
<td><b>Username:</b></td>
<td><input type="text" name="username" value=""></td>
</tr>
<tr>
<td><b>Password:</b></td>
<td><input type="password" name="password" value=""></td>
& lt;/tr>
<tr>
<td><b>Service Name:</b></td>
<td><input type="text" name="serviceName" value="IfsDefault"></td>
</tr>
<tr>
<td><b>Schema Password:</b></td>
<td><input type="password" name="schemaPassword" value=""></td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td>
<input type="submit" value="Log in">
</td>
<td>
<input type="reset" value="Reset">
</td>
</tr>
</table>
</form>
</body>
</html>
<% } %>
*************************** END INSURANCE LOGIN.JSP ******************************
This code has been changed so that it requests the four agruments that are required
to connect to the repository and passes them to the login method on the underlying
bean. Note that we have provided the complete source code to this file in order to
make it simple to deploy the revised version of the code. Simply cut and paste this
code into a new file called login.jsp. Copy the File into the iFS
repository folder /ifs/jsp-bin/ifsdevkit/sampleapps/insurance.
****************************** INSURANCELOGIN.JAVA *******************************
package ifsdevkit.sampleapps.insurance;
* Copyright (c) 2000 Oracle Corporation. All rights reserved.
import java.util.Locale;
import javax.servlet.http.HttpSessionBindingEvent;
import oracle.ifs.beans.DirectoryUser;
import oracle.ifs.beans.FolderPathResolver;
import oracle.ifs.beans.LibrarySession;
import oracle.ifs.beans.LibraryService;
import oracle.ifs.common.CleartextCredential;
import oracle.ifs.common.ConnectOptions;
import oracle.ifs.common.IfsException;
import oracle.ifs.adk.security.IfsHttpLogin;
* The login bean for the Insurance demo app.
* <p>
* This class provide the login info. The class implements the
* <code>IfsHttpLogin</code> interface so it can share login data with other
* login beans.
* @author Edward Yu
* @version 1.0
* @see IfsHttpLogin
public class InsuranceLogin implements IfsHttpLogin
* The <code>LibrarySession</code>.
private LibrarySession m_session;
* The <code>FolderPathResolver</code>.
private FolderPathResolver m_resolver;
* Default constructor required by the jsp spec for the USEBEAN tag
* @exception IfsException
public InsuranceLogin()
throws IfsException
* Make a connection to iFS
* @param username The username to be used for login.
* @param password The password to be used for login.
* @param serviceName The service name to be used for login.
* @param schemaPassword The schema password to be used for login.
* @exception IfsException if operation failed.
public void init(String username, String password, String serviceName,
String schemaPassword)
throws IfsException
LibraryService service = new LibraryService();
CleartextCredential me = new CleartextCredential(username, password);
ConnectOptions connection = new ConnectOptions();
connection.setLocale(Locale.getDefault());
connection.setServiceName(serviceName);
connection.setServicePassword(schemaPassword);
m_session = service.connect(me, connection);
m_resolver = new FolderPathResolver(m_session);
m_resolver.setRootFolder();
DirectoryUser user = m_session.getDirectoryUser();
if (user.isAdminEnabled())
m_session.setAdministrationMode(true);
* Initialize the login bean.
* <p>
* The default constructor does not set the necessary fields so it needs
* to be set instantiation.
* @param session The <code>LibrarySession</code> object.
* @param resolver The <code>FolderPathResolver</code> object.
public void init(LibrarySession session, FolderPathResolver resolver)
m_session = session;
m_resolver = resolver;
* Return the login's session object.
* @return The <code>LibrarySession</code> object.
public LibrarySession getSession()
return m_session;
* Return the login's path resolver.
* @return The <code>FolderPathResolver</code> object.
public FolderPathResolver getResolver()
return m_resolver;
* Called when this object is bound to the HTTP session object.
* @param event The event when the object is bound to the Http session.
public void valueBound(HttpSessionBindingEvent event)
// do nothing
* Called when this object is unbound from the HTTP session object.
* @param event The event when the object is unbound to the Http session.
public void valueUnbound(HttpSessionBindingEvent event)
m_resolver = null;
try
if (m_session != null)
m_session.disconnect();
catch (IfsException e)
e.printStackTrace();
finally
m_session = null; // release the resources
*****************************END INSURANCELOGIN.JAVA ******************************
This code has been changed so that it accepts the four agruments that are required
to connect to the repository and uses them to connect to the repository. Note that
we have provided the complete source code to this file in order to make it simple
to deploy the revised version of the code. Simply cut and paste this
code into a new file called. Save the file on the native file system
in a file called InsuranceLogin.java in the directory
$ORACLE_HOME/ifs/ifsdevkit/sampleapps/insurance/
*************** HERE IS THE REVISED CODE FOR WEB COMMAND APPLICATIONS ************
********************************** LOGIN.JSP *************************************
<%@ page import = "ifsdevkit.sampleapps.webcommandapp.WebCommandLogin" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Author" content="Patricia Li">
<title>Login</title>
</head>
<jsp:useBean id="wclogin" scope="session" class="ifsdevkit.sampleapps.webcommandapp.WebCommandLogin" />
<jsp:setProperty name="wclogin" property="*"/>
<%
String REDIRECT_PATH = "/ifs/ifsdevkit/sampleapps/WebCommandApp/html/main.html";
boolean loggedIn = false;
if (wclogin.getSession() != null)
// Use existing WebCommand login
loggedIn = true;
else
String username = request.getParameter("username");
String password = request.getParameter("password");
String serviceName = request.getParameter("serviceName" );
String schemaPassword = request.getParameter("schemaPassword");
if (username != null && password != null)
// Login to iFS
try
wclogin.init(username, password, serviceName, schemaPassword);
request.getSession(true).putValue("IfsHttpLogin", wclogin);
loggedIn = true;
catch (Exception e)
%>
<SCRIPT LANGUAGE="JavaScript1.2">
alert("The credentials are not valid; please try again.");
</SCRIPT>
<%
if (loggedIn == true)
// Go to main page...
response.sendRedirect(REDIRECT_PATH);
else
%>
<title>Web Command App Login</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF">
<h2>WebCommand Application Login</h2>
<form METHOD=POST NAME="loginform" ACTION="login.jsp">
<table>
<tr>
<td><b>Username:</b></td>
<td><input type="text" name="username" value=""></td>
</tr>
<tr>
<td><b>Password:</b></td>
<td><input type="password" name="password" value=""></td>
</tr>
<tr>
<td><b>Service Name:</b></td>
<td><input type="text" name="serviceName" value="IfsDefault"></td>
</tr>
<tr>
<td><b>Schema Password:</b></td>
<td& gt;<input type="password" name="schemaPassword" value=""></td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td>
<input type="submit" value="Log in">
</td>
<td>
<input type="reset" value="Reset">
</td>
</tr>
</table>
</form>
</body>
</html>
<% } %>
************************* END WEB COMMAND LOGIN.JSP ******************************
This code has been changed so that it requests the four agruments that are required
to connect to the repository and passes them to the login method on the underlying
bean. Note that we have provided the complete source code to this file in order to
make it simple to deploy the revised version of the code. Simply cut and paste this
code into a new file called login.jsp. Copy the File into the iFS repository folder
/ifs/jsp-bin/ifsdevkit/sampleapps/WebCommandApp
****************************WEBCOMMANDLOGIN.JAVA**********************************
package ifsdevkit.sampleapps.webcommandapp;
import java.util.Locale;
import oracle.ifs.beans.DirectoryUser;
import oracle.ifs.beans.FolderPathResolver;
import oracle.ifs.beans.LibrarySession;
import oracle.ifs.beans.LibraryService;
import oracle.ifs.common.CleartextCredential;
import oracle.ifs.common.ConnectOptions;
import oracle.ifs.common.IfsException;
import oracle.ifs.adk.filesystem.IfsFileSystem;
import oracle.ifs.adk.security.IfsHttpLogin;
import javax.servlet.http.HttpSessionBindingEvent;
* WebCommand application that illustrates the usage of the
* File System API.
* @version 1.0
* @pub
public class WebCommandLogin implements IfsHttpLogin
private LibrarySession m_session; // Session
private FolderPathResolver m_resolver; // Resolver
private IfsFileSystem m_ifs; // File System object
* Default constructor required by the jsp spec for the USEBEAN tag
public WebCommandLogin()
throws IfsException
* Make a connection to iFS
* @pub
public void init(String username, String password, String serviceName,
String schemaPassword)
throws IfsException
LibraryService service = new LibraryService();
CleartextCredential cred = new CleartextCredential(username, password);
ConnectOptions options = new ConnectOptions();
options.setLocale(Locale.getDefault());
options.setServiceName(serviceName);
options.setServicePassword(schemaPassword);
m_session = service.connect(cred, options);
m_resolver = new FolderPathResolver(m_session);
m_resolver.setRootFolder();
m_ifs = new IfsFileSystem(m_session);
DirectoryUser user = (DirectoryUser) m_session.getDirectoryUser();
if (user.isAdminEnabled())
m_session.setAdministrationMode(true);
* Use the existing connection.
* The default constructor does not set the necessary fields.
* @pub
public void init(LibrarySession session, FolderPathResolver resolver)
throws IfsException
m_session = session;
m_resolver = resolver;
m_ifs = new IfsFileSystem(m_session);
* Return the login's session
* @pub
public LibrarySession getSession()
return m_session;
* Return the login's path resolver
* @pub
public FolderPathResolver getResolver()
return m_resolver;
* Return the IfsFileSystem API object
* @pub
public IfsFileSystem getIfsFileSystem()
return m_ifs;
* Implementation of valueBound
* @pub
public void valueBound(HttpSessionBindingEvent e)
* Implementation of valueUnbound
* @pub
public void valueUnbound(HttpSessionBindingEvent e)
try
m_session.disconnect();
catch (IfsException ie)
************************* END WEBCOMMANDLOGIN.JAVA *******************************
This code has been changed so that it accepts the four agruments that are required
to connect to the repository and uses them to connect to the repository. Note that
we have provided the comple te source code to this file in order to make it simple
to deploy the revised version of the code. Simply cut and paste this code into a
new file called WebCommandLogin.java in the directory
$ORACLE_HOME/ifs/ifsdevkit/sampleapps/webcommandapp/
Compile the java class.
Copy the classfile to $ORACLE_HOME/ifs/custom_classes/ifsdevkit/sampleapps/webcommandapp/
Stop and Start all of the protocol servers.
This issue will be resolved on the next drop of the Oracle Internet File System
development kit.
#3. Making the BaseRendererClass available to the Protocol Servers
Note this step is not required if you have the 1.0.8.3 patch set installed.
Install the BaseRenderer Class. The BaseRenderer class is delivered in the jar file
ifsdevkit.jar and can be used to simplify the task of creating a custom renderer.
Unfortunately the jar file containing this class is not referenced in any of the Classpaths
used by the iFS protocol servers. This means that they will not be able to load any
customer renderers that extend BaseRenderer. In order to make BaseRenderer available
to the Protocol Servers it need to be placed in the appropriate directory under
<ORACLE_HOME>/ifs/custom_classes.
Extract the class from the ifsdevkit.jar.
ifsdevkit.jar is located in <ORACLE_HOME>/ifs/lib after the devkit has been installed.
jar -xvf ifsdevkit.jar
extracted: META-INF/MANIFEST.MF
extracted: BaseRenderer.class
Create the following directory heirachy in <ORACLE_HOME>/ifs/custom classes
oracle/ifs/server/renderers
Copy <ORACLE_HOME>/ifs/lib/BaseRenderer.class to
<ORACLE_HOME/ifs/custom_classes/oracle/ifs/server/renderers
That should do it.
Regards
Mark D. Drake
nullMoving to Top
-
Issue using the Eclipse report designer with Derby Client JDBC Driver
All I am trying to do is add a table to a blank report using the Crystal reports Eclipse plugin. The database is connected successfully in Eclipse using the Derby Client JDBC Driver, but when I try to drag a table from the database over to my blank report, I get the following error:
<br />
<br />
<br />
com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Could not Add Object.
java.lang.ExceptionInInitializerError---- Error code:-2147215362 Error code name:unknownError
at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwReportSDKException(ReportSDKException.java:65)
at com.businessobjects.crystalreports.designer.core.commands.ReportCommand.throwExecFailure(ReportCommand.java:253)
at com.businessobjects.crystalreports.designer.core.commands.ReportCommand.internalDoCommand(ReportCommand.java:126)
at com.businessobjects.crystalreports.designer.core.commands.ReportCommand.execute(ReportCommand.java:237)
at com.businessobjects.crystalreports.designer.uibase.gef.commands.CoreCommand.execute(CoreCommand.java:70)
at com.businessobjects.crystalreports.designer.dseintegration.DSEDropHandler.drop(DSEDropHandler.java:114)
at org.eclipse.jface.util.DelegatingDropAdapter$3.run(DelegatingDropAdapter.java:211)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
at org.eclipse.jface.util.DelegatingDropAdapter.drop(DelegatingDropAdapter.java:209)
at org.eclipse.swt.dnd.DNDListener.handleEvent(DNDListener.java:90)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1062)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:774)
at org.eclipse.swt.dnd.DropTarget.Drop(DropTarget.java:456)
at org.eclipse.swt.dnd.DropTarget$3.method6(DropTarget.java:258)
at org.eclipse.swt.internal.ole.win32.COMObject.callback6(COMObject.java:119)
at org.eclipse.swt.internal.ole.win32.COM.DoDragDrop(Native Method)
at org.eclipse.swt.dnd.DragSource.drag(DragSource.java:363)
at org.eclipse.swt.dnd.DragSource.access$0(DragSource.java:289)
at org.eclipse.swt.dnd.DragSource$1.handleEvent(DragSource.java:172)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
Caused by: com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: java.lang.ExceptionInInitializerError---- Error code:-2147467259 Error code name:failed
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:741)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:167)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(SourceFile:529)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(SourceFile:527)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at com.businessobjects.crystalreports.designer.core.util.thread.ExecutorWithIdleProcessing$3.doWork(ExecutorWithIdleProcessing.java:182)
at com.businessobjects.crystalreports.designer.core.util.thread.AbstractCancellableRunnable.run(AbstractCancellableRunnable.java:69)
at com.businessobjects.crystalreports.designer.core.util.thread.PriorityTask.run(PriorityTask.java:75)
at com.businessobjects.crystalreports.designer.core.util.thread.PriorityCompoundCancellableRunnable.runSubtask(PriorityCompoundCancellableRunnable.java:187)
at com.businessobjects.crystalreports.designer.core.util.thread.PriorityProgressAwareRunnable.runSubtask(PriorityProgressAwareRunnable.java:90)
at com.businessobjects.crystalreports.designer.core.util.thread.PriorityCompoundCancellableRunnable.doWork(PriorityCompoundCancellableRunnable.java:144)
at com.businessobjects.crystalreports.designer.core.util.thread.AbstractCancellableRunnable.run(AbstractCancellableRunnable.java:69)
at com.businessobjects.crystalreports.designer.core.util.thread.ExecutorWithIdleProcessing$IdleTask.run(ExecutorWithIdleProcessing.java:320)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ExceptionInInitializerError
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at com.crystaldecisions.reports.queryengine.driverImpl.jdbc.JDBCConnection.do(Unknown Source)
at com.crystaldecisions.reports.queryengine.driverImpl.jdbc.JDBCConnection.Open(Unknown Source)
at com.crystaldecisions.reports.queryengine.JDBConnectionWrapper.Open(SourceFile:123)
at com.crystaldecisions.reports.queryengine.Connection.br(SourceFile:1771)
at com.crystaldecisions.reports.queryengine.Connection.bs(SourceFile:491)
at com.crystaldecisions.reports.queryengine.Connection.t1(SourceFile:2978)
at com.crystaldecisions.reports.queryengine.Table.u7(SourceFile:2403)
at com.crystaldecisions.reports.dataengine.datafoundation.AddDatabaseTableCommand.new(SourceFile:529)
at com.crystaldecisions.reports.common.CommandManager.a(SourceFile:71)
at com.crystaldecisions.reports.common.Document.a(SourceFile:203)
at com.businessobjects.reports.sdk.requesthandler.f.a(SourceFile:175)
at com.businessobjects.reports.sdk.requesthandler.DatabaseRequestHandler.byte(SourceFile:1079)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(SourceFile:1167)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:661)
... 16 more
Caused by: java.lang.SecurityException: sealing violation: package org.apache.derby.impl.store.access.sort is sealed
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$000(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(Unknown Source)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$000(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.getImplementations(Unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.getDefaultImplementations(Unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.runWithState(Unknown Source)
at org.apache.derby.impl.services.monitor.FileMonitor.<init>(Unknown Source)
at org.apache.derby.iapi.services.monitor.Monitor.startMonitor(Unknown Source)
at org.apache.derby.iapi.jdbc.JDBCBoot.boot(Unknown Source)
at org.apache.derby.jdbc.EmbeddedDriver.boot(Unknown Source)
at org.apache.derby.jdbc.EmbeddedDriver.<clinit>(Unknown Source)
... 36 more
<br/>
<br />
<br />
If anyone can help me figure out what I am doing wrong, it would be much appreciated.
Edited by: cehowell on Jan 28, 2011 3:34 PMTed,
When I connect to the Derby database in Eclipse using the embedded driver, I can successfully drag and drop tables to create a report. This driver uses the derby.jar file and has no package sealing violations popping up.
<br/>
<br/>
When specifying a driver for a new derby database in Eclipse, the default Derby client driver expects to use the derbyclient.jar driver file. If I only specify this as the driver file this is the error I get:
<br/>
<br/>
<br/>
<code>
java.lang.ClassNotFoundException: org.apache.derby.jdbc.EmbeddedDriver
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.net.FactoryURLClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at com.businessobjects.crystalreports.designer.dseintegration.DataAccessHelper.setupJRCConfiguration(DataAccessHelper.java:124)
at com.businessobjects.crystalreports.designer.dseintegration.DataAccessHelper.createTable(DataAccessHelper.java:188)
at com.businessobjects.crystalreports.designer.dseintegration.DataAccessHelper.createTable(DataAccessHelper.java:78)
at com.businessobjects.crystalreports.designer.dseintegration.TableCreationFactory.getNewObject(TableCreationFactory.java:116)
at com.businessobjects.crystalreports.designer.dseintegration.DSEDropHandler.drop(DSEDropHandler.java:103)
at org.eclipse.jface.util.DelegatingDropAdapter$3.run(DelegatingDropAdapter.java:211)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
at org.eclipse.jface.util.DelegatingDropAdapter.drop(DelegatingDropAdapter.java:209)
at org.eclipse.swt.dnd.DNDListener.handleEvent(DNDListener.java:90)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1062)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:774)
at org.eclipse.swt.dnd.DropTarget.Drop(DropTarget.java:456)
at org.eclipse.swt.dnd.DropTarget$3.method6(DropTarget.java:258)
at org.eclipse.swt.internal.ole.win32.COMObject.callback6(COMObject.java:119)
at org.eclipse.swt.internal.ole.win32.COM.DoDragDrop(Native Method)
at org.eclipse.swt.dnd.DragSource.drag(DragSource.java:363)
at org.eclipse.swt.dnd.DragSource.access$0(DragSource.java:289)
at org.eclipse.swt.dnd.DragSource$1.handleEvent(DragSource.java:172)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
</code>
<br/>
<br/>
<br/>
and:
<br/>
<br/>
<br/>
<code>
com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Could not Add Object.
Unexpected database connector error---- Error code:-2147215362 Error code name:unknownError
at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwReportSDKException(ReportSDKException.java:65)
at com.businessobjects.crystalreports.designer.core.commands.ReportCommand.throwExecFailure(ReportCommand.java:253)
at com.businessobjects.crystalreports.designer.core.commands.ReportCommand.internalDoCommand(ReportCommand.java:126)
at com.businessobjects.crystalreports.designer.core.commands.ReportCommand.execute(ReportCommand.java:237)
at com.businessobjects.crystalreports.designer.uibase.gef.commands.CoreCommand.execute(CoreCommand.java:70)
at com.businessobjects.crystalreports.designer.dseintegration.DSEDropHandler.drop(DSEDropHandler.java:114)
at org.eclipse.jface.util.DelegatingDropAdapter$3.run(DelegatingDropAdapter.java:211)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
at org.eclipse.jface.util.DelegatingDropAdapter.drop(DelegatingDropAdapter.java:209)
at org.eclipse.swt.dnd.DNDListener.handleEvent(DNDListener.java:90)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1062)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:774)
at org.eclipse.swt.dnd.DropTarget.Drop(DropTarget.java:456)
at org.eclipse.swt.dnd.DropTarget$3.method6(DropTarget.java:258)
at org.eclipse.swt.internal.ole.win32.COMObject.callback6(COMObject.java:119)
at org.eclipse.swt.internal.ole.win32.COM.DoDragDrop(Native Method)
at org.eclipse.swt.dnd.DragSource.drag(DragSource.java:363)
at org.eclipse.swt.dnd.DragSource.access$0(DragSource.java:289)
at org.eclipse.swt.dnd.DragSource$1.handleEvent(DragSource.java:172)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
Caused by: com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Unexpected database connector error---- Error code:-2147467259 Error code name:failed
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:2285)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:2305)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:737)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:167)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(SourceFile:529)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(SourceFile:527)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at com.businessobjects.crystalreports.designer.core.util.thread.ExecutorWithIdleProcessing$3.doWork(ExecutorWithIdleProcessing.java:182)
at com.businessobjects.crystalreports.designer.core.util.thread.AbstractCancellableRunnable.run(AbstractCancellableRunnable.java:69)
at com.businessobjects.crystalreports.designer.core.util.thread.PriorityTask.run(PriorityTask.java:75)
at com.businessobjects.crystalreports.designer.core.util.thread.PriorityCompoundCancellableRunnable.runSubtask(PriorityCompoundCancellableRunnable.java:187)
at com.businessobjects.crystalreports.designer.core.util.thread.PriorityProgressAwareRunnable.runSubtask(PriorityProgressAwareRunnable.java:90)
at com.businessobjects.crystalreports.designer.core.util.thread.PriorityCompoundCancellableRunnable.doWork(PriorityCompoundCancellableRunnable.java:144)
at com.businessobjects.crystalreports.designer.core.util.thread.AbstractCancellableRunnable.run(AbstractCancellableRunnable.java:69)
at com.businessobjects.crystalreports.designer.core.util.thread.ExecutorWithIdleProcessing$IdleTask.run(ExecutorWithIdleProcessing.java:320)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: com.crystaldecisions.reports.common.QueryEngineException: Unexpected database connector error
at com.crystaldecisions.reports.queryengine.Connection.a(SourceFile:1861)
at com.crystaldecisions.reports.queryengine.Connection.br(SourceFile:1800)
at com.crystaldecisions.reports.queryengine.Connection.bs(SourceFile:491)
at com.crystaldecisions.reports.queryengine.Connection.t1(SourceFile:2978)
at com.crystaldecisions.reports.queryengine.Table.u7(SourceFile:2403)
at com.crystaldecisions.reports.dataengine.datafoundation.AddDatabaseTableCommand.new(SourceFile:529)
at com.crystaldecisions.reports.common.CommandManager.a(SourceFile:71)
at com.crystaldecisions.reports.common.Document.a(SourceFile:203)
at com.businessobjects.reports.sdk.requesthandler.f.a(SourceFile:175)
at com.businessobjects.reports.sdk.requesthandler.DatabaseRequestHandler.byte(SourceFile:1079)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(SourceFile:1167)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:661)
... 16 more
Caused by: com.businessobjects.reports.jdbinterface.common.DBException: Unexpected database connector error
at com.crystaldecisions.reports.queryengine.driverImpl.jdbc.JDBCConnection.Open(Unknown Source)
at com.crystaldecisions.reports.queryengine.JDBConnectionWrapper.Open(SourceFile:123)
at com.crystaldecisions.reports.queryengine.Connection.br(SourceFile:1771)
... 26 more
</code>
<br/>
<br/>
<br/>
The error I initially posted resulted after I added the derby.jar as a driver file in addition to the derbyclient.jar, which I don't think is supposed to be done now that I am thinking about it, but I did it because of the class not found exception above. Is this perhaps simply a bug that it is trying to utilize the derby.jar embedded driver when the client driver should be used instead? Or am I doing something wrong myself?
<br/>
<br/>
Thank you for your help. -
Using the Eclipse QuickDiff on a custom project-nature
Hi!
I'm rather new to the eclipse-plug-in development, and I'm currently trying to implement a refactoring for my own project nature.
It should be similar to the refactoring in the Java-Editor, but I don't know how to invoke (and extend) the Eclipse QuickDiff viewer programmatically (not with a user action).
Has anybody done something similar yet and can provide me with some hints or links for the start?
What classes do I have to look for, and how do I use them?
thanks in advanceHi Ariel71,
Could you please upload your sample MEF project in
OneDrive and share the link so that I can easily reproduce your problem?
Thanks very much!
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.
Maybe you are looking for
-
Provide syntax with multiple infotypes?
Hi, If i take one infotype data we are taking like this... PROVIDE * FROM P0002 BETWEEN PN-BEGDA AND PN-ENDDA. WRITE: P0002-PERNR, P0002-NACHN, P0002-VORNA. ENDPROVIDE. But i want multiple infotypes data like 0000,0006,0008....?Give me the syntax of
-
Material reservation on internal order
hello gurus, one question: I posted reservation with goods movment 261(GI to Int.order) with assignemnt to internal order. Now when I check KOB2 (commitment) I cannot see this posting. Is it normal behaviour? thank you
-
I can't open print to go ??
Wrong Parameters To use Print To Go, you must open an application, then select Print To Go as your printer. "can anyone tell me how to solve this problem" website addres Mohammed Alhajjaj
-
Extending a loop length in a simple way
Hi guys and I'll start my first post by thanking you all for all the posts on here, I find this very helpful and use the forum search function a lot to increase my knowledge. But to the point. I work with short seamless loops of around 10seconds or s
-
Compact flash reader..
hey all.. i'm looking for a nice looking compact flash reader for my new imac.. i'm looking for something like this http://www.newegg.com/Product/Product.asp?Item=N82E16820301005 just a little more 'stylish' anyone know of anything? thanks in advance