Exception when request http document?
Hello,
I've successfully started weblogic server 5.1 and replace the default
index.html document to another index.html in public_html directory.
However, everytime I tried to request an index.html by typing http://ip:7001
or http://ip:7001/index.html it still display the weblogic 5.1 server page
and have the following exception:
<E> <HTTP> Connection failure
java.net.SocketException: Socket closed
at java.net.SocketInputStream.socketRead(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:86)
at
weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:209)
at
weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
I'm sure I've replaced the document. If I rename my document to another
name like test.html and request it as http://ip:7001/test.html. It works
fine. Why do I have problem if I replace the index.html (I've never changed
any default setting in weblogic.properties)?
Thanks so much!
Sing
Actualy this call is made. I forgot to include this line of code
in the message. Any other clues?
H.Ozawa (guest) wrote:
: It probably wants:
: parser.setPreserveWhitespace(true);
: Ion Moraru (guest) wrote:
: : Hi all,
: : I am getting an "Whitespace required" exception when I try to
: : parse a XML document. Here is a fragment of the document:
: : <?xml version="1.0"?>
: : <?xml:stylesheet type="text/xsl" href="order.xsl"?>
: : <Order>
: `
: : </Order>
: : Here is the code I am using
: : // parse the input XML file
: : DOMParser parser = new DOMParser();
: : parser.parse(xmlURL); // this line raises exception
: : xml = parser.getDocument();
: : The problem seems to be in the second line. If I remove it
: : everything works fine.
: : I can't understand what's wrong. Isn't the parser supposed to
: : load the line as a processing instruction?
: : Is the parser interpreting it?
: : Please help.
: : TIA,
: : Ion Moraru
: : [email protected]
null
Similar Messages
-
JSession cookie dropping cause DuplicateSessionDetected exception when use https rather than http
I developing Grails+BlazeDS server and Flex AIR client and stucked with this error: Detected duplicate HTTP-based FlexSessions, generally due to the remote host disabling session cookies. Session cookies must be enabled to manage the client connection correctly
Google searches didn't successfully, as I see some difference in situations. The issue I got only when Flex client interact with server via https.
Flex client:
<s:ChannelSet id="userChannel">
<s:SecureAMFChannel uri="https://localhost:8443/Con/messagebroker/amfpolling" />
</s:ChannelSet>
button click in UI triggered login method:
loginResult.token = channelSet.login(usernameInput.text, passwordInput.text);
And finished with DuplicateSessionDetected exception.
After investigating network monitor logs, I found that a jsession cookie received from server not set in next requests to a server:
Response from server (operation: client_ping):
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Set-Cookie: JSESSIONID=F58F1ADA97E70915EF9E6E4EE1AEBE00; Path=/; Secure
Content-Type: application/x-amf
Content-Length: 173
Date: Sun, 23 Feb 2014 10:17:00 GMT
Flex Message (flex.messaging.messages.AcknowledgeMessageExt) clientId = EA18E8B9-951F-6F87-7B47-48B8B202EE75 correlationId = 7D2782C1-C8A5-41A3-2055-5E3F771424C8 destination = null messageId = EA18E8F6-9E0E-1FE4-0D26-6F0E602F5C5E timestamp = 1393150620542 timeToLive = 0 body = null hdr(DSMessagingVersion) = 1.0 hdr(DSId) = EA18E8B9-950B-4B42-EF70-369D656BA3F2
And next request to server (login operation) without jsession cookie:
POST /Conn/messagebroker/amfsecure HTTP/1.1
Referer: app:/BlazeDSClient.swf
Accept: text/xml, application/xml, application/xhtml+xml, text/html;q=0.9, text/plain;q=0.8, text/css, image/png, image/jpeg, image/gif;q=0.8, application/x-shockwave-flash, video/mp4;q=0.9, flv-application/octet-stream;q=0.8, video/x-flv;q=0.7, audio/mp4, application/futuresplash, */*;q=0.5
x-flash-version: 12,0,0,68
Content-Type: application/x-amf
Accept-Encoding: gzip,deflate
User-Agent: Mozilla/5.0 (Windows; U; en) AppleWebKit/533.19.4 (KHTML, like Gecko) AdobeAIR/4.0
Host: localhost
Content-Length: 299
Flex Message (flex.messaging.messages.CommandMessage) operation = login clientId = null destination = auth messageId = 7B47BBF2-08C0-0E41-5D88-5E3F76FA4882 timestamp = 0 timeToLive = 0 ***not printing credentials***
and server answering with new session cookie:
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Set-Cookie: JSESSIONID=03BD8347F9E9511C299B717DD55625C9; Path=/; Secure
Content-Type: application/x-amf
Content-Length: 535
Date: Sun, 23 Feb 2014 10:17:01 GMT
Flex Message (flex.messaging.messages.ErrorMessage) clientId = null correlationId = 7B47BBF2-08C0-0E41-5D88-5E3F76FA4882 destination = auth messageId = EA18F4A7-C80D-103B-F8D0-58B6F148F142 timestamp = 1393150621768 timeToLive = 0 body = null code = Server.Processing.DuplicateSessionDetected message = Detected duplicate HTTP-based FlexSessions, generally due to the remote host disabling session cookies. Session cookies must be enabled to manage the client connection correctly. details = null rootCause = null body = null extendedData = null
And again - when used non-secure protocol everything ok - session cookie sevt to server in login operation as expected.
I have a little experience in Flex development and didn't find any method to set session cookie when triggered channel login request. Could you help to resolve this issue, please?
Thanks.Finnaly resolved it. I meet similar questions in the web, so I hope this solution will be helpfull for somebody.
The cause of DuplicateSessionDetected exception has been a Network Monitor tool of Flash Builder. After switching it off no any exception has been occurred. I think there issues when Monitor acting as proxy when used with secure protocol. -
Java GSS API - Kerberos - Receive timed out when requesting service ticket.
Hi,
I'm following the following exercises about Kerberos/JGSS-API :
http://java.sun.com/javase/6/docs/technotes/guides/security/jgss/lab/
On exercise 3, I get an exception (when requesting a service ticket) from the client side:
"+Exception in thread "main" java.security.PrivilegedActionException: GSSException: No valid credentials provided (Mechanism level: Receive timed out)
etc.+"
This seems to happen when the GSSContext.initSecContext(...) method is called.
The server side receives the client connection:
"+Waiting for incoming connection...+
+Got connection from client /xxx.xxx.x.xxx+"
But then displays the following exception:
"+Exception in thread "main" java.security.PrivilegedActionException: java.net.SocketException: Connection reset
etc.+"
I checked my KDC (win 2003 Server SP2) and added SPNs with setspn but the error remains.
Any suggestion are more than welcome !The TGT is already present on my Client machine because it is acquired automaticaly from the KDC during the Windows opening session.
I use then JAAS to access the LSA and obtain the TGT - This doesn't need any further connection to the KDC.
But the Service Ticket is requested to the KDC by my client machine..
Here is the complete output (Client side) after I destroyed the tickets (with Kerberos MIT Leash.exe and/or kdestroy.exe ):
Debug is true storeKey false useTicketCache true useKeyTab false doNotPrompt false ticketCache is null isInitiator true KeyTab is null refreshKrb5Config is false principal is null tryFirstPass is false useFirstPass is false storePass is false clearPass is false
Acquire TGT from Cache
+>>>KinitOptions cache name is C:\Documents and Settings\user.MYDOMAIN\krb5cc_user+
+>> Acquire default native Credentials+
+>>> Obtained TGT from LSA: Credentials:+
[email protected]
server=krbtgt/[email protected]
authTime=20080529135209Z
startTime=20080529135209Z
endTime=20080530015209Z
renewTill=20080702135209Z
flags: FORWARDABLE;RENEWABLE;INITIAL;PRE-AUTHENT
EType (int): 23
Principal is [email protected]
Commit Succeeded
+Authenticated principal: [[email protected]]+
Connected to address host1/xxx.xxx.x.xxx
Found ticket for [email protected] to go to krbtgt/[email protected] expiring on Fri May 30 03:52:09 CEST 2008
Entered Krb5Context.initSecContext with state=STATE_NEW
Found ticket for [email protected] to go to krbtgt/[email protected] expiring on Fri May 30 03:52:09 CEST 2008
Service ticket not found in the subject
+>>> Credentials acquireServiceCreds: same realm+
Using builtin default etypes for default_tgs_enctypes
default etypes for default_tgs_enctypes: 3 1 23 16 17.
+>>> CksumType: sun.security.krb5.internal.crypto.RsaMd5CksumType+
+>>> EType: sun.security.krb5.internal.crypto.ArcFourHmacEType+
+>>> KrbKdcReq send: kdc=yyy.yyy.y.y UDP:88, timeout=30000, number of retries =3, #bytes=1262+
+>>> KDCCommunication: kdc=yyy.yyy.y.y UDP:88, timeout=30000,Attempt =1, #bytes=1262+
SocketTimeOutException with attempt: 1
+>>> KDCCommunication: kdc=yyy.yyy.y.y UDP:88, timeout=30000,Attempt =2, #bytes=1262+
SocketTimeOutException with attempt: 2
+>>> KDCCommunication: kdc=yyy.yyy.y.y UDP:88, timeout=30000,Attempt =3, #bytes=1262+
Exception in thread "main" java.security.PrivilegedActionException: GSSException: No valid credentials provided (Mechanism level: Receive timed out)
+ at java.security.AccessController.doPrivileged(Native Method)+
+ at javax.security.auth.Subject.doAs(Subject.java:396)+
+ at SimpleAuthzz2.loginAndAction(SimpleAuthzz2.java:56)+
+ at SimpleGssClient.main(SimpleGssClient.java:36)+
SocketTimeOutException with attempt: 3
Caused by: GSSException: No valid credentials provided (Mechanism level: Receive timed out)
+ at sun.security.jgss.krb5.Krb5Context.initSecContext(Krb5Context.java:659)+
+ at sun.security.jgss.GSSContextImpl.initSecContext(GSSContextImpl.java:213)+
+ at sun.security.jgss.GSSContextImpl.initSecContext(GSSContextImpl.java:158)+
+ at SimpleGssClient$GssClientAction.run(SimpleGssClient.java:121)+
+ ... 4 more+
Caused by: java.net.SocketTimeoutException: Receive timed out
+ at java.net.PlainDatagramSocketImpl.peekData(Native Method)+
+ at java.net.DatagramSocket.receive(DatagramSocket.java:662)+
+ at sun.security.krb5.internal.UDPClient.receive(UDPClient.java:77)+
+ at sun.security.krb5.KrbKdcReq$KdcCommunication.run(KrbKdcReq.java:278)+
+ at java.security.AccessController.doPrivileged(Native Method)+
+ at sun.security.krb5.KrbKdcReq.send(KrbKdcReq.java:195)+
+ at sun.security.krb5.KrbKdcReq.send(KrbKdcReq.java:140)+
+ at sun.security.krb5.KrbKdcReq.send(KrbKdcReq.java:106)+
+ at sun.security.krb5.KrbTgsReq.send(KrbTgsReq.java:215)+
+ at sun.security.krb5.internal.CredentialsUtil.serviceCreds(CredentialsUtil.java:293)+
+ at sun.security.krb5.internal.CredentialsUtil.acquireServiceCreds(CredentialsUtil.java:106)+
+ at sun.security.krb5.Credentials.acquireServiceCreds(Credentials.java:561)+
+ at sun.security.jgss.krb5.Krb5Context.initSecContext(Krb5Context.java:585)+
+ ... 7 more+
It seems like the TGT is still present in the cache, even if Leash displays "no tickets".
Meanwhile, in the KDC-server side:
-What is the correct spn to add? C:\setspn GssServer/host1 user ? (I in fact tried many possibilities)..
-Is there any other special configuration to do in the KDC ?
Thanks a lot! -
'System.Exception: The request failed with HTTP Status 404
Hi
BPC version we are using is : 5.0.502
When we Publish all reports using the steps below:
a. Log into BPC Web
b. Click on Available Interfaces> Select BPC for Administration
c. Under Web Admin Task Click Publish Reports
d. Select all of the reports and click the green check mark to publish the
reports.
I am getting following message 'System.Exception: The request failed with HTTP Status 404: Not Found. Below are the event log relation to this error.
Event Type: Error
Event Source: OutlookSoft log
Event Category: None
Event ID: 0
Date: 12/8/2008
Time: 11:26:42 AM
User: N/A
Computer: BPCAPP
Description:
==============[System Error Tracing]==============
[System Name] : OSoftCPM
[Message Type] : ErrorMessage
[Job Name] : AuditMgrService/SetAuditReportFiles
[DateTime] : 12/8/2008 11:26:42 AM
[UserId] : MMPlanning
[Exception]
DetailMsg : {The request failed with HTTP status 404: Not Found.}
==============[System Error Tracing End ]==============
We tried ' Publish all reports' as the resolution of error 'object variable or with block variable not set' on modifying an application as per sap note Note 1131320
If anyone knows the resolution for the above issue, please help me.
Thanks in advance
Sajeev AbrahamHi,
This forum is for BI Integrated planning an BW/SEM BPS. For BPC related questions please post this message in the forum for Enterprise Performance Management (Enterprise Performance Management (SAP EPM)).
Best regards,
Gerd Schoeffl,
SAP NetWeaver RIG BI -
Exception when attempting to print 2 copies to XPS Document Writer
Using Report Client Model (CRforVS2010 SP2) to attempt to print report. Getting following exception when attempting to print 2 copies of report to Microsoft XPS Document Writer:
The number of copies is out of range for the selected printer
Exception source:
CrystalReports13.CrystalPrintControl.1
Stack trace:
at CrystalDecisions.ReportAppServer.Controllers.PrintOutputControllerClass.PrintReport(PrintReportOptions options)
at Accounting.Framework.CrystalAdapter.ReportPrint(Int32 NoCopies, Boolean Collated, Int32 StartPage, Int32 StopPage) in C:
Denali
Src
Managed Framework
CrystalAdapter
CrystalAdapter.cs:line 3230
The Microsoft XPS Document Writer driver has no problem processing multiple copies. This was not a problem in previous versions of Crystal Reports. Does anybody know how to setup the PrintReport to generate multiple copies to an XPS file?It looks like the one tracked under ADAPT01608246 as per [KB1672555|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333633373332333533353335%7D.do] - Error: Class not registered - CrystalPrintControl
- Saurabh -
Hi, I have been trying for push Notification Services in Windows 8 Store Apps. I am requesting For notification channel in the following manner
publicasyncvoidregisterChannelForNotification(
try
TileUpdateManager.CreateTileUpdaterForApplication().Clear();
BadgeUpdateManager.CreateBadgeUpdaterForApplication().Clear();
varvProfile =
NetworkInformation.GetInternetConnectionProfile();
if(vProfile.GetNetworkConnectivityLevel()
== NetworkConnectivityLevel.InternetAccess)
varvChannel =
awaitPushNotificationChannelManager.CreatePushNotificationChannelForApplicationAsync();
varvBuffer =
CryptographicBuffer.ConvertStringToBinary(vChannel.Uri,
BinaryStringEncoding.Utf8);
varvUri =
CryptographicBuffer.EncodeToBase64String(vBuffer);
varvClient =
newHttpClient();
try
varvResponse =
awaitvClient.GetAsync(newUri(Constants.SERVER_URL));
if(vResponse.IsSuccessStatusCode)
sendDeviceTokenRequest(vChannel.Uri);
catch(HttpRequestException)
catch(Exceptionex)
This gives me the exception,The wait operation timed out. (Exception from HRESULT: 0x80070102) when requesting for pushNotification channel. What could be the possible reason and how to solve this issue
Nikhil Sharma10Hi,
I have currently the same problem with requesting a push channel.
But iam not sure if it is a problem with my phone, or my application.
I cant get rid of this error. The solution says: "retry the channel request later". But it doesn
matter if I retry the channel request later (triggerd by pressing a button) the same day or the next day.
I resetted my windows phone, installed the newest dev preview, but it is still not working. But the same code worked a few months ago. On the same phone.
Thats why Iam not sure what I changed (accidentally) in my app code which causes now the 0x80070102 error.
Any ideas why the same code is not working any more?
Thanks
Greetings from Germany
Simon -
Request for TERMINAL (EXCEPT WHEN) Code
Hello, I am using Terminal to set up and auto bcc address to my wife on our business account. I am using: defaults write com.apple.mail UserHeaders '{"bcc"="[email protected]";}'
What is the code in Terminal when I want to add {except when "To"="[email protected]"} so that when I send an email to her directly, that she doesn't get it twice
Thank you ....This forum is not for ordering code.
Try it yourself. Read the documentation. It is grouped by topic.
.NET Framework Development Guide
To your question related these sub topics:
File and Stream I/O
SaveFileDialog Component (Windows Forms)
Button Control (Windows Forms)
Creating Event Handlers in Windows Forms
If you have a specific problem, post the code you wrote and which question you have.
Armin -
Refresh document error when creating new document.
I want to refresh document when create new document , but I meet the error.
Output in Console
http://10.173.1.153:6405/biprws/logon/long/
http://10.173.1.153:6405/biprws/raylight/v1/documents
http://10.173.1.153:6405/biprws/raylight/v1/documents/5800/dataproviders
http://10.173.1.153:6405/biprws/raylight/v1/documents/5800/dataproviders/DP0/specification
http://10.173.1.153:6405/biprws/raylight/v1/documents/5800/parameters
Exception in thread "main" java.lang.RuntimeException: Failed : HTTP error code : 500
at com.sap.oem.restfulws.test.CreateWebiReport40Sample.getContentJson(CreateWebiReport40Sample.java:323)
at com.sap.oem.restfulws.test.CreateWebiReport40Sample.refreshDocument(CreateWebiReport40Sample.java:186)
at com.sap.oem.restfulws.test.CreateWebiReport40Sample.main(CreateWebiReport40Sample.java:54)
The error in aps_sia.AdaptiveProcessingServer_trace.000001.glf
The error in aps_sia.AdaptiveProcessingServer_trace.000001.glf
|D55BC38155E54B03B55B81F16912890373|2015 01 30 07:18:32.355|+0000|Error| |>>| | |aps_sia.AdaptiveProcessingServer| 5348|32475|Transport:Shared-258/56| |62|0|2|0|Webi SDK.CorbaServerImpl.doProcess()|mo-cc5c977ef:4708:180.12126:1|webiserver_sia.WebIntelligenceProcessingServer.processDPCommandsEx|localhost:4364:11300.4387:1|.doIt|mo-cc5c977ef:5348:32475.65198:1|CscV7_EgBUWatuP4KmTSP3Q1539|||||||||com.businessobjects.semanticlayer.qt.internal.QueryUniverseImpl||Failed to find required BusinessItem in universe with identifier DP0.YR
|D55BC38155E54B03B55B81F16912890374|2015 01 30 07:18:32.355|+0000|Error| |>>| | |aps_sia.AdaptiveProcessingServer| 5348|32475|Transport:Shared-258/56| |62|0|2|0|Webi SDK.CorbaServerImpl.doProcess()|mo-cc5c977ef:4708:180.12126:1|webiserver_sia.WebIntelligenceProcessingServer.processDPCommandsEx|localhost:4364:11300.4387:1|.doIt|mo-cc5c977ef:5348:32475.65198:1|CscV7_EgBUWatuP4KmTSP3Q1539|||||||||com.businessobjects.semanticlayer.qt.internal.QueryUniverseImpl||Failed to find required BusinessItem in universe with identifier DP0.QUANTITY_SOLD
|D55BC38155E54B03B55B81F16912890375|2015 01 30 07:18:32.356|+0000|Error| |>>| | |aps_sia.AdaptiveProcessingServer| 5348|32475|Transport:Shared-258/56| |62|0|2|0|Webi SDK.CorbaServerImpl.doProcess()|mo-cc5c977ef:4708:180.12126:1|webiserver_sia.WebIntelligenceProcessingServer.processDPCommandsEx|localhost:4364:11300.4387:1|.doIt|mo-cc5c977ef:5348:32475.65198:1|CscV7_EgBUWatuP4KmTSP3Q1539|||||||||com.businessobjects.semanticlayer.qt.internal.QTExceptionFactory||ERR_WIS_00002_QT_SQL_FORBIDDEN_OBJECT
|D55BC38155E54B03B55B81F16912890376|2015 01 30 07:18:32.517|+0000|Error| |>>| | |aps_sia.AdaptiveProcessingServer| 5348|32475|Transport:Shared-258/56| |62|0|2|0|Webi SDK.CorbaServerImpl.doProcess()|mo-cc5c977ef:4708:180.12126:1|webiserver_sia.WebIntelligenceProcessingServer.processDPCommandsEx|localhost:4364:11300.4387:1|.doIt|mo-cc5c977ef:5348:32475.65198:1|CscV7_EgBUWatuP4KmTSP3Q1539|||||||||com.businessobjects.semanticlayer.qt.internal.QueryGenerationServiceImpl||Query generation failed
com.businessobjects.semanticlayer.qt.internal.QTInternalException: Some objects are not available to your user profile. You cannot refresh this document. See your administrator to request rights. (WIS 00002)
at com.businessobjects.semanticlayer.qt.internal.QTExceptionFactory.createInternalFromErrorId(QTExceptionFactory.java:33)
at com.businessobjects.semanticlayer.qt.internal.QueryGenerator.checkIfForbiddenObjects(QueryGenerator.java:534)
at com.businessobjects.semanticlayer.qt.internal.QueryGenerator.checkIfForbiddenObjects(QueryGenerator.java:845)
at com.businessobjects.semanticlayer.qt.sql.internal.SQLQueryGenerator.generateExecutionPlanTree(SQLQueryGenerator.java:528)
at com.businessobjects.semanticlayer.qt.sql.internal.SQLQueryGenerator.run(SQLQueryGenerator.java:358)
at com.businessobjects.semanticlayer.qt.internal.QueryGenerationServiceImpl.generateQueryExecutionPlan(QueryGenerationServiceImpl.java:378)
at com.businessobjects.dsl.services.query.impl.QueryServiceImpl.getQueryExecutionPlan(QueryServiceImpl.java:288)
at com.sap.sl.proxyconsumption.services.queryservice.QueryServiceImpl.generateExecutionPlan(QueryServiceImpl.java:188)
at com.sap.sl.proxyconsumption.services.queryservice.QueryServiceImpl.generateExecutionPlan(QueryServiceImpl.java:143)
at com.sap.sl.proxyconsumption.protobuf.rpc.QueryRpc$query.callMethod(QueryRpc.java:826)
at com.sap.sl.proxyconsumption.services.server.DSLBridge.callService(DSLBridge.java:238)
at com.sap.sl.proxyconsumption.services.server.DSLBridge.doIt(DSLBridge.java:163)
at com.businessobjects.cdz_ext.slproxybridge.corba.ServerServant.doIt(ServerServant.java:119)
at sun.reflect.GeneratedMethodAccessor148.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.businessobjects.framework.servers.platform.adapters.ebus.orb.CommonTransportInterceptor.invokeHelper(CommonTransportInterceptor.java:118)
at com.businessobjects.framework.servers.platform.adapters.ebus.orb.CommonTransportInterceptor.invoke(CommonTransportInterceptor.java:87)
at com.businessobjects.framework.servers.common.proxy.cglib.MethodInterceptorChain.intercept(MethodInterceptorChain.java:136)
at com.crystaldecisions.enterprise.ocaframework.idl.OCA.OCAcdz.slproxybridge.serverPOA$$EnhancerByCGLIB$$3bd93036.doIt(<generated>)
at com.crystaldecisions.enterprise.ocaframework.idl.OCA.OCAcdz.slproxybridge.serverPOA._OB_op_doIt(serverPOA.java:107)
at com.crystaldecisions.enterprise.ocaframework.idl.OCA.OCAcdz.slproxybridge.serverPOA._invoke(serverPOA.java:83)
at com.crystaldecisions.thirdparty.com.ooc.OBPortableServer.ServantDispatcher.dispatch(ServantDispatcher.java:234)
at com.crystaldecisions.thirdparty.com.ooc.OBPortableServer.POA_impl._do_OB_dispatch(POA_impl.java:1977)
at com.crystaldecisions.thirdparty.com.ooc.OBPortableServer.POA_impl._OB_dispatch(POA_impl.java:1913)
at com.crystaldecisions.thirdparty.com.ooc.OB.DispatchRequest_impl.invoke(DispatchRequest_impl.java:75)
at com.businessobjects.framework.servers.platform.adapters.ebus.orb.ThreadPoolDispatchStrategy$Dispatcher.run(ThreadPoolDispatchStrategy.java:271)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:743)
|D55BC38155E54B03B55B81F16912890377|2015 01 30 07:18:32.518|+0000|Error| |>>| | |aps_sia.AdaptiveProcessingServer| 5348|32475|Transport:Shared-258/56| |62|0|2|0|Webi SDK.CorbaServerImpl.doProcess()|mo-cc5c977ef:4708:180.12126:1|webiserver_sia.WebIntelligenceProcessingServer.processDPCommandsEx|localhost:4364:11300.4387:1|.doIt|mo-cc5c977ef:5348:32475.65198:1|CscV7_EgBUWatuP4KmTSP3Q1539|||||||||com.businessobjects.semanticlayer.qt.internal.QueryGenerationServiceImpl||Failed query spec: Query (MAIN_QUERY)
Results: [ [uniqueName=YR] [Identifier=DP0.YR], [uniqueName=QUANTITY SOLD] [Identifier=DP0.QUANTITY_SOLD]]
DrillScope: []
Sorts: []
Condition: DEF: null
|D55BC38155E54B03B55B81F16912890378|2015 01 30 07:18:32.518|+0000|Error| |>>| | |aps_sia.AdaptiveProcessingServer| 5348|32475|Transport:Shared-258/56| |62|0|2|0|Webi SDK.CorbaServerImpl.doProcess()|mo-cc5c977ef:4708:180.12126:1|webiserver_sia.WebIntelligenceProcessingServer.processDPCommandsEx|localhost:4364:11300.4387:1|.doIt|mo-cc5c977ef:5348:32475.65198:1|CscV7_EgBUWatuP4KmTSP3Q1539|||||||||com.businessobjects.semanticlayer.qt.internal.QTExceptionFactory||ERR_WIS_00002_QT_SQL_FORBIDDEN_OBJECT
|D55BC38155E54B03B55B81F16912890379|2015 01 30 07:18:32.518|+0000|Error| |>>| | |aps_sia.AdaptiveProcessingServer| 5348|32475|Transport:Shared-258/56| |62|0|2|0|Webi SDK.CorbaServerImpl.doProcess()|mo-cc5c977ef:4708:180.12126:1|webiserver_sia.WebIntelligenceProcessingServer.processDPCommandsEx|localhost:4364:11300.4387:1|.doIt|mo-cc5c977ef:5348:32475.65198:1|CscV7_EgBUWatuP4KmTSP3Q1539|||||||||com.businessobjects.dsl.services.query.impl.QueryServiceImpl||[ERROR] [QueryService::getQueryExecutionPlan]
com.businessobjects.semanticlayer.qt.QTException: Some objects are not available to your user profile. You cannot refresh this document. See your administrator to request rights. (WIS 00002)
at com.businessobjects.semanticlayer.qt.internal.QTExceptionFactory.createInternalFromErrorId(QTExceptionFactory.java:33)
at com.businessobjects.semanticlayer.qt.internal.QueryGenerator.checkIfForbiddenObjects(QueryGenerator.java:534)
at com.businessobjects.semanticlayer.qt.internal.QueryGenerator.checkIfForbiddenObjects(QueryGenerator.java:845)
at com.businessobjects.semanticlayer.qt.sql.internal.SQLQueryGenerator.generateExecutionPlanTree(SQLQueryGenerator.java:528)
at com.businessobjects.semanticlayer.qt.sql.internal.SQLQueryGenerator.run(SQLQueryGenerator.java:358)
at com.businessobjects.semanticlayer.qt.internal.QueryGenerationServiceImpl.generateQueryExecutionPlan(QueryGenerationServiceImpl.java:378)
at com.businessobjects.dsl.services.query.impl.QueryServiceImpl.getQueryExecutionPlan(QueryServiceImpl.java:288)
at com.sap.sl.proxyconsumption.services.queryservice.QueryServiceImpl.generateExecutionPlan(QueryServiceImpl.java:188)
at com.sap.sl.proxyconsumption.services.queryservice.QueryServiceImpl.generateExecutionPlan(QueryServiceImpl.java:143)
at com.sap.sl.proxyconsumption.protobuf.rpc.QueryRpc$query.callMethod(QueryRpc.java:826)
at com.sap.sl.proxyconsumption.services.server.DSLBridge.callService(DSLBridge.java:238)
at com.sap.sl.proxyconsumption.services.server.DSLBridge.doIt(DSLBridge.java:163)
at com.businessobjects.cdz_ext.slproxybridge.corba.ServerServant.doIt(ServerServant.java:119)
at sun.reflect.GeneratedMethodAccessor148.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.businessobjects.framework.servers.platform.adapters.ebus.orb.CommonTransportInterceptor.invokeHelper(CommonTransportInterceptor.java:118)
at com.businessobjects.framework.servers.platform.adapters.ebus.orb.CommonTransportInterceptor.invoke(CommonTransportInterceptor.java:87)
at com.businessobjects.framework.servers.common.proxy.cglib.MethodInterceptorChain.intercept(MethodInterceptorChain.java:136)
at com.crystaldecisions.enterprise.ocaframework.idl.OCA.OCAcdz.slproxybridge.serverPOA$$EnhancerByCGLIB$$3bd93036.doIt(<generated>)
at com.crystaldecisions.enterprise.ocaframework.idl.OCA.OCAcdz.slproxybridge.serverPOA._OB_op_doIt(serverPOA.java:107)
at com.crystaldecisions.enterprise.ocaframework.idl.OCA.OCAcdz.slproxybridge.serverPOA._invoke(serverPOA.java:83)
at com.crystaldecisions.thirdparty.com.ooc.OBPortableServer.ServantDispatcher.dispatch(ServantDispatcher.java:234)
at com.crystaldecisions.thirdparty.com.ooc.OBPortableServer.POA_impl._do_OB_dispatch(POA_impl.java:1977)
at com.crystaldecisions.thirdparty.com.ooc.OBPortableServer.POA_impl._OB_dispatch(POA_impl.java:1913)
at com.crystaldecisions.thirdparty.com.ooc.OB.DispatchRequest_impl.invoke(DispatchRequest_impl.java:75)
at com.businessobjects.framework.servers.platform.adapters.ebus.orb.ThreadPoolDispatchStrategy$Dispatcher.run(ThreadPoolDispatchStrategy.java:271)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:743)
|D55BC38155E54B03B55B81F1691289037a|2015 01 30 07:18:32.519|+0000|Error|Error|>>|E| |aps_sia.AdaptiveProcessingServer| 5348|32475|Transport:Shared-258/56| |62|0|2|0|Webi SDK.CorbaServerImpl.doProcess()|mo-cc5c977ef:4708:180.12126:1|webiserver_sia.WebIntelligenceProcessingServer.processDPCommandsEx|localhost:4364:11300.4387:1|.doIt|mo-cc5c977ef:5348:32475.65198:1|CscV7_EgBUWatuP4KmTSP3Q1539|||||||||||Exception caught in SL Service: Some objects are not available to your user profile. You cannot refresh this document. See your administrator to request rights. (WIS 00002)
com.businessobjects.dsl.services.query.QueryServiceException: Some objects are not available to your user profile. You cannot refresh this document. See your administrator to request rights. (WIS 00002)
at com.businessobjects.dsl.services.query.impl.QueryServiceImpl.getQueryExecutionPlan(QueryServiceImpl.java:292)
at com.sap.sl.proxyconsumption.services.queryservice.QueryServiceImpl.generateExecutionPlan(QueryServiceImpl.java:188)
at com.sap.sl.proxyconsumption.services.queryservice.QueryServiceImpl.generateExecutionPlan(QueryServiceImpl.java:143)
at com.sap.sl.proxyconsumption.protobuf.rpc.QueryRpc$query.callMethod(QueryRpc.java:826)
at com.sap.sl.proxyconsumption.services.server.DSLBridge.callService(DSLBridge.java:238)
at com.sap.sl.proxyconsumption.services.server.DSLBridge.doIt(DSLBridge.java:163)
at com.businessobjects.cdz_ext.slproxybridge.corba.ServerServant.doIt(ServerServant.java:119)
at sun.reflect.GeneratedMethodAccessor148.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.businessobjects.framework.servers.platform.adapters.ebus.orb.CommonTransportInterceptor.invokeHelper(CommonTransportInterceptor.java:118)
at com.businessobjects.framework.servers.platform.adapters.ebus.orb.CommonTransportInterceptor.invoke(CommonTransportInterceptor.java:87)
at com.businessobjects.framework.servers.common.proxy.cglib.MethodInterceptorChain.intercept(MethodInterceptorChain.java:136)
at com.crystaldecisions.enterprise.ocaframework.idl.OCA.OCAcdz.slproxybridge.serverPOA$$EnhancerByCGLIB$$3bd93036.doIt(<generated>)
at com.crystaldecisions.enterprise.ocaframework.idl.OCA.OCAcdz.slproxybridge.serverPOA._OB_op_doIt(serverPOA.java:107)
at com.crystaldecisions.enterprise.ocaframework.idl.OCA.OCAcdz.slproxybridge.serverPOA._invoke(serverPOA.java:83)
at com.crystaldecisions.thirdparty.com.ooc.OBPortableServer.ServantDispatcher.dispatch(ServantDispatcher.java:234)
at com.crystaldecisions.thirdparty.com.ooc.OBPortableServer.POA_impl._do_OB_dispatch(POA_impl.java:1977)
at com.crystaldecisions.thirdparty.com.ooc.OBPortableServer.POA_impl._OB_dispatch(POA_impl.java:1913)
at com.crystaldecisions.thirdparty.com.ooc.OB.DispatchRequest_impl.invoke(DispatchRequest_impl.java:75)
at com.businessobjects.framework.servers.platform.adapters.ebus.orb.ThreadPoolDispatchStrategy$Dispatcher.run(ThreadPoolDispatchStrategy.java:271)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:743)
Java Source code
Java Source Code
package com.sap.oem.restfulws.test;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.net.HttpURLConnection;
import java.net.URL;
import java.text.ParseException;
import org.json.JSONException;
import org.json.JSONObject;
public class CreateWebiReport40Sample {
/** CMS System */
private static final String CMS_LOG_HOST = "10.173.1.153:6405";
/** User name used to log in to the CMS */
private static final String CMS_LOG_USER = "Administrator";
/** User password */
private static final String CMS_LOG_PASS = "******";
/** Authentication mode used to log in to the CMS. Here: Enterprise */
private static final String CMS_AUTH_MODE = "secEnterprise";
private static final String WEBI_URL = "/biprws/raylight/v1";
private String logonToken;
private boolean isLogon = false;
private String folderID = "5652";
private String fileName = "eFashioin_IQ_Auto";
private String documentID = "23547";
private String reportID = "1";
private String dataSourceID = "5650";
private String dataProviderID = "DP0";
private String elementID = "8";
private String elementParentID = "2";
private String elementName = "Block 1";
private String axisID = "1";
public static void main(String[] args) throws JSONException,
ParseException, IOException {
CreateWebiReport40Sample webiRep = new CreateWebiReport40Sample();
JSONObject json = null;
String resultStr = null;
webiRep.getLogonToken();
json = webiRep.createDoc();
json = webiRep.addDataSourceInReport();
json = webiRep.refreshDocument();
// json = webiRep.addTableInReport();
// json = webiRep.updateExpressionInAxis();
webiRep.saveDocument();
System.out.println(resultStr);
if (json != null) {
System.out.println(json.toString());
public JSONObject createDoc() throws IOException, ParseException,
JSONException {
String body = "<document>" + "<name>" + this.fileName + "</name>"
+ "<folderId>" + this.folderID + "</folderId>" + "</document>";
JSONObject json = postContentJson("http://" + CMS_LOG_HOST + WEBI_URL
+ "/documents", body);
this.documentID = json.getJSONObject("success").getString("id");
return json;
public JSONObject saveDocument() throws IOException, ParseException,
JSONException {
String urlStr = "http://" + CMS_LOG_HOST + WEBI_URL + "/documents/"
+ this.documentID;
String body = "<document>" + " <name>" + this.fileName + "</name>"
+ " <folderId>" + this.folderID + "</folderId>"
+ "</document>";
// System.out.println(urlStr);
JSONObject json = postContentJson(urlStr, body);
return json;
public JSONObject addDataSourceInReport() throws IOException,
ParseException, JSONException {
String urlStr = "http://" + CMS_LOG_HOST + WEBI_URL + "/documents/"
+ this.documentID + "/dataproviders";
String body = "<dataprovider>" + "<name>Query 1</name>"
+ "<dataSourceId>" + this.dataSourceID + "</dataSourceId>"
// + "<dataSourceType>unx</dataSourceType>"
+ "</dataprovider>";
JSONObject json = postContentJson(urlStr, body);
this.dataProviderID = json.getJSONObject("success").getString("id");
json = addQueryInDataProvider();
return json;
public JSONObject addTableInReport() throws IOException, ParseException,
JSONException {
String urlStr = "http://" + CMS_LOG_HOST + WEBI_URL + "/documents/"
+ this.documentID + "/reports/" + this.reportID + "/elements";
String body = "<element type=\"VTable\">"
+ " <reference>1.B</reference>" + " <name>"
+ this.elementName
+ "</name>"
+ " <parentId>"
+ this.elementParentID
+ "</parentId>"
+ " <position newVerticalPage=\"false\" oneVerticalPage=\"false\" repeatOnEveryVerticalPage=\"false\" newHorizontalPage=\"false\" oneHorizontalPage=\"false\" verticalAnchorId=\"4\" verticalAnchorType=\"End\" horizontalAnchorType=\"None\" y=\"900.0\" x=\"450.0\"/>"
+ " <hide always=\"false\"/>"
+ " <style>"
+ " <border>"
+ " <top style=\"None\" rgb=\"#000000\" thickness=\"None\"/>"
+ " <bottom style=\"None\" rgb=\"#000000\" thickness=\"None\"/>"
+ " <left style=\"None\" rgb=\"#000000\" thickness=\"None\"/>"
+ " <right style=\"None\" rgb=\"#000000\" thickness=\"None\"/>"
+ " </border>"
+ " <background height=\"0.0\" width=\"0.0\"/>"
+ " <alternateColor rgb=\"#f8fbfc\" frequency=\"2\"/>"
+ " </style>"
+ " <content>"
+ " <axes duplicateRowAggregation=\"true\">"
+ " <axis role=\"Column\">"
+ " <id>1</id>"
+ " <expressions>"
// + " <formula dataObjectId=\""
// + this.dataProviderID
// + ".YR"
// + "\" dataType=\"String\">=[YR]"
// + "</formula>"
// + " <formula dataObjectId=\""
// + this.dataProviderID
// + ".QUANTITY_SOLD"
// + "\" dataType=\"Numeric\">"
// + "=[QUANTITY SOLD]"
// + "</formula>"
+ " </expressions>"
+ " </axis>"
+ " </axes>"
+ " <layout>"
+ " <zone verticalType=\"Body\" horizontalType=\"Body\">"
+ " <child columnSpan=\"1\" column=\"0\" rowSpan=\"1\" row=\"0\" id=\"5\"/>"
+ " <child columnSpan=\"1\" column=\"1\" rowSpan=\"1\" row=\"0\" id=\"6\"/>"
+ " </zone>"
+ " <zone verticalType=\"Header\" horizontalType=\"Body\">"
+ " <child columnSpan=\"1\" column=\"0\" rowSpan=\"1\" row=\"0\" id=\"8\"/>"
+ " <child columnSpan=\"1\" column=\"1\" rowSpan=\"1\" row=\"0\" id=\"9\"/>"
+ " </zone>"
+ " </layout>"
+ " </content>" + "</element>";
JSONObject json = postContentJson(urlStr, body);
this.elementID = json.getJSONObject("success").getString("id");
return json;
public JSONObject updateExpressionInAxis() throws IOException,
ParseException, JSONException {
String urlStr = "http://" + CMS_LOG_HOST + WEBI_URL + "/documents/"
+ this.documentID + "/reports/" + this.reportID + "/elements/"
+ this.elementID + "/axes/" + this.axisID + "/expressions";
// int i = 0;
String body = "<expressions>"
+ " <formula dataType=\"String\">=[YR]</formula>"
+ " <formula dataType=\"Numeric\">=[QUANTITY SOLD]</formula>"
+ "</expressions>";
JSONObject json = putXmlContentJson(urlStr, body);
return json;
public JSONObject refreshDocument() throws IOException, ParseException,
JSONException {
String urlStr = "http://" + CMS_LOG_HOST + WEBI_URL + "/documents/"
// + this.documentID + "/parameters?refresh=true";
+ this.documentID + "/parameters";
// JSONObject json = this.putXmlContentJson(urlStr, "");
JSONObject json = this.getContentJson(urlStr);
return json;
public JSONObject addQueryInDataProvider() throws IOException,
ParseException, JSONException {
String urlStr = "http://" + CMS_LOG_HOST + WEBI_URL + "/documents/"
+ this.documentID + "/dataproviders/" + this.dataProviderID
+ "/specification";
// int i = 0;
String body = "<queryspec:QuerySpec xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\""
+ " xmlns:queryspec=\"http://com.sap.sl.queryspec\" dataProviderId=\""
+ this.dataProviderID
+ "\">"
+ " <queryParameters>"
+ " <duplicatedRowsProperty activated=\"true\" value=\"true\"/>"
+ " <maxRetrievalTimeInSecondsProperty value=\"0\"/>"
+ " <maxRowsRetrievedProperty value=\"0\"/>"
+ " <removeEmptyRowsProperty activated=\"true\" value=\"true\"/>"
+ " <allowOtherUserToEditQueryProperty activated=\"true\" value=\"true\"/>"
+ " <resetContextOnRefreshProperty activated=\"true\" value=\"true\"/>"
+ " <stripQueryProperty/>"
+ " <useBexQueryDefaultValue activated=\"true\" value=\"true\"/>"
+ " </queryParameters>"
+ " <queriesTree xsi:type=\"queryspec:QueryDataNode\">"
+ " <bOQuery name=\"Query\" identifier=\"_"
+ this.documentID
+ "_"
+ this.dataProviderID
+ "_"
+ "query\">"
+ " <resultObjects identifier=\""
+ this.dataProviderID
+ ".YR"
+ "\" name=\"YR\"/>"
+ " <resultObjects identifier=\""
+ this.dataProviderID
+ ".QUANTITY_SOLD"
+ "\" name=\"QUANTITY SOLD\"/>"
+ " <conditionPart/>"
+ " </bOQuery>"
+ " </queriesTree>" + "</queryspec:QuerySpec>";
JSONObject json = putTextContentJson(urlStr, body);
return json;
public String getLogonToken() throws ParseException, IOException,
JSONException {
String body = "<attrs xmlns=\"http://www.sap.com/rws/bip\">"
+ "<attr name=\"userName\" type=\"string\">"
+ CMS_LOG_USER
+ "</attr>"
+ "<attr name=\"password\" type=\"string\">"
+ CMS_LOG_PASS
+ "</attr>"
+ "<attr name=\"auth\" type=\"string\" possibilities=\"secEnterprise,secLDAP,secWinAD\">"
+ CMS_AUTH_MODE + "</attr>" + "</attrs>";
JSONObject json = postContentJson("http://" + CMS_LOG_HOST
+ "/biprws/logon/long/", body);
logonToken = (String) json.get("logonToken");
isLogon = true;
return logonToken;
private JSONObject postContentJson(String urlStr, String body)
throws IOException, JSONException {
return postAndPutContentJson(urlStr, body, "POST",
"application/xml; charset=utf-8");
private JSONObject putTextContentJson(String urlStr, String body)
throws IOException, JSONException {
return postAndPutContentJson(urlStr, body, "PUT",
"text/xml; charset=utf-8");
private JSONObject putXmlContentJson(String urlStr, String body)
throws IOException, JSONException {
return postAndPutContentJson(urlStr, body, "PUT",
"application/xml; charset=utf-8");
private JSONObject postAndPutContentJson(String urlStr, String body,
String method, String contentType) throws IOException,
JSONException {
System.out.println(urlStr);
URL url = new URL(urlStr);
HttpURLConnection conn = (HttpURLConnection) url.openConnection();
conn.setRequestMethod(method);
if (this.isLogon) {
conn.setRequestProperty("X-SAP-LogonToken", "\"" + logonToken
+ "\"");
conn.setRequestProperty("Accept", "application/json");
conn.setRequestProperty("Content-Type", contentType);
conn.setDoInput(true);
conn.setDoOutput(true);
int len = body.length();
conn.setRequestProperty("Content-Length", Integer.toString(len));
conn.connect();
OutputStreamWriter out = new OutputStreamWriter(conn.getOutputStream());
out.write(body, 0, len);
out.flush();
if (conn.getResponseCode() != 200) {
throw new RuntimeException("Failed : HTTP error code : "
+ conn.getResponseCode());
BufferedReader br = new BufferedReader(new InputStreamReader((conn
.getInputStream())));
String jsontxt = br.readLine();
br.close();
conn.disconnect();
JSONObject json = new JSONObject(jsontxt);
return json;
private JSONObject getContentJson(String urlStr) throws IOException,
JSONException {
System.out.println(urlStr);
URL url = new URL(urlStr);
HttpURLConnection conn = (HttpURLConnection) url.openConnection();
conn.setRequestMethod("GET");
if (this.isLogon) {
conn.setRequestProperty("X-SAP-LogonToken", "\"" + logonToken
+ "\"");
conn.setRequestProperty("Accept", "application/json");
conn.setRequestProperty("Content-Type",
"application/xml; charset=utf-8");
conn.setDoOutput(true);
conn.setDoInput(true);
conn.connect();
if (conn.getResponseCode() != 200) {
throw new RuntimeException("Failed : HTTP error code : "
+ conn.getResponseCode());
BufferedReader br = new BufferedReader(new InputStreamReader((conn
.getInputStream())));
String jsontxt = br.readLine();
br.close();
JSONObject json = new JSONObject(jsontxt);
conn.disconnect();
return json;
Welcome your adviceHi Kevin,
I think you have to set the query specification for the data provider you created. If you don't, no object is available (that'w why you received a such error).
Best regards,
Anthony -
Exception when trying to acess a jsf application
Im using eclipse 3.3 , tomcat 5.5.2x
index.jsp
========
<html>
<body>
<jsp:forward page="faces/ourJsf/enterAge.jsp" />
</body>
</html>
============
enterAge.jsp
=========
<%@ page contentType="text/html; charset=Cp1252" %>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Cp1252"/>
<title>Dog's Life</title>
</head>
<body>
<f:view>
<h:form>
<h:outputText value="Enter your age please"/>
<h:inputText value="#{dog.age}" />
<h:commandButton value="Calculate Dog Years" action="#{dog.calcYears}" />
</h:form>
</f:view>
</body>
</html>
=========
faces-config.xml
==========
<?xml version="1.0"?>
<!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN" "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
<faces-config>
<managed-bean>
<managed-bean-name>dog</managed-bean-name>
<managed-bean-class>beans.DogBean</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>
<navigation-rule>
<from-view-id>/ourJsf/enterAge.jsp</from-view-id>
</navigation-rule>
<navigation-rule>
<from-view-id>/ourJsf/enterAge.jsp</from-view-id>
<navigation-case>
<from-outcome>success</from-outcome>
<to-view-id>/ourJsf/result.jsp</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>failure</from-outcome>
<to-view-id>/ourJsf/error.jsp</to-view-id>
</navigation-case>
</navigation-rule>
</faces-config>
================
a portion of my web.xml
=============
<!-- Extensions Filter -->
<filter>
<filter-name>extensionsFilter</filter-name>
<filter-class>org.apache.myfaces.webapp.filter.ExtensionsFilter</filter-class>
<init-param>
<param-name>uploadMaxFileSize</param-name>
<param-value>100m</param-value>
<description>Set the size limit for uploaded files.
Format: 10 - 10 bytes
10k - 10 KB
10m - 10 MB
1g - 1 GB
</description>
</init-param>
<init-param>
<param-name>uploadThresholdSize</param-name>
<param-value>100k</param-value>
<description>Set the threshold size - files
below this limit are stored in memory, files above
this limit are stored on disk.
Format: 10 - 10 bytes
10k - 10 KB
10m - 10 MB
1g - 1 GB
</description>
</init-param>
<!-- <init-param>
<param-name>uploadRepositoryPath</param-name>
<param-value>/temp</param-value>
<description>Set the path where the intermediary files will be stored.
</description>
</init-param>-->
</filter>
<filter-mapping>
<filter-name>extensionsFilter</filter-name>
<url-pattern>*.jsf</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>extensionsFilter</filter-name>
<url-pattern>/faces/*</url-pattern>
</filter-mapping>
<!-- Faces Servlet -->
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<!-- Faces Servlet Mapping -->
<!-- virtual path mapping -->
<!-- virtual path mapping (uncommented by LG )-->
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>/faces/*</url-pattern>
</servlet-mapping>
<!-- extension mapping -->
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.jsf</url-pattern>
</servlet-mapping>
<!-- Welcome files -->
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
<welcome-file>index.html</welcome-file>
</welcome-file-list>
</web-app>
=============
i'm getting an exception when i call my application :
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:476)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:371)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
root cause
javax.servlet.ServletException
javax.faces.webapp.FacesServlet.service(FacesServlet.java:156)
org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:691)
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:661)
org.apache.jsp.index_jsp._jspService(index_jsp.java:46)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
root cause
java.lang.NullPointerException
org.apache.myfaces.application.jsp.JspStateManagerImpl.restoreTreeStructure(JspStateManagerImpl.java:240)
org.apache.myfaces.application.jsp.JspStateManagerImpl.restoreView(JspStateManagerImpl.java:283)
org.apache.myfaces.application.jsp.JspViewHandlerImpl.restoreView(JspViewHandlerImpl.java:255)
org.apache.myfaces.lifecycle.LifecycleImpl.restoreView(LifecycleImpl.java:141)
org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:66)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:137)
org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:691)
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:661)
org.apache.jsp.index_jsp._jspService(index_jsp.java:46)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.23 logs.
Apache Tomcat/5.5.23
Thank yoiu guys for helping me : this my very first jsf applicationHello,
Like you said it was the problem with url.
The webservice I used is actually running on the local machine (where the NetWeaver developer studio is installed); so in the url I had specified localhost. But I deployed the application on another server(SAP J2EE Engine). That is why it didn't work. On changing the url as required, the application is working fine.
Thanks !
Regards,
Loveline. -
Getting exception when trying to open Alert Configuration in RW
Hello friends,
I am getting the following exception when i am trying to open the Alert Configuration/Alert Inbox in RWB.
Exception:
com.sap.aii.rwb.exceptions.BuildLandscapeException: No central monitoring server in exchange profile
at com.sap.aii.rwb.core.MonitoringServer.(MonitoringServer.java:77)
at com.sap.aii.rwb.agent.server.SLDAgentBean.buildMonitoringServer(SLDAgentBean.java:799)
at com.sap.aii.rwb.agent.server.SLDAgentBean.getMonitoringServer(SLDAgentBean.java:1462)
at com.sap.aii.rwb.agent.api.SLDAgentObjectImpl0.getMonitoringServer(SLDAgentObjectImpl0.java:999)
at com.sap.aii.rwb.agent.api.SLDAgent_Stub.getMonitoringServer(SLDAgent_Stub.java:1931)
at com.sap.aii.rwb.agent.client.EJBAgent.getMonitoringServer(EJBAgent.java:493)
at jsp_alert_inbox1204719699497._jspService(jsp_alert_inbox1204719699497.java:28)
at com.sap.engine.services.servlets_jsp.server.jsp.JspBase.service(JspBase.java:112)
at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:544)
at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:186)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:321)
at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:377)
at jsp_FC_Secure1204104271605._jspService(jsp_FC_Secure1204104271605.java:24)
at com.sap.engine.services.servlets_jsp.server.jsp.JspBase.service(JspBase.java:112)
at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:544)
at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:186)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
Could you please help me out in solving this problem?
Thanks & Regards,
SenthilFrom your error, maybe your profile parameter for alert message server is not properly configured:
I just came cross a post elaborating alerting configuration from Aashish Sinha, hope it helps,
Liang
=====Post from Aashish Sinha=======
Prerequisites
The following prerequisites have to be met in order to use the Alert Management (ALM):
· For using the Alert Inbox (BSP based display program of ALM), the corresponding service has to be activated in the service maintenance transaction SICF. Choose Default_host ? sap ? bc ? bsp ? sap ? alert inbox, and Activate in the context menu.
· For customizing or administration of the Alert Management the corresponding authorization role has to be assigned. The end users do not need any additional authorization.
· The central alert server must be maintained as an RFC destination in transaction SM59 in the local system. If there is no suitable user, you have to create a user for the RFC connection in the central alert system in transaction SU01. To make this RFC destination known as the RFC destination of the Alert Management System in the local system, the central alert server must also be selected as the RFC destination in transaction SALRT1 of the local system or in Settings ? RFC-Destination of Alert Server.
If the central alert server is running on the local system in the same client, you do not have to maintain an RFC destination. In this case, you can simply enter NONE in transaction SALRT1.
· If external communication types, such as e-mail, SMS, and fax are used, these communication types must be correctly configured in SAPconnect, because the alerts are then sent from the central alert system via SAPconnect.
Process Flow
The following describes the process flow from alert configuration (transaction ALRTCATDEF) to alert display and confirmation (for example in the alert inbox transaction ALRTINBOX):
1. Optional: You can define alert classifications. These are useful to group alert categories. For example, you can create an alert classification CRM that contains alert categories referring to CRM. Alert classifications can now have subclassifications. This enables you to build up your own classification hierarchy. Especially, if you use the Alert Mangement (ALM) extensively, classification and subclassification help you to organize your ALM alert landscape and to have a clear overview.
2. For different types of alerts you have to define different categories. The category contains various properties and other specifications that define the alerts within that category, for example expiry date, or the escalation recipient. You can define an alert category to suit your business requirements and assign the category to the corresponding classification. For example, for the alert classification CRM you can create the alert categories Contract Cancelled and Decrease in Sales. When the critical situation defined in the alert category arises, the system recognizes this and sends an alert instance of this category to the recipients determined. The alerts can always be found in the display programs configured for the recipient (UWL, application-specific program, or alert inbox). Additionally, the alerts are sent via eventual external communication channels, such as e-mail, sms, or fax.
3. You have to determine recipients so that the Alert Management knows who the recipients of alerts of a particular category are and that the correct parties are informed.
4. You can configure the way how alerts are processed. For the general use of the Alert Management you do not have to change the default settings. However, if for example you want to send alerts to third-party systems, or to be able to confirm alerts by SMS/Internet mail, or to have logs written, then you have to configure alert processing.
5. There is a number of Alert Management administration reports that you must schedule according to your requirements. For example, report RSALERTPROC must be executed in order to enable escalation.
6. Alerts of a particular category must be triggered by an application at runtime. Triggering alerts can be done in various ways. You can call a function module directly or use middleware components that trigger alerts, such as the Business Object Repository (BOR), Post Processing Framework (PPF), SAP Workflow, or CCMS.
7. Recipients can view the alerts assigned to them in the UWL of Enteprise Portal, in application-specific display programs, or in the alert inbox. In addition, alerts can be received as e-mail, SMS, or fax, if these external communication channels are configured in SAPconnect.
8. If the problem causing the alert is solved by a recipient, the recipient can confirm the alert, this means its status is changed and it will not be delivered, escalated, or displayed anymore. Alerts are generally confirmed by the recipient in the display program, such as the UWL or Alert Inbox. However, if an alert is sent by Internet mail or SMS message, it is also possible to confirm it by sending an Internet mail or SMS message back to the SAP system. Alert Management uses inbound processing for this.
Hope this will help you.
Regards
Aashish Sinha
============End of the Post======================= -
WebDynpro Exception: ADS: Request start time, start Interactive Form
Hello everybody,
I tried out to display an interactive form in Web Dynpro for ABAP like in Thomas Jungs video described. But I when I start my application I get everytime the dump.
I read not 944221 and and thats works all. But when I try the testprogram with my form I get the dump, too.
So any help for me?
regards,
Christian
The dump is:
WebDynpro Exception: ADS: Request start time: Timestamp
with this last calls:
Method: RAISE of program CX_WD_GENERAL=================CP
Method: CREATE_PDF of program CL_WD_ADOBE_SERVICES==========CP
Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/LADOBE==================CP
Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/LADOBE==================CP
Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L8STANDARD==============CP
Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L8STANDARD==============CP
Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L7STANDARD==============CP
Method: CONV_VIEW_INTO_VE_ADAPTER_TREE of program CL_WDR_INTERNAL_WINDOW_ADAPTERCP
Method: SET_CONTENT_BY_WINDOW of program CL_WDR_INTERNAL_WINDOW_ADAPTERCP
Method: RENDER_WINDOWS of program CL_WDR_CLIENT_SSR=============CPHi Danny,
please check in your visual administrator the credential file for Reader Rights. See also the point "Installing and Configuring Credentials" in the Adobe Document Services Configuration Guide and note 736902.
Regards,
Christian -
Can´t read page containing XML using GET HTTP Document
Hello forum users,
I'm have a problem with the LabVIEW Internet Toolkit and I'm woundering if its me that is doing something wrong or if it is a limitation of the VI.
I have a robotic application which comunicates with LabVIEW via internet.
the robots sends and receives information via XML which is posted on a webpage.
I've been trying to use the LabVIEW Internet Toolkit's GET HTTP Document. while I can obtain HTML data from any webpage when I try to access my webpage containing XML data I get an Error 66 (connection closed by peer message).
What is even stranger is that on two distinct occasions the program returned the XML data
The page is set up so that when accesed (for example http://192.168.0.102:4950/move.cgi?op=setVel&vel=300). It will define the robot's speed at 300 mm/s and return a page with a simple XML data such as
<result>true</result>
When I access the page in using the Get HTTP Document, the request is sent. the robot does the action required but the XML data I need isn't returned.
I have applications that do this in C++, python, and MatLab, without a problem and I didn't want to have to resort to low level TCP/IP functions.
any suggestions???
Is this a limitation of the GET HTTP Document VI (it only gets HTML documents)
Thanks in advanced
Bruno Noronha
Certified LabVIEW Associate Developer
Using LabVIEW 8.6Hi, Bruno.
Maybe my case will help you. I've faced a problem similar than yours. I have a network camera whose API is HTTP based, I mean, I can control it using HTTP requests, i.e. http://myserver/axis-cgi/bitmap/image.bmp
takes a picture and returns it in bmp format.
There are other requests that can send data back, i.e.
http://<servername>/axis-cgi/com/ptz.cgi?query=position
retrieves pan and tilt degrees and zoom value (it is a PTZ camera or pan-tilt-zoom, it has two joints that rotate left-right and up-down, and a zoom). In this case, the information is sent in plain text. But I had like you an error 66 in TCP Read.vi.
After debugging "Get HTTP document.vi" I noticed this information is sent back, but due to the error in "TCP Read.vi", it's not transmitted to the remaining TCP functions in execution order, and finally is lost.
In order to debug "Get HTTP document.vi" you'll need to unmark "Reentrant execution" and mark "Allow debugging" in VI Properties->Execution.
The information string enters "TCP Read.vi" by the terminal "buffer in", and leaves it by "buffer out". The next function, "TCP Read Stream.vi" receives also this string, but it's lost in case there's an error in the entry error cluster. So I removed the wire the connects this two TCP VIs, and finally got the string at the "content" terminal.
It may not be the most orthodox solution, but at least it let me continue working. If anybody has fixed this issue conveniently, it'd would interesting to share it with us.
Regards,
Francisco
PS. I was with an internship in USP (Sao Carlos, Brazil) for three months in 2007. In this time I visited many times Campinas and its university. Nice place and really good moments :
Hi, Bruno.
Maybe my case will help you. I've faced a problem similar than yours. I have a network camera whose API is HTTP based, I mean, I can control it using HTTP requests, i.e.
http://myserver/axis-cgi/bitmap/image.bmp
takes a picture and returns it in bmp format.
There are other requests that can send data back, i.e.
http://<servername>/axis-cgi/com/ptz.cgi?query=position
retrieves pan and tilt degrees and zoom value (it is a PTZ camera or pan-tilt-zoom, it has two joints that rotate left-right and up-down, and a zoom). In this case, the information is sent in plain text. But like you I got an error 66 in "TCP Read.vi".
After debugging "Get HTTP document.vi" I noticed this text information is sent back, but due to the error in "TCP Read.vi", it's not transmitted to the remaining TCP functions in execution order, and finally is lost.
In order to debug "Get HTTP document.vi" you'll need to unmark "Reentrant execution" and mark "Allow debugging" in VI Properties --> Execution.
The information string enters "TCP Read.vi" by the terminal "buffer in", and leaves it by "buffer out". The next function, "TCP Read Stream.vi" receives also this string, but it's lost if there's an error in the entry error cluster. So I removed the wire that connects this two TCP VIs, and finally got the string at the "content" terminal.
It may not be the most orthodox solution, but at least it let me continue working. If anybody has fixed this issue conveniently, it'd would interesting to share it with us.
Regards,
Francisco
PS. I was with an internship in USP (Sao Carlos, Brazil) for three months in 2007. In this time I visited many times Campinas and its university. Nice place, nice people and really good moments -
Exception when trying to run baseline_update.bat
Hi,
I am just trying to configure my machine for Endeca Guided Search. I am the steps given in Oracle Endeca Guided Search Getting Started guide. The section i am referring to is :- "Configuring the sample application on a single development server".
1. I have run the deployment template deploy script - No error
2. Ran initialize_services script from the Endeca Deployment Template - No Error
3. To run a baseline update script on the Data Processing (ITL) server:
a. Ran load_baseline_test_data.bat - No Error
b. Ran baseline_update.bat - Getting the below exception (logs):
INFO: [ITLHost] Starting component 'Dgidx'.
Oct 28, 2012 3:55:02 PM com.endeca.soleng.eac.toolkit.script.Script runBeanShellScript
SEVERE: Error communicating with EAC agent while starting component.
Occurred while executing line 32 of valid BeanShell script:
29| Forge.archiveLogDir();
30| Forge.run();
31| Dgidx.archiveLogDir();
32| Dgidx.run();
33|
34| // distributed index, update Dgraphs
35| DistributeIndexAndApply.run();
Oct 28, 2012 3:55:02 PM com.endeca.soleng.eac.toolkit.Controller execute
SEVERE: Caught an exception while invoking method 'run' on object 'BaselineUpdate'. Releasing locks.
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.endeca.soleng.eac.toolkit.Controller.invokeRequestedMethod(Controller.java:923)
at com.endeca.soleng.eac.toolkit.Controller.execute(Controller.java:208)
at com.endeca.soleng.eac.toolkit.Controller.main(Controller.java:87)
Caused by: com.endeca.soleng.eac.toolkit.exception.AppControlException: Error executing valid BeanShell script.
at com.endeca.soleng.eac.toolkit.script.Script.runBeanShellScript(Script.java:132)
at com.endeca.soleng.eac.toolkit.script.Script.run(Script.java:80)
... 7 more
Caused by: com.endeca.soleng.eac.toolkit.exception.EacCommunicationException: Error communicating with EAC agent while starting component.
at com.endeca.soleng.eac.toolkit.component.Component.start(Component.java:153)
at com.endeca.soleng.eac.toolkit.component.BatchComponent.run(BatchComponent.java:66)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at bsh.Reflect.invokeMethod(Unknown Source)
at bsh.Reflect.invokeObjectMethod(Unknown Source)
at bsh.Name.invokeMethod(Unknown Source)
at bsh.BSHMethodInvocation.eval(Unknown Source)
at bsh.BSHPrimaryExpression.eval(Unknown Source)
at bsh.BSHPrimaryExpression.eval(Unknown Source)
at bsh.BSHBlock.evalBlock(Unknown Source)
at bsh.BSHBlock.eval(Unknown Source)
at bsh.BSHBlock.eval(Unknown Source)
at bsh.BSHIfStatement.eval(Unknown Source)
at bsh.BSHBlock.evalBlock(Unknown Source)
at bsh.BSHBlock.eval(Unknown Source)
at bsh.BSHBlock.eval(Unknown Source)
at bsh.BSHIfStatement.eval(Unknown Source)
at bsh.Interpreter.eval(Unknown Source)
at bsh.Interpreter.eval(Unknown Source)
at bsh.Interpreter.eval(Unknown Source)
at com.endeca.soleng.eac.toolkit.script.Script.runBeanShellScript(Script.java:118)
... 8 more
Caused by: An error occurred while trying to start the component: ENDECA_MDEX_ROOT is required for this component,but eac.properties does not contain a valid ENDECA_MDEX_ROOT definition.: ENDECA_MDEX_ROOT is required for this component,but eac.properties does not contain a valid ENDECA_MDEX_ROOT definition.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at org.apache.axis.encoding.ser.BeanDeserializer.<init>(BeanDeserializer.java:104)
at org.apache.axis.encoding.ser.BeanDeserializer.<init>(BeanDeserializer.java:90)
at com.endeca.eac.client.EACFault.getDeserializer(EACFault.java:75)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.axis.encoding.ser.BaseDeserializerFactory.getSpecialized(BaseDeserializerFactory.java:154)
at org.apache.axis.encoding.ser.BaseDeserializerFactory.getDeserializerAs(BaseDeserializerFactory.java:84)
at org.apache.axis.encoding.DeserializationContext.getDeserializer(DeserializationContext.java:464)
at org.apache.axis.encoding.DeserializationContext.getDeserializerForType(DeserializationContext.java:547)
at org.apache.axis.message.SOAPFaultDetailsBuilder.onStartChild(SOAPFaultDetailsBuilder.java:157)
at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501)
at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:179)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:377)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2747)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at com.endeca.eac.client.ComponentControlPortSOAPBindingStub.startComponent(ComponentControlPortSOAPBindingStub.java:263)
at com.endeca.soleng.eac.toolkit.component.Component.start(Component.java:149)
... 31 more
Oct 28, 2012 3:55:02 PM com.endeca.soleng.eac.toolkit.base.LockManager releaseLock
INFO: Released lock 'update_lock'.
Checked the value of com.endeca.mdexRoot in eac.properties. It's C:\\Users\\Aditya\\Endeca\\MDEX\\6.2.2 , which is correct.
Not sure what else to check now. Because of the above exceptions, not able to verify the installation with the JSP reference application. Get the below exception when try to test using host: localhost and port:15000:
status >> invalid ENE location
ENEConnectionException
com.endeca.navigation.ENEConnectionException: Error establishing connection to retrieve Navigation Engine request 'http://localhost:15000/graph?node=0&offset=0&nbins=10&irversion=620'. Connection refused: connect
Regards,
Sachin KakkarAre you executing baseline update using Aditya as a user?
Open command prompt and try executing below command,
echo %ENDECA_MDEX_ROOT% It should give you output as C:\\Users\\Aditya\\Endeca\\MDEX\\6.2.2
HTH
-Pravin -
Hi,
I am running Interactive form through WebDynpro for ABAP in SE80 Tcode.
While running i'm facing below problem.
WebDynpro Exception: ADS: Request start time: Wed Apr 29 06:32:41 CDT 2009(200.101). �ꯂ塈��P
The following error text was processed in the system BAK : WebDynpro Exception: ADS: Request start time: Wed Apr 29 06:32:41 CDT 2009(200.101). �ꯂ塈��P
The error occurred on the application server cypcs_BAK_01 and in the work process 0 .
The termination type was: RABAX_STATE
The ABAP call stack was:
Method: RAISE of program CX_WD_GENERAL=================CP
Method: CREATE_PDF of program CL_WD_ADOBE_SERVICES==========CP
Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/LADOBE==================CP
Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/LADOBE==================CP
Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L8STANDARD==============CP
Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L8STANDARD==============CP
Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L8STANDARD==============CP
Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L7STANDARD==============CP
Method: CONV_VIEW_INTO_VE_ADAPTER_TREE of program CL_WDR_INTERNAL_WINDOW_ADAPTERCP
Method: SET_CONTENT_BY_WINDOW of program CL_WDR_INTERNAL_WINDOW_ADAPTERCP
Please let me know how to resolve this issue.
Thanks
Bhuvaneswarihi
You can take a look at OSS Note :981638 (Dynamic forms are not supported in Web Dynpro ABAP)
Depending on which Support Package you are on, there has been issues with dynamic forms not being interactive. (i.e when you set the 'x' for interactive, you get a short dump)
http://help.sap.com/saphelp_nw2004s/helpdata/en/67/be9442572e1231e10000000a1550b0/frameset.htm
by
Parthi -
HELP! Exception when Programmatically Adding a Portlet to a Page
We have been able to programmatically add WSRP Producers and Portlets into the BEA's local registry with WebLogic Portal 8.1 SP3. When we try to programmatically add a portlet to a page from within a JSP portlet we are hitting an issue. We are getting an exception when we try to call the addPlaceable method on the page instance manager. Here's the code snippet I'm using to programmatically add a portlet to a page:
IPageInstanceManager ipiManager = new PortalCustomizationManagerImpl();
CustomizationContext customizationContext = new CustomizationContext(ProxyPortletManager.LocaleHelper.findLocale("en"));
DesktopDefinitionId desktopDefinitionId = new DesktopDefinitionId("portal", new PortalPath("rdec"), new DesktopPath("enterprisePortal"));
PageInstanceId pageInstanceId = new PageInstanceId(6001);
PortletDefinitionId portletDefinitionId = new PortletDefinitionId(6002);
PlaceholderDefinitionId placeholderDefinitionId = new PlaceholderDefinitionId(2001);
PlaceableInstance placeableInstance = ipiManager.addPlaceable(customizationContext, desktopDefinitionId, pageInstanceId, portletDefinitionId, placeholderDefinitionId, 0);However, I get the following stack trace when the last line executes (ipiManager.addPlaceable):
Error opening /WEB-INF/views/registry/registry.jsp.
The source of this error is javax.ejb.EJBException: DataSource [java:comp/env/jdbc/portalFrameworkPool] not found due to
[javax.naming.NameNotFoundException: While trying to look up comp/env/jdbc/portalFrameworkPool in /app/webapp/portal/38957322.; remaining name 'comp/env/jdbc/portalFrameworkPool']. at com.bea.netuix.application.manager.persistence.jdbc.PortalCustomizationM
anagerImpl.getDataSource()Ljavax.sql.DataSource;(PortalCustomizationMana
gerImpl.java:1420) at
com.bea.netuix.application.manager.persistence.jdbc.PortalCustomizationM
anagerImpl.getConnection()Ljava.sql.Connection;(PortalCustomizationManag
erImpl.java:1396) at
com.bea.netuix.application.manager.persistence.jdbc.PortalCustomizationM
anagerImpl.getPageInstance(Lcom.bea.netuix.application.manager.Customiza
tionContext;Lcom.bea.netuix.application.identifier.PageInstanceId;)Lcom.
bea.netuix.application.instance.PageInstance;(PortalCustomizationManager
Impl.java:401) at
com.bea.netuix.application.manager.persistence.jdbc.PortalCustomizationM
anagerImpl.getPageDefinitionId(Lcom.bea.netuix.application.manager.Custo
mizationContext;Lcom.bea.netuix.application.identifier.PageInstanceId;)L
com.bea.netuix.application.identifier.PageDefinitionId;(PortalCustomizat
ionManagerImpl.java:1438) at
com.bea.netuix.application.manager.persistence.jdbc.PortalCustomizationM
anagerImpl.addPlaceable(Lcom.bea.netuix.application.manager.Customizatio
nContext;Lcom.bea.netuix.application.identifier.DesktopDefinitionId;Lcom
.bea.netuix.application.identifier.PageInstanceId;Lcom.bea.netuix.applic
ation.identifier.PlaceableDefinitionId;Lcom.bea.netuix.application.ident
ifier.PlaceholderDefinitionId;I)Lcom.bea.netuix.application.instance.Pla
ceableInstance;(PortalCustomizationManagerImpl.java:473) at jsp_servlet._web_45_inf._views._registry.__registry._jspService(Ljavax.s
ervlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)
V(registry.jsp:107) at
weblogic.servlet.jsp.JspBase.service(Ljavax.servlet.ServletRequest;Ljava
x.servlet.ServletResponse;)V(JspBase.java:33) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()L
java.lang.Object;(ServletStubImpl.java:996) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.S
ervletRequest;Ljavax.servlet.ServletResponse;Lweblogic.servlet.internal.
FilterChainImpl;)V(ServletStubImpl.java:419) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.S
ervletRequest;Ljavax.servlet.ServletResponse;Lweblogic.servlet.internal.
FilterChainImpl;)V(ServletStubImpl.java:463) at weblogic.servlet.internal.TailFilter.doFilter(Ljavax.servlet.ServletRequ
est;Ljavax.servlet.ServletResponse;Ljavax.servlet.FilterChain;)V(TailFil
ter.java:28) at
weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax.servlet.Servle
tRequest;Ljavax.servlet.ServletResponse;)V(FilterChainImpl.java:27) at com.bea.p13n.servlets.PortalServletFilter.doFilter(Ljavax.servlet.Servle
tRequest;Ljavax.servlet.ServletResponse;Ljavax.servlet.FilterChain;)V(Po
rtalServletFilter.java:351) at
weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax.servlet.Servle
tRequest;Ljavax.servlet.ServletResponse;)V(FilterChainImpl.java:27) at com.bea.wlw.netui.pageflow.PageFlowJspFilter.doFilter(Ljavax.servlet.Ser
vletRequest;Ljavax.servlet.ServletResponse;Ljavax.servlet.FilterChain;)V
(PageFlowJspFilter.java:101) at
weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax.servlet.Servle
tRequest;Ljavax.servlet.ServletResponse;)V(FilterChainImpl.java:27) at weblogic.servlet.internal.RequestDispatcherImpl.include(Ljavax.servlet.S
ervletRequest;Ljavax.servlet.ServletResponse;Z)V(RequestDispatcherImpl.j
ava:628) at
weblogic.servlet.internal.RequestDispatcherImpl.include(Ljavax.servlet.S
ervletRequest;Ljavax.servlet.ServletResponse;)V(RequestDispatcherImpl.ja
va:412) at
com.bea.netuix.servlets.controls.content.JspContent.beginRender(Ljava.io
.Writer;)Z(JspContent.java:483) at
com.bea.netuix.nf.ControlLifecycle$6.visit(Lcom.bea.netuix.nf.UIControl;
Ljava.lang.Object;)Z(ControlLifecycle.java:441) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(Lcom.bea.netuix.
nf.VisitorType;Lcom.bea.netuix.nf.UIControl;Ljava.lang.Object;)V(Control
TreeWalker.java:433) at
com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(Lcom.bea.netuix.
nf.VisitorType;Lcom.bea.netuix.nf.UIControl;Ljava.lang.Object;)V(Control
TreeWalker.java:443) at
com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(Lcom.bea.netuix.
nf.VisitorType;Lcom.bea.netuix.nf.UIControl;Ljava.lang.Object;)V(Control
TreeWalker.java:443) at
com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(Lcom.bea.netuix.
nf.VisitorType;Lcom.bea.netuix.nf.UIControl;Ljava.lang.Object;)V(Control
TreeWalker.java:443) at
com.bea.netuix.nf.ControlTreeWalker.walk(Lcom.bea.netuix.nf.VisitorType;
Lcom.bea.netuix.nf.UIControl;Lcom.bea.netuix.nf.concurrency.ControlTreeW
alkerPool;)V(ControlTreeWalker.java:175) at com.bea.netuix.nf.ControlTreeWalker.walk(Lcom.bea.netuix.nf.VisitorType;
Lcom.bea.netuix.nf.UIControl;)V(ControlTreeWalker.java:95) at com.bea.netuix.nf.Lifecycle.run(Lcom.bea.netuix.nf.UIControl;[Lcom.bea.n
etuix.nf.VisitorType;Lcom.bea.netuix.nf.VisitorMap;)V(Lifecycle.java:388
) at com.bea.netuix.nf.UIControl.render()V(UIControl.java:584) at com.bea.netuix.servlets.controls.PresentationContext.render(Ljavax.servl
et.http.HttpServletRequest;)V(PresentationContext.java:405) at com.bea.netuix.servlets.util.RenderToolkit.renderChild(Lcom.bea.netuix.s
ervlets.controls.PresentationContext;Ljavax.servlet.http.HttpServletRequ
est;)V(RenderToolkit.java:123) at
com.bea.netuix.servlets.jsp.taglib.RenderChild.doStartTag()I(RenderChild
.java:58) at
jsp_servlet._framework._skeletons._rdec.__flowlayout._jspService(Ljavax.
servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;
)V(flowlayout.jsp:33)Could anyone please help? Thank you.
- T.C.sorry for all the replys (but i keep finding stuff)
PortalCustomizationManger is an EJB you can't just
instantiate a new instance
IPageInstanceManager ipiManager = new
PortalCustomizationManagerImpl();
you need to look it up
String JNDI_NAME =
ApplicationHelper.getApplicationName() +
".BEA_netuix.PortalPresentationManager";
portalCustomizationManagerHome =
(PortalCustomizationManagerHome)initialContext.lookup(
JNDI_NAME);
portalCustomizationManager =
portalCustomizationManagerHome.create();No need to apologize for all the replies, they are VERY MUCH appreciated. Thank you.
I tried your suggestion (although I had to change the JNDI lookup to lookup the PortalCustomizationManager instead of the PortalPresentationManager because of a ClassCastException) and I get a NullPointerException. Here is the code I am using:
InitialContext initialContext = new InitialContext();
CustomizationContext customizationContext = new CustomizationContext(ProxyPortletManager.LocaleHelper.findLocale("en"), request);
DesktopDefinitionId desktopDefinitionId = new DesktopDefinitionId("portal", new PortalPath("rdec"), new DesktopPath("enterprisePortal"));
PageInstanceId pageInstanceId = new PageInstanceId(6001);
PortletDefinitionId portletDefinitionId = new PortletDefinitionId(6002);
PlaceholderDefinitionId placeholderDefinitionId = new PlaceholderDefinitionId(2001);
PortalCustomizationManagerHome pageDefinitionManagerHome = (PortalCustomizationManagerHome) initialContext.lookup("RDECPortal.BEA_netuix.PortalCustomizationManager");
PortalCustomizationManager pageDefinitionManager = pageDefinitionManagerHome.create();
PlaceableInstance placeableInstance = pageDefinitionManager.addPlaceable(customizationContext, desktopDefinitionId, pageInstanceId, portletDefinitionId, placeholderDefinitionId, 0);...and here is the full stack trace I get when the code is executed:
Error opening /WEB-INF/views/registry/registry.jsp.
The source of this error is java.rmi.RemoteException: EJB Exception: ; nested exception is: java.lang.NullPointerException at weblogic.ejb20.internal.EJBRuntimeUtils.throwRemoteException(Ljava.lang.String;Ljava.lang.Throwable;)V(EJBRuntimeUtils.java:102) at weblogic.ejb20.internal.BaseEJBHome.handleSystemException(Lweblogic.ejb20.internal.InvocationWrapper;Ljava.lang.Throwable;)V(BaseEJBHome.java:307) at weblogic.ejb20.internal.BaseEJBObject.postInvoke(Lweblogic.ejb20.internal.InvocationWrapper;Ljava.lang.Throwable;)V(BaseEJBObject.java:263) at weblogic.ejb20.internal.StatelessEJBObject.postInvoke(Lweblogic.ejb20.internal.InvocationWrapper;Ljava.lang.Throwable;)V(StatelessEJBObject.java:140) at com.bea.netuix.application.manager.persistence.jdbc.PortalCustomizationManager_z7jdbo_EOImpl.addPlaceable(Lcom.bea.netuix.application.manager.CustomizationContext;Lcom.bea.netuix.application.identifier.DesktopDefinitionId;Lcom.bea.netuix.application.identifier.PageInstanceId;Lcom.bea.netuix.application.identifier.PlaceableDefinitionId;Lcom.bea.netuix.application.identifier.PlaceholderDefinitionId;I)Lcom.bea.netuix.application.instance.PlaceableInstance;(PortalCustomizationManager_z7jdbo_EOImpl.java:1202) at jsp_servlet._web_45_inf._views._registry.__registry._jspService(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(registry.jsp:119) at weblogic.servlet.jsp.JspBase.service(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(JspBase.java:33) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Ljava.lang.Object;(ServletStubImpl.java:996) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Lweblogic.servlet.internal.FilterChainImpl;)V(ServletStubImpl.java:419) at weblogic.servlet.internal.TailFilter.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Ljavax.servlet.FilterChain;)V(TailFilter.java:28) at weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(FilterChainImpl.java:27) at com.bea.p13n.servlets.PortalServletFilter.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Ljavax.servlet.FilterChain;)V(PortalServletFilter.java:351) at weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(FilterChainImpl.java:27) at com.bea.wlw.netui.pageflow.PageFlowJspFilter.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Ljavax.servlet.FilterChain;)V(PageFlowJspFilter.java:101) at weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(FilterChainImpl.java:27) at weblogic.servlet.internal.RequestDispatcherImpl.include(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Z)V(RequestDispatcherImpl.java:628) at weblogic.servlet.internal.RequestDispatcherImpl.include(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(RequestDispatcherImpl.java:412) at com.bea.netuix.servlets.controls.content.JspContent.beginRender(Ljava.io.Writer;)Z(JspContent.java:483) at com.bea.netuix.nf.ControlLifecycle$6.visit(Lcom.bea.netuix.nf.UIControl;Ljava.lang.Object;)Z(ControlLifecycle.java:441) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(Lcom.bea.netuix.nf.VisitorType;Lcom.bea.netuix.nf.UIControl;Ljava.lang.Object;)V(ControlTreeWalker.java:433) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(Lcom.bea.netuix.nf.VisitorType;Lcom.bea.netuix.nf.UIControl;Ljava.lang.Object;)V(ControlTreeWalker.java:443) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(Lcom.bea.netuix.nf.VisitorType;Lcom.bea.netuix.nf.UIControl;Ljava.lang.Object;)V(ControlTreeWalker.java:443) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(Lcom.bea.netuix.nf.VisitorType;Lcom.bea.netuix.nf.UIControl;Ljava.lang.Object;)V(ControlTreeWalker.java:443) at com.bea.netuix.nf.ControlTreeWalker.walk(Lcom.bea.netuix.nf.VisitorType;Lcom.bea.netuix.nf.UIControl;Lcom.bea.netuix.nf.concurrency.ControlTreeWalkerPool;)V(ControlTreeWalker.java:175) at com.bea.netuix.nf.ControlTreeWalker.walk(Lcom.bea.netuix.nf.VisitorType;Lcom.bea.netuix.nf.UIControl;)V(ControlTreeWalker.java:95) at com.bea.netuix.nf.Lifecycle.run(Lcom.bea.netuix.nf.UIControl;[Lcom.bea.netuix.nf.VisitorType;Lcom.bea.netuix.nf.VisitorMap;)V(Lifecycle.java:388) at com.bea.netuix.nf.UIControl.render()V(UIControl.java:584) at com.bea.netuix.servlets.controls.PresentationContext.render(Ljavax.servlet.http.HttpServletRequest;)V(PresentationContext.java:405) at com.bea.netuix.servlets.util.RenderToolkit.renderChild(Lcom.bea.netuix.servlets.controls.PresentationContext;Ljavax.servlet.http.HttpServletRequest;)V(RenderToolkit.java:123) at com.bea.netuix.servlets.jsp.taglib.RenderChild.doStartTag()I(RenderChild.java:58) at jsp_servlet._framework._skeletons._rdec.__flowlayout._jspService(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(flowlayout.jsp:33) at weblogic.servlet.jsp.JspBase.service(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(JspBase.java:33) Caused by: java.lang.NullPointerException at com.bea.netuix.application.manager.persistence.jdbc.PageInstanceDelegate.addPlaceable(Ljava.sql.Connection;Lcom.bea.netuix.application.identifier.DesktopDefinitionId;Ljava.lang.String;Lcom.bea.netuix.application.identifier.PageInstanceId;Lcom.bea.netuix.application.instance.PlaceableInstance;Lcom.bea.netuix.application.identifier.PlaceholderDefinitionId;IZ)Lcom.bea.netuix.application.instance.PlaceableInstance;(PageInstanceDelegate.java:722) at com.bea.netuix.application.manager.persistence.jdbc.PageInstanceDelegate.addPlaceable(Ljava.sql.Connection;Lcom.bea.netuix.application.identifier.DesktopDefinitionId;Ljava.lang.String;Lcom.bea.netuix.application.identifier.PageInstanceId;Lcom.bea.netuix.application.identifier.PlaceableDefinitionId;Lcom.bea.netuix.application.identifier.PlaceholderDefinitionId;I)Lcom.bea.netuix.application.instance.PlaceableInstance;(PageInstanceDelegate.java:669) at com.bea.netuix.application.manager.persistence.jdbc.PortalCustomizationManagerImpl.addPlaceable(Lcom.bea.netuix.application.manager.CustomizationContext;Lcom.bea.netuix.application.identifier.DesktopDefinitionId;Lcom.bea.netuix.application.identifier.PageInstanceId;Lcom.bea.netuix.application.identifier.PlaceableDefinitionId;Lcom.bea.netuix.application.identifier.PlaceholderDefinitionId;I)Lcom.bea.netuix.application.instance.PlaceableInstance;(PortalCustomizationManagerImpl.java:503) at com.bea.netuix.application.manager.persistence.jdbc.PortalCustomizationManager_z7jdbo_EOImpl.addPlaceable(Lcom.bea.netuix.application.manager.CustomizationContext;Lcom.bea.netuix.application.identifier.DesktopDefinitionId;Lcom.bea.netuix.application.identifier.PageInstanceId;Lcom.bea.netuix.application.identifier.PlaceableDefinitionId;Lcom.bea.netuix.application.identifier.PlaceholderDefinitionId;I)Lcom.bea.netuix.application.instance.PlaceableInstance;(PortalCustomizationManager_z7jdbo_EOImpl.java:1192) at jsp_servlet._web_45_inf._views._registry.__registry._jspService(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(registry.jsp:119) at weblogic.servlet.jsp.JspBase.service(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(JspBase.java:33) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Ljava.lang.Object;(ServletStubImpl.java:996) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Lweblogic.servlet.internal.FilterChainImpl;)V(ServletStubImpl.java:419) at weblogic.servlet.internal.TailFilter.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Ljavax.servlet.FilterChain;)V(TailFilter.java:28) at weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(FilterChainImpl.java:27) at com.bea.p13n.servlets.PortalServletFilter.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Ljavax.servlet.FilterChain;)V(PortalServletFilter.java:351) at weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(FilterChainImpl.java:27) at com.bea.wlw.netui.pageflow.PageFlowJspFilter.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Ljavax.servlet.FilterChain;)V(PageFlowJspFilter.java:101) at weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(FilterChainImpl.java:27) at weblogic.servlet.internal.RequestDispatcherImpl.include(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Z)V(RequestDispatcherImpl.java:628) at weblogic.servlet.internal.RequestDispatcherImpl.include(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(RequestDispatcherImpl.java:412) at com.bea.netuix.servlets.controls.content.JspContent.beginRender(Ljava.io.Writer;)Z(JspContent.java:483) at com.bea.netuix.nf.ControlLifecycle$6.visit(Lcom.bea.netuix.nf.UIControl;Ljava.lang.Object;)Z(ControlLifecycle.java:441) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(Lcom.bea.netuix.nf.VisitorType;Lcom.bea.netuix.nf.UIControl;Ljava.lang.Object;)V(ControlTreeWalker.java:433) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(Lcom.bea.netuix.nf.VisitorType;Lcom.bea.netuix.nf.UIControl;Ljava.lang.Object;)V(ControlTreeWalker.java:443) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(Lcom.bea.netuix.nf.VisitorType;Lcom.bea.netuix.nf.UIControl;Ljava.lang.Object;)V(ControlTreeWalker.java:443) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(Lcom.bea.netuix.nf.VisitorType;Lcom.bea.netuix.nf.UIControl;Ljava.lang.Object;)V(ControlTreeWalker.java:443) at com.bea.netuix.nf.ControlTreeWalker.walk(Lcom.bea.netuix.nf.VisitorType;Lcom.bea.netuix.nf.UIControl;Lcom.bea.netuix.nf.concurrency.ControlTreeWalkerPool;)V(ControlTreeWalker.java:175) at com.bea.netuix.nf.ControlTreeWalker.walk(Lcom.bea.netuix.nf.VisitorType;Lcom.bea.netuix.nf.UIControl;)V(ControlTreeWalker.java:95) at com.bea.netuix.nf.Lifecycle.run(Lcom.bea.netuix.nf.UIControl;[Lcom.bea.netuix.nf.VisitorType;Lcom.bea.netuix.nf.VisitorMap;)V(Lifecycle.java:388) at com.bea.netuix.nf.UIControl.render()V(UIControl.java:584) at com.bea.netuix.servlets.controls.PresentationContext.render(Ljavax.servlet.http.HttpServletRequest;)V(PresentationContext.java:405) at com.bea.netuix.servlets.util.RenderToolkit.renderChild(Lcom.bea.netuix.servlets.controls.PresentationContext;Ljavax.servlet.http.HttpServletRequest;)V(RenderToolkit.java:123) at com.bea.netuix.servlets.jsp.taglib.RenderChild.doStartTag()I(RenderChild.java:58) at jsp_servlet._framework._skeletons._rdec.__flowlayout._jspService(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(flowlayout.jsp:33) at weblogic.servlet.jsp.JspBase.service(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(JspBase.java:33) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Ljava.lang.Object;(ServletStubImpl.java:996)
Any ideas why I'm getting a NPE??? Thanks.
- T.C.
Maybe you are looking for
-
Running SAP Business One on a 64-bit server
One of our clients wants to upgrade their server to a 64-bit server running Windows Server 2008. What are the implications of this and do we also need to then use Microsoft SQL Server 2008? I went to this web link: https://websmp103.sap-ag.de/smb/sbo
-
I am about to buy a MacBook Pro 13" and have a question.
I am about to buy a MacBook Pro 13" but need help deciding between the i5 model or the i7. I am in all kinds of engineering classes and will be running heavy programs on it. I will be creating mobile apps, will be using it to create large documents,
-
Date field not working in Query definition
Hello Experts , I am trying to prepare one report which will pull some fields ( extended fields ) from Rfx header page and display in the report . For this I have made one query definition and written SQL query . Now all fields except the date fiel
-
How to use metadata to create folders of images
i have a collection of photos of a high school baseball team. 40 players. The Entire season is approaching 6000 images. I have identified the "Person Shown" in each image in that respective IPTC EXTENSION metadata field. I Want to export each player'
-
My computer monitor wont seem to work I go and turn it on everything its fine and as soon as the welcome screen appear or in a few sec after, the screen starts glitching out and starts turning on and of every 2sec other time it just stays off. i p