PeopleSoft XMLP and Query problem
Hello, I have defined a query to fetch multiple rows for an XMLP report, I also have define Burst field on XMLP report, I have written App. Engine to run this XMLP report. When I run app. eng. program I only get 1 row, instead of multiple rows. When I run query by itself I get all the rows.
I have also tried changing my app. engine and query to run app. engine and passing parameter to be accepted by query, I have defined BURST field on XMLP report, but I get multiple reports instead of One report bursted on specified field. Any help.
try pacman -Qo `which kopete` to see which package owns kopete or pacman -Ql packagename to list all the files of a package... pacman -Q --help for help
Similar Messages
-
Search results web part, path and query problem
Hi
I am updating a search web part and I want to show results from a specific site, I m using "path" to filter results, results are being returned correctly but now query I type in search is getting ignored. for example if I type "zxcvbn" I
still get all results from that specific site. If I remove "path" filter I see proper results.
Can I edit web part query to include "path" and "query" I type in search box?Hi Shafaqat,
Thanks for sharing the solution which will benefit others who have the same issue.
Thanks
Daniel Yang
TechNet Community Support -
Date range query problem in report
Hi all,
I have created a report based on query and i want to put date range selection but query giving problem.
If i am creating select list selection then it is working fine means it will display all records on the particular date.
But what i need is that user will enter date range as creation_date1,creation_date2 and query should return all the records between these date range. i want to pass it by creating items, i created two items and passing creation_date range to display all records but not displaying and if not passing date then should take null as default and display all records
Here is the query:
/* Formatted on 2006/12/10 20:01 (Formatter Plus v4.8.0) */
SELECT tsh."SR_HEADER_ID", tsh."SALES_DEPT_NUMBER", tsh."COUNTRY",
tsh."LOCAL_REPORT_NUMBER", tsh."ISSUE_DATE", tsh."SUBJECT",
tsh."MACHINE_SERIAL_NUMBER", tsh."MACHINE_TYPE", tsh."MACHINE_HOURS",
tsh."STATUS"
FROM "TRX_SR_HEADERS" tsh, "TRX_SR_PARTS" tsp
WHERE (tsh.status LIKE :p23_status_sp OR tsh.status IS NULL)
AND (tsh.machine_type LIKE :p23_machine_type_sp)
AND ( tsh.machine_serial_number LIKE
TO_CHAR (:p23_machine_serial_number_sp)
OR tsh.machine_serial_number IS NULL
AND ( TO_CHAR (tsh.failure_date, 'DD-MON-YY') LIKE
TO_CHAR (:p23_failure_date_sp)
OR TO_CHAR (tsh.failure_date, 'DD-MON-YY') IS NULL
AND ( TO_CHAR (tsh.creation_date, 'DD-MON-YY')
BETWEEN TO_CHAR (:p23_creation_date_sp)
AND TO_CHAR (:p23_creation_date_sp1)
OR TO_CHAR (tsh.creation_date, 'DD-MON-YY') IS NULL
AND (tsh.issue_date LIKE :p23_date_of_issue_sp OR tsh.issue_date IS NULL)
AND (tsh.country LIKE :p23_country_sp OR tsh.country IS NULL)
AND ( tsh.local_report_number LIKE TO_CHAR (:p23_local_rep_num_sp)
OR tsh.local_report_number IS NULL
AND ( tsp.part_number LIKE TO_CHAR (:p23_part_number_sp)
OR tsp.part_number IS NULL
AND tsh.machine_type IN (
SELECT DISTINCT machine_type
FROM trx_sales_dept_machine_list
WHERE sales_department_id IN (
SELECT DISTINCT sales_department_id
FROM trx_user_sales_department
WHERE UPPER (user_name) =
UPPER ('&APP_USER.'))
AND SYSDATE >= valid_from)
AND tsh.sr_header_id = tsp.sr_header_id
can any one tell me wat is wroung in this query.
Any other way to write this?
Thank You,
AmitHi User....
Here is some date range SQL that my teams uses with some success:
For date columns that do not contain NULL values, try this (note the TRUNC, it might help with your "today" problem).
The hard coded dates allow users to leave the FROM and TO dates blank and still get sensible results (ie a blank TO date field asks for all dates in the future.
AND TRUNC(DATE_IN_DATABASE)
BETWEEN
decode( :P1_DATE_FROM,
TO_DATE('01-JAN-1900'),
:P1_DATE_FROM)
AND
decode( :P1_DATE_TO,
TO_DATE('31-DEC-3000'),:
:P1_DATE_TO)
For date columns that contain NULL values, try this (a little bit trickier):
AND nvl(TRUNC(DATE_IN_DATABASE),
decode( :P1_DATE_FROM,
decode( :P1_DATE_TO,
TO_DATE('30-DEC-3000'),
NULL),
NULL)
BETWEEN
decode( :P1_DATE_FROM,
TO_DATE('01-JAN-1900'),
:P1_DATE_FROM)
AND
decode( :P1_DATE_TO,
TO_DATE('31-DEC-3000'),
:P1_DATE_TO)
Note the 30-DEC-3000 versus 31-DEC-3000. This trick returns the NULL dates when the FROM and TO date range items are both blank.
I hope this helps.
By the way, does anyone have a better way of doing this? The requirement is given a date column in a database and a FROM and a TO date item on a page,
find all of the dates in the database between the FROM and TO dates. If the FROM date is blank, assume the user want all dates in the past (excluding NULL dates). If the TO date is blank, assume that the user wants all of the dates in the future (excluding NULL dates). If both FROM and TO dates are blank, return all of the dates in the databse (including NULL dates).
Cheers,
Patrick -
Delete WorkBook and Query file from Server .
Dear All Experts .
I dun know i posted in correct places or not .. (correct me if i m wrong) .. i want to ask about the BW Workbook and query.
How we going to remove the remove the workbook or query files from Server ? bc i tried to delete from Analyzer(excel 2007), the file is deleted from the view , but havent delete from the server... So how i going to remove the file from server ?
Thank.Hello I have the same problem. Can you please tell me how you finaly manage to delete the workbook.
thank's you for advance,
Akiba -
Urgent! How to insert into and query video from database in forms???
In forms 6i demos CD, There is a demo form ocxvideo.fmb,
but it just for video in file system.
I want to read *.avi file from file system, and insert into
database, and query from my forms.
I create table with long raw, with default forms wizard,
long raw for [image] item in forms.
I change item type to ActiveX ,and right_click mouse
==>[Insert object]==>Oracle Veideo control.
still can not insert avi data into database and query from my forms.
Please give me some advice to solve this problem?
Thank you very much!
Ming-An
[email protected]In forms 6i demos CD, There is a demo form ocxvideo.fmb,
but it just for video in file system.
I want to read *.avi file from file system, and insert into
database, and query from my forms.
I create table with long raw, with default forms wizard,
long raw for [image] item in forms.
I change item type to ActiveX ,and right_click mouse
==>[Insert object]==>Oracle Veideo control.
still can not insert avi data into database and query from my forms.
Please give me some advice to solve this problem?
Thank you very much!
Ming-An
[email protected] -
Query problem(solved)
hi frs,
i want to display work_location and office_location in a report.which is in table
HR_LOCATIONS_ALL
Which has two location_id
work location : location_id from per_all_assignments_f &
office location: location_id from hr_all_organization_units
how to get both i a have attached the query what i have created but not getting correct values
Thanks
Rajesh
Message was edited by:
Rajesh.mani
Message was edited by:
Rajesh.maniWhat Sarma is basically implying is that we do not care if your problem is an urgent one.. as we, the forum, do not get paid to solve problems here. Forum members assist people in their free time. So why should we care if your problem is urgent? You are in no position to demand a quick response from us.
Also, by saying that your problem is urgent, you are also saying that other people who have posted problems here, have less urgent and important problems than you. That you and your problem are special and more important than anyone else in this forum.
Neither of these are acceptable - which is why using the word "urgent" in a posting to a public forum staffed by volunteers, is not acceptable. -
Dear Professionals:
The insert and query become very slow and somtimes hang. It wasn't like this before .. Network people added 100 pc to the network .. most of them not using the databse only internet and we are all in the same network .. Can this slow down the database Oracle 9.2.0.1.0 OS w2k server ? And how to know that the slowness is from network and not from query or inserts ?
Ahmed.Hi,
>>Network people added 100 pc to the network .. most of them not using the databse only internet. Can this slow down the database Oracle 9.2.0.1.0 OS w2k server ?
Maybe yes, maybe not, maybe a network performance problem ...
If you try to execute these DML's (insert, ...) and querys directly on the Server, what's happen ?
Cheers -
Duplicate Queries and Query Components in BI Production Box
Hi:
We have a situation where we have duplicate queries and query components in our Production BI box.
The problem was caused by transports. We have a development landscape and a support landscape where both are transporting separately up to the BI Production Box.
For example, query ABC was created in the development landscape and transported up to our production box.
The same query ABC was created in our support landscape and transported up to our production box.
Now in the production box we have 2 queries ABC with the same technical name and description but with different active ELTUIDs.
We have found the program ANALYZE_RSZ_TABLES and it does show us this problem in our production box with many queries and query components.
The question is how do we get rid of the duplicate ELTUIDs in our Production box and how do we stop this from happening during transport?
any suggestions would be helpful.Hi JC,
I think you can use Tcode RSZDELETE to delete the duplicate UIDs of elements or any query objects.
Test it in dev box / sandbox before using it in prod.
Thanks -
Urgent: Add another Row feature and Query bean
Hi,
I have added "Add another Row" feature to the result table of a query bean which is results based search. The table is also updateable. I am able to update rows, save, rollback and query another set of records again without any problem.
But, if I add a row, save or rollback those changes and go back and perform a query, it doesn't return any records. What would I be missing?
Thank you.Please ignore this. I figured out.
Thank you -
Lookup-table and query-database do not use global transaction
Hi,
following problem:
DbAdapter inserts data into DB (i.e. an invoice).
Process takes part in global transaction.
After the insert there is a transformation which uses query-database and / or lookup-table.
It seems these XPath / XSLT functions are NOT taking part in the transaction and so we can not access information from the current db transaction.
I know workarounds like using DbAdapter for every query needed, etc. but this will cost a lot of time to change.
Is there any way to share transaction in both DbAdapter insert AND lookup-table and query-database?
Thanks, Best Regards,
MartinOne dba contacted me and made this statement:
Import & export utilities are not independent from characterset. All
user data in text related datatypes is exported using the character set
of the source database. If the character sets of the source and target
databases do not match a single conversion is performed.So far, that does not appear to be correct.
nls_characterset = AL32UTF8
nls_nchar_characterset = UTF8
Running on Windows.
EXP produces a backup in WE8MSWIN1252.
I found that if I change the setting of the NLS_LANG registry setting for my oracle home, the exp utility exports to that character set.
I changed the nls_lang
from AMERICAN_AMERICA.WE8MSWIN1252
to AMERICAN_AMERICA.UTF8
Unfortunately , the export isn't working right, although it did change character sets.
I get a warning on a possible character set conversion issue from AL32UTF8 to UTF8.
Plus, I get an EXP_00056 Oracle error 932 encountered
ORA-00932: inconsistent datatypes: expected BLOB, CLOB, get CHAR.
EXP-00000: export terminated unsuccessfully.
The schema I'm exporting with has exactly one procedure in it. Nothing else.
I guess getting a new error message is progress. :)
Still can't store multi-lingual characters in data tables. -
I can not publish and query services in Registry Server?Help please!
I want to use Registry Server in Jwsdp1.5 to publish and query services,but there is some problems:
2006-4-26 10:05:26 com.sun.registry_server.server.RegistryServerServlet init
����: NamingException: javax.naming.NameNotFoundException: Name org.xml.sax.driver is not bound in this Context
2006-4-26 10:05:27 com.sun.xml.messaging.saaj.soap.MessageImpl identifyContentType
����: SAAJ0537: ������������������������������������ SOAP ����
2006-4-26 10:05:27 com.sun.xml.messaging.saaj.soap.MessageImpl <init>
����: SAAJ0535: ��������������
javax.xml.registry.JAXRException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to internalize message
at com.sun.xml.registry.uddi.RegistryServiceImpl.jaxmSend(Unknown Source)
at com.sun.xml.registry.uddi.RegistryServiceImpl.send(Unknown Source)
at com.sun.xml.registry.uddi.Processor.processRequestJAXB(Unknown Source)
at com.sun.xml.registry.uddi.UDDIMapper.findOrganizations(Unknown Source)
at com.sun.xml.registry.uddi.BusinessQueryManagerImpl.findOrganizations(Unknown Source)
at QueryByName.doPost(QueryByName.java:63)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:535)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:790)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:709)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:572)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:644)
at java.lang.Thread.run(Thread.java:595)
Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to internalize message
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:127)
... 34 more
Caused by: java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to internalize message
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:121)
... 34 more
Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to internalize message
at com.sun.xml.messaging.saaj.soap.MessageImpl.<init>(MessageImpl.java:231)
at com.sun.xml.messaging.saaj.soap.ver1_1.Message1_1Impl.<init>(Message1_1Impl.java:43)
at com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl.createMessage(SOAPMessageFactory1_1Impl.java:32)
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:354)
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run(HttpSOAPConnection.java:150)
... 36 more
Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Invalid Content-Type:text/html. Is this an error message instead of a SOAP response?
at com.sun.xml.messaging.saaj.soap.MessageImpl.identifyContentType(MessageImpl.java:295)
at com.sun.xml.messaging.saaj.soap.MessageImpl.<init>(MessageImpl.java:146)
... 40 more
can you help me?expectiong your advise!thank youI have created my own private registry, I hava installed JWSDP1.5.
I use a .jsp file and a servlet to publish services,the servlet is:
import javax.xml.registry.*;
import javax.xml.registry.infomodel.*;
import java.net.*;
import java.security.*;
import javax.servlet.*;
import javax.servlet.http.*;
import java.io.*;
import java.util.*;
public class Publish extends HttpServlet{
public void doGet(HttpServletRequest request,HttpServletResponse response)
throws ServletException,IOException{
doPost(request,response);
public void doPost(HttpServletRequest request,HttpServletResponse response)throws ServletException,IOException{
String userName=request.getParameter("username");
String authPassword=request.getParameter("password");
Connection connection = null;
RegistryService rs=null;
BusinessLifeCycleManager blcm=null;
BusinessQueryManager bqm = null;
Properties props=new Properties();
props.setProperty("javax.xml.registry.queryManagerURL","http://localhost:8080/RegistryServer");
props.setProperty("javax.xml.registry.lifeCycleManagerURL","http://localhost:8080/RegistryServer");
props.setProperty("javax.xml.registry.factoryClass","com.sun.xml.registry.uddi.ConnectionFactoryImpl");
//props.setProperty("com.sun.xml.registry.http.proxyHost",httpHost);
//props.setProperty("com.sun.xml.registry.http.proxyPort",httpPort);
// props.setProperty("com.sun.xml.registry.https.proxyHost",httpsHost);
// props.setProperty("com.sun.xml.registry.https.proxyPort",httpsPort);
try{
// Create the connection, passing it the
// configuration properties
ConnectionFactory factory =
ConnectionFactory.newInstance();
factory.setProperties(props);
connection=factory.createConnection();
PrintWriter out=response.getWriter();
out.println("<a href=\"/publishapp/publish.jsp\">You can click here to be Back </a>");
out.println("<H3>Created connection to registry</H3>");
rs=connection.getRegistryService();
blcm = rs.getBusinessLifeCycleManager();
bqm = rs.getBusinessQueryManager();
//out.println("Got registry service, query " +"manager, and life cycle manager");
// Get authorization from the registry
PasswordAuthentication passwdAuth =
new PasswordAuthentication(userName,authPassword.toCharArray());
Set creds = new HashSet();
creds.add(passwdAuth);
connection.setCredentials(creds);
out.println("<br>");
out.println("<H3>Established security credentials</H3>");
//receive organization name and description
String orgName=request.getParameter("orgname");
String orgDescription=request.getParameter("orgdescription");
// Create organization name and description
Organization org =
blcm.createOrganization(orgName);
InternationalString s =
blcm.createInternationalString(orgDescription);
org.setDescription(s);
//receive contactor name phone and Email
String contactName=request.getParameter("contactname");
String contactPhone=request.getParameter("contactphone");
String contactEmail=request.getParameter("contactemail");
// Create primary contact, set name
User primaryContact = blcm.createUser();
PersonName pName =
blcm.createPersonName(contactName);
primaryContact.setPersonName(pName);
// Set primary contact phone number
TelephoneNumber tNum = blcm.createTelephoneNumber();
tNum.setNumber(contactPhone);
Collection phoneNums = new ArrayList();
phoneNums.add(tNum);
primaryContact.setTelephoneNumbers(phoneNums);
// Set primary contact email address
EmailAddress emailAddress =blcm.createEmailAddress(contactEmail);
Collection emailAddresses = new ArrayList();
emailAddresses.add(emailAddress);
primaryContact.setEmailAddresses(emailAddresses);
// Set primary contact for organization
org.setPrimaryContact(primaryContact);
String serviceName=request.getParameter("servicename");
String serviceDescription=request.getParameter("servicedescription");
String serviceURL=request.getParameter("serviceurl");
String svcbindDescription=request.getParameter("svcbinddescription");
// Create services and service
Collection services = new ArrayList();
Service service =
blcm.createService(serviceName);
InternationalString is =
blcm.createInternationalString(serviceDescription);
service.setDescription(is);
// Create service bindings
Collection serviceBindings = new ArrayList();
ServiceBinding binding = blcm.createServiceBinding();
is = blcm.createInternationalString(svcbindDescription);
binding.setDescription(is);
// allow us to publish a fictitious URL without an error
binding.setValidateURI(false);
binding.setAccessURI(serviceURL);
serviceBindings.add(binding);
// Add service bindings to service
service.addServiceBindings(serviceBindings);
// Add service to services, then add services to organization
services.add(service);
org.addServices(services);
//receive Classification scheme name and value
String classificationScheme=request.getParameter("classificationscheme");
String classificationName=request.getParameter("classificationname");
String classificationValue=request.getParameter("classificationvalue");
// Set classification scheme to NAICS
ClassificationScheme cScheme =
bqm.findClassificationSchemeByName(null, classificationScheme);
// Create and add classification
Classification classification = blcm.createClassification(cScheme,
classificationName,classificationValue);
Collection classifications = new ArrayList();
classifications.add(classification);
org.addClassifications(classifications);
// Add organization and submit to registry
// Retrieve key if successful
Collection orgs = new ArrayList();
orgs.add(org);
BulkResponse response1 = blcm.saveOrganizations(orgs);
Collection exceptions = response1.getExceptions();
if (exceptions == null) {
out.println("<br>");
out.println("<H3>Service Registering is Sucessful!</H3>");
out.println("<br>");
out.println("<H3>service information saved is</H3>");
out.println("<H3>");
out.println(orgName);
out.println("</H3>");
Collection keys = response1.getCollection();
Iterator keyIter = keys.iterator();
if (keyIter.hasNext()) {
javax.xml.registry.infomodel.Key orgKey =
(javax.xml.registry.infomodel.Key) keyIter.next();
String id = orgKey.getId();
out.println("<H3>service key is </H3>");
out.println("<H3>");
out.println(id);
out.println("</H3>");
} else {
Iterator excIter = exceptions.iterator();
Exception exception = null;
while (excIter.hasNext()) {
exception = (Exception) excIter.next();
System.err.println("Exception on save: " +
exception.toString());
} catch (Exception e) {
e.printStackTrace();}
the exception in the tomcat50-jwsdp/logs:
javax.xml.registry.JAXRException: javax.xml.bind.JAXBException
- with linked exception:
[javax.xml.soap.SOAPException: Unable to create message factory for SOAP: Provider com.sun.xml.messaging.saaj.soap.MessageImpl could not be instantiated: java.lang.IllegalAccessException: Class javax.xml.soap.FactoryFinder can not access a member of class com.sun.xml.messaging.saaj.soap.MessageImpl with modifiers "protected"]
at com.sun.xml.registry.uddi.Processor.processRequestJAXB(Unknown Source)
at com.sun.xml.registry.uddi.UDDIMapper.getAuthorizationToken(Unknown Source)
at com.sun.xml.registry.uddi.ConnectionImpl.setCredentials(Unknown Source)
at Publish.doPost(Publish.java:66)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:535)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:790)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:709)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:572)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:644)
at java.lang.Thread.run(Thread.java:595)
Caused by: javax.xml.bind.JAXBException
- with linked exception:
[javax.xml.soap.SOAPException: Unable to create message factory for SOAP: Provider com.sun.xml.messaging.saaj.soap.MessageImpl could not be instantiated: java.lang.IllegalAccessException: Class javax.xml.soap.FactoryFinder can not access a member of class com.sun.xml.messaging.saaj.soap.MessageImpl with modifiers "protected"]
at com.sun.xml.registry.common.util.MarshallerUtil.jaxbMarshalObject(Unknown Source)
... 32 more
expecting yours advise, thanks!! -
SQL+-MULTI TABLE QUERY PROBLEM
HAI ALL,
ANY SUGGESTION PLEASE?
SUB: SQL+-MULTI TABLE QUERY PROBLEM
SQL+ QUERY GIVEN:
SELECT PATIENT_NUM, PATIENT_NAME, HMTLY_TEST_NAME, HMTLY_RBC_VALUE,
HMTLY_RBC_NORMAL_VALUE, DLC_TEST_NAME, DLC_POLYMORPHS_VALUE,
DLC_POLYMORPHS_NORMAL_VALUE FROM PATIENTS_MASTER1, HAEMATOLOGY1,
DIFFERENTIAL_LEUCOCYTE_COUNT1
WHERE PATIENT_NUM = HMTLY_PATIENT_NUM AND PATIENT_NUM = DLC_PATIENT_NUM AND PATIENT_NUM
= &PATIENT_NUM;
RESULT GOT:
&PATIENT_NUM =1
no rows selected
&PATIENT_NUM=2
no rows selected
&PATIENT_NUM=3
PATIENT_NUM 3
PATIENT_NAME KKKK
HMTLY_TEST_NAME HAEMATOLOGY
HMTLY_RBC_VALUE 4
HMTLY_RBC_NORMAL 4.6-6.0
DLC_TEST_NAME DIFFERENTIAL LEUCOCYTE COUNT
DLC_POLYMORPHS_VALUE 60
DLC_POLYMORPHS_NORMAL_VALUE 40-65
ACTUAL WILL BE:
&PATIENT_NUM=1
PATIENT_NUM 1
PATIENT_NAME BBBB
HMTLY_TEST_NAME HAEMATOLOGY
HMTLY_RBC_VALUE 5
HMTLY_RBC_NORMAL 4.6-6.0
&PATIENT_NUM=2
PATIENT_NUM 2
PATIENT_NAME GGGG
DLC_TEST_NAME DIFFERENTIAL LEUCOCYTE COUNT
DLC_POLYMORPHS_VALUE 42
DLC_POLYMORPHS_NORMAL_VALUE 40-65
&PATIENT_NUM=3
PATIENT_NUM 3
PATIENT_NAME KKKK
HMTLY_TEST_NAME HAEMATOLOGY
HMTLY_RBC_VALUE 4
HMTLY_RBC_NORMAL 4.6-6.0
DLC_TEST_NAME DIFFERENTIAL LEUCOCYTE COUNT
DLC_POLYMORPHS_VALUE 60
DLC_POLYMORPHS_NORMAL_VALUE 40-65
4 TABLES FOR CLINICAL LAB FOR INPUT DATA AND GET REPORT ONLY FOR TESTS MADE FOR PARTICULAR
PATIENT.
TABLE1:PATIENTS_MASTER1
COLUMNS:PATIENT_NUM, PATIENT_NAME,
VALUES:
PATIENT_NUM
1
2
3
4
PATIENT_NAME
BBBB
GGGG
KKKK
PPPP
TABLE2:TESTS_MASTER1
COLUMNS:TEST_NUM, TEST_NAME
VALUES:
TEST_NUM
1
2
TEST_NAME
HAEMATOLOGY
DIFFERENTIAL LEUCOCYTE COUNT
TABLE3:HAEMATOLOGY1
COLUMNS:
HMTLY_NUM,HMTLY_PATIENT_NUM,HMTLY_TEST_NAME,HMTLY_RBC_VALUE,HMTLY_RBC_NORMAL_VALUE
VALUES:
HMTLY_NUM
1
2
HMTLY_PATIENT_NUM
1
3
MTLY_TEST_NAME
HAEMATOLOGY
HAEMATOLOGY
HMTLY_RBC_VALUE
5
4
HMTLY_RBC_NORMAL_VALUE
4.6-6.0
4.6-6.0
TABLE4:DIFFERENTIAL_LEUCOCYTE_COUNT1
COLUMNS:DLC_NUM,DLC_PATIENT_NUM,DLC_TEST_NAME,DLC_POLYMORPHS_VALUE,DLC_POLYMORPHS_
NORMAL_VALUE,
VALUES:
DLC_NUM
1
2
DLC_PATIENT_NUM
2
3
DLC_TEST_NAME
DIFFERENTIAL LEUCOCYTE COUNT
DIFFERENTIAL LEUCOCYTE COUNT
DLC_POLYMORPHS_VALUE
42
60
DLC_POLYMORPHS_NORMAL_VALUE
40-65
40-65
THANKS
RCS
E-MAIL:[email protected]
--------I think you want an OUTER JOIN
SELECT PATIENT_NUM, PATIENT_NAME, HMTLY_TEST_NAME, HMTLY_RBC_VALUE,
HMTLY_RBC_NORMAL_VALUE, DLC_TEST_NAME, DLC_POLYMORPHS_VALUE,
DLC_POLYMORPHS_NORMAL_VALUE
FROM PATIENTS_MASTER1, HAEMATOLOGY1, DIFFERENTIAL_LEUCOCYTE_COUNT1
WHERE PATIENT_NUM = HMTLY_PATIENT_NUM (+)
AND PATIENT_NUM = DLC_PATIENT_NUM (+)
AND PATIENT_NUM = &PATIENT_NUM;Edited by: shoblock on Nov 5, 2008 12:17 PM
outer join marks became stupid emoticons or something. attempting to fix -
Hi all,
I have some problem of retrieving sql from two table using Hierachy Query.
Below is two table and excepted table and my query.
I cannot be think how to join and query to get result_table
Please kindly repair and guid me. Thank.
table_1
DATA_DT_ID MKT_TYPE_IND DATA_DT CONS_WGT INDEX_ID INDEX_CODE CONS_CODE
20060331 1 31/03/2006 1 -1002 IDX_1B -1
20060331 2 31/03/2006 1 -1002 IDX_1B -1
20060331 1 31/03/2006 0.7 -1001 IDX_1A -2
20060331 2 31/03/2006 0.7 -1001 IDX_1A -2
20060331 1 31/03/2006 0.3 -1001 IDX_1A -1
20060331 2 31/03/2006 0.3 -1001 IDX_1A -1
20060401 1 01/04/2006 1 -1003 IDX_1C -2
20060402 1 02/04/2006 1 -1003 IDX_1C -2
20060401 2 01/04/2006 1 -1003 IDX_1C -2
20060402 2 02/04/2006 1 -1003 IDX_1C -2
20060401 1 01/04/2006 1 -1002 IDX_1B -1
20060402 1 02/04/2006 1 -1002 IDX_1B -1
20060401 2 01/04/2006 1 -1002 IDX_1B -1
20060402 2 02/04/2006 1 -1002 IDX_1B -1
20060401 1 01/04/2006 0.7 -1001 IDX_1A -2
20060402 1 02/04/2006 0.7 -1001 IDX_1A -2
20060401 2 01/04/2006 0.7 -1001 IDX_1A -2
20060402 2 02/04/2006 0.7 -1001 IDX_1A -2
20060401 1 01/04/2006 0.3 -1001 IDX_1A -1
20060402 1 02/04/2006 0.3 -1001 IDX_1A -1
20060401 2 01/04/2006 0.3 -1001 IDX_1A -1
20060402 2 02/04/2006 0.3 -1001 IDX_1A -1
table_2
DATA_DT CHILD_INDEX_WGT MKT_TYPE_IND INDEX_ID CHILD_INDEX_ID INDEX_CODE CHILD_INDEX_CODE
31/03/2006 0.3 2 -3001 -1001 IDX_3A IDX_1A
31/03/2006 0.7 2 -3001 -1002 IDX_3A IDX_1B
31/03/2006 0.2 2 -3002 -1001 IDX_3B IDX_1A
31/03/2006 0.8 2 -3002 -1003 IDX_3B IDX_1C
31/03/2006 0.5 2 -3003 -3001 IDX_3C IDX_3A
01/04/2006 0.3 2 -3001 -1001 IDX_3A IDX_1A
01/04/2006 0.7 2 -3001 -1002 IDX_3A IDX_1B
01/04/2006 0.2 2 -3002 -1001 IDX_3B IDX_1A
01/04/2006 0.8 2 -3002 -1003 IDX_3B IDX_1C
01/04/2006 0.5 2 -3003 -3001 IDX_3C IDX_3A
01/04/2006 0.5 2 -3003 -3002 IDX_3C IDX_3B
Result_table
DATA_DT INDEX_CODE CHILD_INDEX_CODE CONS_CODE MKT_TYPE_IND BLENDED_WGT
31/03/2006 IDX_3C IDX_1B -1 2 5*.7*1
31/03/2006 IDX_3A IDX_1B -1 2 7*1
31/03/2006 IDX_3C IDX_1A -2 2 5*.3*.7
31/03/2006 IDX_3A IDX_1A -2 2 3*.7
31/03/2006 IDX_3C IDX_1A -1 2 5*.3*.3
31/03/2006 IDX_3A IDX_1A -1 2 3*.3
01/04/2006 IDX_3C IDX_1C -2 2 5*.8*1
01/04/2006 IDX_3B IDX_1C -2 2 8*1
01/04/2006 IDX_3C IDX_1B -1 2 5*.7*1
01/04/2006 IDX_3A IDX_1B -1 2 7*1
01/04/2006 IDX_3C IDX_1A -2 2 5*.2*.7
01/04/2006 IDX_3C IDX_1A -2 2 5*.3*.7
01/04/2006 IDX_3B IDX_1A -2 2 2*.7
01/04/2006 IDX_3A IDX_1A -2 2 3*.7
01/04/2006 IDX_3C IDX_1A -1 2 5*.2*.3
01/04/2006 IDX_3C IDX_1A -1 2 5*.3*.3
01/04/2006 IDX_3B IDX_1A -1 2 2*.3
01/04/2006 IDX_3A IDX_1A -1 2 3*.3with m_que as
select distinct wei.data_dt,wei.index_code, wei.child_index_code, con.index_code child_child_index,
wei.child_index_wgt, con.cons_wgt child_child_wgt,con.cons_code, con.mkt_type_ind
from table_1 wei
join table_2 con on wei.data_dt = con.data_dt
where con.index_code < wei.child_index_code
i_que as
select data_dt, index_code, child_index_code, cons_code, mkt_type_ind,
substr(SYS_CONNECT_BY_PATH(gs_child_index_wgt, '*'),3) BLENDED_WGT
from (m_que)
start with index_code = 'IDX_3C'
connect by prior child_index_code = index_code
select data_dt,index_code,child_index_code,cons_code,mkt_type_ind,BLENDED_WGT from i_que;Hi,
Thank for your suggestion, but it is not work, when i put my query the result is nothing display.
Another problem is i_que portion
SYS_CONNECT_BY_PATH() can only retrieve BLENDED_WGT level is only 2nd level. Actual Result_table of BLENDED_WGT display 3rd level.
I doubt is because of main select portion or all my query is wrong.
Thanks -
First day with java: and first problem
Hi friends,
may be i'm hurrying a bit. But i really don't have time. I'm a PHP programmer , trying to shift to java, and i have one week to learn core java, j2ee and blah blah! And here i'm with a confusion.
When i tried implementing servlet , i didn't get any output:
public void init(ServletConfig config) throws ServletException {
System.out.println("init");
but when i tried extending httpServlet , that worked.
whats the problem?
and will be happy to get a few tips.
Thanks.Your best bet would be to get someone with years of java experience at your side and have him set up your environment and will stand by when you get stuck. There is a LOT to learn that will take far far longer than one week to learn (more like years to get any good). Its a totally unrealistic expectation.
Here's a rundown for a quick start:
* Download and install JDK
* Download and install Eclipse Ganymede IDE
* Download and install Tomcat
* Download and install Tomcat plugin for Eclipse
* Build a hello world JSP page and run it in tomcat
* Build a hello world Servlet and run it in tomcat
* Install a free database such as Oracle Lite or MySql.
* learn how to use the database's free utility to create database tables and grant permission to read/write to them.
* Learn JDBC and get your program to connect to the database and query it.
* Learn MVC design -
Question
I am not able to launch FF everytime i try to open it, it says FF has to submit a crash report,and restore yr tabs. I even tried doing that and the report was submitted too, but still FF did not start, and the problem still persists, please help me solve this issue
'''(in English)'''Hi Danny,
Per my understanding that you can't get the expect result by using the expression "=Count(Fields!TICKET_STATUS.Value=4) " to count the the TICKET_STATUS which value is 4, the result will returns the count of all the TICKET_STATUS values(206)
but not 180, right?
I have tested on my local environment and can reproduce the issue, the issue caused by you are using the count() function in the incorrect way, please modify the expression as below and have a test:
=COUNT(IIF(Fields!TICKET_STATUS.Value=4 ,1,Nothing))
or
=SUM(IIF(Fields!TICKET_STATUS=4,1,0))
If you still have any problem, please feel free to ask.
Regards,
Vicky Liu
Vicky Liu
TechNet Community Support
Maybe you are looking for
-
IN BANK WEBSITE TAX PAID PAGES SAVED IN MY COMPUTER AS .HTM file format since yesterday firefox, chrome opened this files perfectly. yet today i have not open this type of files. open the .htm file firefox opened in home page only.
-
Ipad 2 will not charge and keeps trying to re-start
Ran the battery all the way down on the Ipad 2 and now it wont recharge. I get the emptry charge Icon, the apply logo pops up, then I see my background for half a second and it goes to the pinapple loading black screen then the whole procees starts a
-
[X79A-GD45] BETA UEFI Version [E7735IMS.1xx Releases]
E7735IMS.160 ==> E7735IMS.17A 1. Change memory run XMP timing solution when memory frequency is >=1866MHz 2. Auto adjust Voltage when Dram frequency manuel select memory frequency >=1866MHz and XMP is disable. 3. Fix 2 profile XMP Dra
-
Backup & Restore Fail-over Cluster
i ask for the best practice of backup and restore SQL fail-over cluster with Active-Active solution.
-
User setting in srm 7.0
Hi experts , I wan to set the default value in srm 7.0 webdynpro application . if we right click on the UI element User setting-->use current value as default value , this option i want to add for custom fields of webdynpro application . can any on