Essbase services abnoraml shutdown with Get token for user
Hi,
We are facing essbase services abnormal shutdown, with a .xcp file
in XCP file showing below given error, for this issue we have added __GETUSERTOKEN TRUE value in our .cfg files but it's not working.
Exception Log File: /ap01/gema/hyperion/essbase/log00042.xcp
Current Thread Id: 42949552
Signal Number: 0x11=Segmentation Violation
Signal Code: 0x19178024=Unknown
8:23 PM
Thread Id 42949552:
Request Name: Get token for user
Database Name:
User Name:
Start Time: Fri Jun 15 08:20:39 2012
End Time: Pending
Please suggest some solutions on this.
Regards,
Srinivas
See if these doc help you
E-IB: SAML Authentication Failed For Service Operation XXXX. (158,456) error when invoking PS web service with SAML token [ID 1464489.1]
https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=PROBLEM&id=1464489.1
E-IB: Setup and Troubleshooting Guide for SAML Inbound Security [ID 1322740.1]
https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=HOWTO&id=1322740.1
Similar Messages
-
WS-Security and proxy service: Unable to add security token for identity
What the reason of "Unable to add security token for identity" fault in this situation (10.3.1):
I did simple "hello word" proxy service and tried to apply custom policy binding.
WS-Policy is next:
<wsp:Policy wsu:Id="WS-Policy-Siebel"
xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702"
xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<wssp:Identity
xmlns:wssp="http://www.bea.com/wls90/security/policy">
<wssp:SupportedTokens>
<wssp:SecurityToken
TokenType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#UsernameToken">
<wssp:UsePassword
Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText" />
</wssp:SecurityToken>
</wssp:SupportedTokens>
</wssp:Identity>
</wsp:Policy>
Process WS-Security is setted to "yes".
While debugging I see that all works fine - I can authenticate with defined credentials and breakpoints in proxy service flow works fine.
But at the end I get the fault:
Soap fault:
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Header/>
<env:Body>
<env:Fault>
<faultcode>env:Server</faultcode>
<faultstring>Unable to add security token for identity</faultstring>
</env:Fault>
</env:Body>
</env:Envelope>
In console:
<09.06.2010 17:39:18 MSD> <Error> <OSB Security> <BEA-387023> <An error ocurred during web service security inbound response processing [error-code: F
ault, message-id: 1721282272521583996--57dc4ccc.1291cc2282d.-7fab, proxy: OSB Project WS-Security/WSSecurityService, operation: NewOperation]
--- Error message:
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header/><env:Body><env:Fault><faultcode>env:Server</faultcode><faultstring>Un
able to add security token for identity</faultstring></env:Fault></env:Body></env:Envelope>
weblogic.xml.crypto.wss.WSSecurityException: Unable to add security token for identity
at weblogic.wsee.security.wss.SecurityPolicyDriver.processIdentity(SecurityPolicyDriver.java:175)
at weblogic.wsee.security.wss.SecurityPolicyDriver.processOutbound(SecurityPolicyDriver.java:73)
at weblogic.wsee.security.wss.SecurityPolicyDriver.processOutbound(SecurityPolicyDriver.java:64)
at weblogic.wsee.security.WssServerHandler.processOutbound(WssServerHandler.java:88)
at weblogic.wsee.security.WssServerHandler.processResponse(WssServerHandler.java:70)
Truncated. see log file for complete stacktrace
Incoming soap message is:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<wsse:Security soap:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<wsse:UsernameToken wsu:Id="unt_TNNp0cBwU7HyPKoq" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<wsse:Username>testuser</wsse:Username>
<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">testuser</wsse:Password>
</wsse:UsernameToken>
</wsse:Security>
</soap:Header>
<soapenv:Body>
<wss:NewOperation xmlns:wss="http://www.troika.ru/Enterprise/WSSecurityService/">
<in>string</in>
</wss:NewOperation>
</soapenv:Body>
</soapenv:Envelope>
Edited by: Andrey L. on Jun 9, 2010 5:55 PMI thought you were getting that exception when accessing the proxy.
No. Authentification works fine. Proxy body works fine. But at the end of proxy appears the exception.
Sorry for my english - I tried to show this situation on image: http://imglink.ru/show-image.php?id=9c0e0c1719f00289faf11696c6703bc3
Are you getting this exception when routing to a business service which is configured for WS-Security ??
I don't use business service in this test project - only simple proxy service with all logic inside.
PS transformation in replace action is very simple too:
(:: pragma bea:global-element-parameter parameter="$newOperation1" element="ns0:NewOperation" location="WSSecurityService.wsdl" ::)
(:: pragma bea:global-element-return element="ns0:NewOperationResponse" location="WSSecurityService.wsdl" ::)
declare namespace ns0 = "http://www.troika.ru/Enterprise/WSSecurityService/";
declare namespace xf = "http://tempuri.org/OSB%20Project%20WS-Security/Hello/";
declare function xf:Hello($newOperation1 as element(ns0:NewOperation))
as element(ns0:NewOperationResponse) {
<ns0:NewOperationResponse>
<out>Hello, { data($newOperation1/in) }!</out>
</ns0:NewOperationResponse>
declare variable $newOperation1 as element(ns0:NewOperation) external;
xf:Hello($newOperation1)
Edited by: Andrey L. on Jun 10, 2010 12:21 PM -
Need help with Java app for user input 5 numbers, remove dups, etc.
I'm new to Java (only a few weeks under my belt) and struggling with an application. The project is to write an app that inputs 5 numbers between 10 and 100, not allowing duplicates, and displaying each correct number entered, using the smallest possible array to solve the problem. Output example:
Please enter a number: 45
Number stored.
45
Please enter a number: 54
Number stored.
45 54
Please enter a number: 33
Number stored.
45 54 33
etc.
I've been working on this project for days, re-read the book chapter multiple times (unfortunately, the book doesn't have this type of problem as an example to steer you in the relatively general direction) and am proud that I've gotten this far. My problems are 1) I can only get one item number to input rather than a running list of the 5 values, 2) I can't figure out how to check for duplicate numbers. Any help is appreciated.
My code is as follows:
import java.util.Scanner; // program uses class Scanner
public class Array
public static void main( String args[] )
// create Scanner to obtain input from command window
Scanner input = new Scanner( System.in);
// declare variables
int array[] = new int[ 5 ]; // declare array named array
int inputNumbers = 0; // numbers entered
while( inputNumbers < array.length )
// prompt for user to input a number
System.out.print( "Please enter a number: " );
int numberInput = input.nextInt();
// validate the input
if (numberInput >=10 && numberInput <=100)
System.out.println("Number stored.");
else
System.out.println("Invalid number. Please enter a number within range.");
// checks to see if this number already exists
boolean number = false;
// display array values
for ( int counter = 0; counter < array.length; counter++ )
array[ counter ] = numberInput;
// display array values
System.out.printf( "%d\n", array[ inputNumbers ] );
// increment number of entered numbers
inputNumbers++;
} // end close ArrayYikes, there is a much better way to go about this that is probably within what you have already learned, but since you are a student and this is how you started, let's just concentrate on fixing what you got.
First, as already noted by another poster, your formatting is really bad. Formatting is really important because it makes the code much more readable for you and anyone who comes along to help you or use your code. And I second that posters comment that brackets should always be used, especially for beginner programmers. Unfortunately beginner programmers often get stuck thinking that less lines of code equals better program, this is not true; even though better programmers often use far less lines of code.
// validate the input
if (numberInput >=10 && numberInput <=100)
System.out.println("Number stored.");
else
System.out.println("Invalid number. Please enter a number within range."); Note the above as you have it.
// validate the input
if (numberInput >=10 && numberInput <=100)
System.out.println("Number stored.");
else
System.out.println("Invalid number. Please enter a number within range."); Note how much more readable just correct indentation makes.
// validate the input
if (numberInput >=10 && numberInput <=100) {
System.out.println("Number stored.");
else {
System.out.println("Invalid number. Please enter a number within range.");
} Note how it should be coded for a beginner coder.
Now that it is readable, exam your code and think about what you are doing here. Do you really want to print "Number Stored" before you checked to ensure it is not a dupe? That could lead to some really confused and frustrated users, and since the main user of your program will be your teacher, that could be unhealthy for your GPA.
Since I am not here to do your homework for you, I will just give you some advice, you only need one if statement to do this correctly, you must drop the else and fix the if. I tell you this, because as a former educator i know the first thing running through beginners minds in this situation is to just make the if statement empty, but this is a big no no and even if you do trick it into working your teacher will not be fooled nor impressed and again your GPA will suffer.
As for the rest, you do need a for loop inside your while loop, but not where or how you have it. Inside the while loop the for loop should be used for checking for dupes, not for overwriting every entry in the array as you currently have it set up to do. And certainly not for printing every element of the array each time a new element is added as your comments lead me to suspect you were trying to do, that would get real annoying really fast again resulting in abuse of your GPA. Printing the array should be in its own for loop after the while loop, or even better in its own method.
As for how to check for dupes, well, you obviously at least somewhat understand loops and if statements, thus you have all the tools needed, so where is the problem?
JSG -
Problem with LDAP authentication for users in a group
I've gone through several forums attempting to find a solution, but I still can't get authentication to work for users in a particular group within AD. Our ASA is running 9.1(2), and the domain controller is a Windows Server 2012 R2.
I can configure the VPN connection, so that all users can authenticate just fine; however, when I setup the group, there appears to be success, but I'm reprompted to authenticate, and it eventually fails:
[6707] memberOf: value = CN=VPN Access,OU=COMPANY Groups,DC=COMPANY,DC=com
[6707] mapped to IETF-Radius-Class: value = GroupPolicy_COMPANY_SSL_VPN
[6707] mapped to LDAP-Class: value = GroupPolicy_COMPANY_SSL_VPN
[6707] msNPAllowDialin: value = TRUE
I'd be grateful if anyone can point me into the right direction and show me what I'm doing wrong. Thank you.
ldap attribute-map AuthUsers
map-name memberOf IETF-Radius-Class
map-value memberOf "CN=VPN Access,OU=COMPANY Groups,DC=COMPANY,DC=com" GroupPolicy_COMPANY_SSL_VPN
aaa-server LDAP protocol ldap
aaa-server LDAP (COMPANY_PROD_INTERNAL) host 10.10.100.110
ldap-base-dn DC=COMPANY,DC=com
ldap-scope subtree
ldap-naming-attribute sAMAccountName
ldap-login-password *****
ldap-login-dn CN=LDAPAuth,CN=Users,DC=COMPANY,DC=com
server-type microsoft
ldap-attribute-map AuthUsers
group-policy NOACCESS internal
group-policy NOACCESS attributes
vpn-simultaneous-logins 0
vpn-tunnel-protocol ikev1 ssl-client ssl-clientless
webvpn
anyconnect ask none default anyconnect
group-policy GroupPolicy_COMPANY_SSL_VPN internal
group-policy GroupPolicy_COMPANY_SSL_VPN attributes
wins-server none
dns-server value 10.10.100.102
vpn-tunnel-protocol ikev1 ikev2 ssl-client
split-tunnel-policy tunnelspecified
split-tunnel-network-list value SPLIT-TUNNEL
default-domain value net.COMPANY.com
webvpn
anyconnect profiles value COMPANY_SSL_VPN_client_profile type user
tunnel-group COMPANY_SSL_VPN type remote-access
tunnel-group COMPANY_SSL_VPN general-attributes
address-pool COMPANY-SSL-VPN-POOL
authentication-server-group LDAP
authorization-server-group LDAP
authorization-server-group (COMPANY_PROD_INTERNAL) LDAP
default-group-policy NOACCESS
authorization-required
tunnel-group COMPANY_SSL_VPN webvpn-attributes
group-alias COMPANY_SSL_VPN enable
tunnel-group COMPANY_SSL_VPN ipsec-attributes
ikev1 pre-shared-key *****I just figured it out. Under "group-policy GroupPolicy_COMPANY_SSL_VPN attributes", I had to add "vpn-simultaneous-logins 15". Apparently, it was using the value "vpn-simultaneous-logins 0" under the NOACCESS group policy.
-
Configure Drop off library with no permission for users on target document libraries
I have configured content organizer feature and created 3 rules with 3 target document libraries.
Users have only permission on drop off document library.
When they upload, document is moved to target doc lib, but pop-ups message saying you do not have access to view.
Is there a way to stop that message from showing?
We do not want to give permission for users on target libraries.
Thanks,
AbhilashAs per my knowledge, you cannot supress this message
However, you can create a redirection script on Upload.aspx page which will redirect users to home page once document uploaded.
Here is an example of same:
http://social.technet.microsoft.com/Forums/sharepoint/en-US/1c22db84-b652-43bb-b85b-f1757e65e531/redirect-to-a-custom-confirmation-page-after-upload-the-document?forum=sharepointgeneralprevious -
Consuming a Web service thru XI with Web Dynpro for ABAP
Hi all,
Does anyone know how to call a web service thru XI from Web Dynpro ABAP. The web service will call an RFC and bring back some data.
Some guidelines on how to achieve this will be very much appreciated.
Thanks
KG.Hi Kunal,
Do you want to use XI at the runtime of the service ? Usually for a synchronous call, XI is used only at the design time to design the message interface. Using this message interface the proxy class in ur ABAP system can be generated. In the interface method of your proxy class you can call your RFC. Finally generate a webservice out of this proxy class via SPROXY tsn.
Get the WSDL url of this webservice in tsn WSADMIN . Using this url you can call the service (peer-to-peer, no XI involved at runtime) with Webdynpro.
I hope this answers your question.
Regards,Girish -
CFB2 unable to access Services Browser (unable to get metadata for CFC)
Hello --
I'm a novice with CF9.
== Scenario
- Mac OS X v10.6.8
- ColdFusion v9 [updated to latest 9.0.1]
- JRun with integrated WebServer [listen on 8500 port]
- Developer mode
- ColdFusion Builder v2.0.0 Build 277745 [standalone installation]
- Created a simple local CF9 server [localhost, local, 8500, ServerHome /Applications/ColdFusion9, ServerRoot /Applications/ColdFusion9/wwwroot]
- Enabled Debugger Mode in ColdFusion Administrator, test debugger ok, no problem
- RDS Viewer ok
- I'm able to open localhost:8500/CFIDE/administration without any problem
- I'm able to browsing CFIDE WebServer
== Problem
Within CFB2, when I try to open my local CF9 server to inspect RDS Server, I'm unable to view/introspect CFC Components.
I receive an error message "Unable to get meta data for cfc".
- In effect, trying to open cfcexplorer.cfc in componenutils path, I receive a 404 error
== Server Details
Server Details
Server Product
ColdFusion
Version
9,0,1,274733
Edition
Developer
Serial Number
Developer
Operating System
Mac OS X
OS Version
10.6.8
Adobe Driver Version
4.0 (Build 0005)
JVM Details
Java Version
1.6.0_24
Java Vendor
Apple Inc.
Java Vendor URL
http://www.apple.com/
Java Home
/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
Java File Encoding
MacRoman
Java Default Locale
it_IT
File Separator
Path Separator
Line Separator
Chr(10)
User Name
gobbo67
User Home
/Users/gobbo67
User Dir
/Applications/Adobe ColdFusion Builder 2/CFBuilder.app/Contents/MacOS
Java VM Specification Version
1.0
Java VM Specification Vendor
Sun Microsystems Inc.
Java VM Specification Name
Java Virtual Machine Specification
Java VM Version
19.1-b02-334
Java VM Vendor
Apple Inc.
Java VM Name
Java HotSpot(TM) 64-Bit Server VM
Java Specification Version
1.6
Java Specification Vendor
Sun Microsystems Inc.
Java Specification Name
Java Platform API Specification
Java Class Version
50.0
== Extract from application.log
25-giu-2011
22.21
Error
web-29
File not found: /CFIDE/componentutils/cfcexplorer.cfc The specific sequence of files included or processed is: /Applications/ColdFusion9/wwwroot/CFIDE/componentutils/cfcexplorer.cfc''
25-giu-2011
22.21
Error
web-29
Exception thrown by error-handling template:
25-giu-2011
22.21
Error
web-29
File not found: /Applications/ColdFusion9/wwwroot/WEB-INF/exception/coldfusion/runtime/TemplateNotFoundEx ception.cfm The specific sequence of files included or processed is: /Applications/ColdFusion9/wwwroot/WEB-INF/exception/coldfusion/runtime/TemplateNotFoundEx ception.cfm''
== Extract from exception.log
"Error","web-29","06/25/11","22:21:10",,"File not found: /Applications/ColdFusion9/wwwroot/WEB-INF/exception/coldfusion/runtime/TemplateNotFoundEx ception.cfm The specific sequence of files included or processed is: /Applications/ColdFusion9/wwwroot/WEB-INF/exception/coldfusion/runtime/TemplateNotFoundEx ception.cfm'' "
coldfusion.runtime.TemplateNotFoundException: File not found: /Applications/ColdFusion9/wwwroot/WEB-INF/exception/coldfusion/runtime/TemplateNotFoundEx ception.cfm
My problem is probably similar to http://forums.adobe.com/thread/503319
Any suggest is appreciate.
Alex/Hello --
after spending many hours I'm believe that probably my concern arent related to CFBuilder [or not only] but also with CF9 installation on Mac OS X.
Attached you can find screen-shot about second page of Server Setup. Please note that I have configured a *local* server (not remote) with a developer environment.
Additional info; after checking in detail, I have noted that integrated WebServer (that I'm believe is JRun based) listen on 8500 is unable to open any .cfm page.
Under a directory created in WebRoot [Applications\ColdFusion9\wwwroot\Education] I have created a dumb index.cfm page, but that isnt executed.
But whem I go in CFIDE\administration all is working nicely.
Where can I check about integrated WebServer configuration, handler, etc?
== Error from Local CF9 server.log
27/06 09:02:01 error Requested resource 'File not found: /Education/index.cfm' (File%20not%20found%3a%20%2fEducation%2findex.cfm) not found
java.lang.IllegalStateException
at jrun.servlet.JRunResponse.getWriter(JRunResponse.java:205)
at jrun.servlet.JRunResponse.sendError(JRunResponse.java:597)
at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:316)
at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
at jrun.servlet.http.WebService.invokeRunnable(WebService.java:172)
at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)
at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
== About starting server.log
"Information","main","06/27/11","08:49:04",,"Starting logging..."
"Information","main","06/27/11","08:49:04",,"Starting license..."
"Information","main","06/27/11","08:49:04",,"Invalid ColdFusion 9 license."
"Information","main","06/27/11","08:49:04",,"Invalid ColdFusion 9 license."
"Information","main","06/27/11","08:49:04",,"Developer Edition enabled"
"Information","main","06/27/11","08:49:04",,"Starting crypto..."
"Information","main","06/27/11","08:49:04",,"Installed JSafe JCE provider: Version 3.6 RSA Security Inc. Crypto-J JCE Security Provider (implements RSA, DSA, Diffie-Hellman, AES, DES, Triple DES, DESX, RC2, RC4, RC5, PBE, MD2, MD5, RIPEMD160, SHA1, SHA224, SHA256, SHA384, SHA512, HMAC-MD5, HMAC-RIPEMD160, HMAC-SHA1, HMAC-SHA224, HMAC-SHA256, HMAC-SHA384, HMAC-SHA512)"
"Information","main","06/27/11","08:49:04",,"Starting security..."
"Information","main","06/27/11","08:49:04",,"Starting scheduler..."
"Information","main","06/27/11","08:49:04",,"Starting WatchService..."
"Information","main","06/27/11","08:49:04",,"Starting debugging..."
"Information","main","06/27/11","08:49:04",,"Starting sql..."
"Information","main","06/27/11","08:49:05",,"Pool Manager Started"
"Information","main","06/27/11","08:49:05",,"Starting mail..."
"Information","main","06/27/11","08:49:05",,"Starting runtime..."
"Information","main","06/27/11","08:49:05",,"CORBA Configuration not enabled"
"Information","main","06/27/11","08:49:05",,"Starting cron..."
"Information","main","06/27/11","08:49:05",,"Starting registry..."
"Information","main","06/27/11","08:49:05",,"Starting client..."
"Information","main","06/27/11","08:49:06",,"Starting xmlrpc..."
"Information","main","06/27/11","08:49:06",,"Starting graphing..."
"Information","main","06/27/11","08:49:07",,"Starting verity..."
"Information","main","06/27/11","08:49:07",,"Starting solr..."
"Information","main","06/27/11","08:49:07",,"Starting archive..."
"Information","main","06/27/11","08:49:07",,"Starting document..."
"Information","main","06/27/11","08:49:07",,"Starting eventgateway..."
"Information","main","06/27/11","08:49:07",,"Starting FlexAssembler..."
"Information","main","06/27/11","08:49:07",,"Starting .NET..."
"Information","main","06/27/11","08:49:07",,"Starting Monitoring..."
"Information","main","06/27/11","08:49:07",,"ColdFusion started"
27/06 08:49:07 user ColdFusionStartUpServlet: ColdFusion: application services are now available
27/06 08:49:07 user CFMxmlServlet: init
27/06 08:49:07 user CFMxmlServlet: Macromedia Flex Build: 87315.134646
27/06 08:49:07 INFO Macromedia Flex Build: 87315.134646
27/06 08:49:08 user CFSwfServlet: init
27/06 08:49:08 user CFCServlet: init
27/06 08:49:09 user FlashGateway: init
27/06 08:49:09 user MessageBrokerServlet: init
27/06 08:49:09 user CFFormGateway: init
27/06 08:49:09 user CFInternalServlet: init
27/06 08:49:09 user WSRPProducer: init
27/06 08:49:10 user ServerCFCServlet: init
Server coldfusion ready (startup time: 10 seconds)
06/27 08:49:20 [Thread-15] WARN PDFM_W19004: The system font "/Library/Fonts/Baskerville.ttc" could not be loaded.
com.adobe.fontengine.font.InvalidFontException: Data could not be copied
at com.adobe.fontengine.font.opentype.FontFactory$TableToLoad.load(Unknown Source)
at com.adobe.fontengine.font.opentype.FontFactory$FontToLoad.load(Unknown Source)
at com.adobe.fontengine.font.opentype.FontFactory$TTCToLoad.load(Unknown Source)
at com.adobe.fontengine.font.opentype.FontFactory.load(Unknown Source)
at com.adobe.fontengine.font.opentype.FontFactory.load(Unknown Source)
at com.adobe.fontengine.fontmanagement.FontLoader.loadFont(Unknown Source)
at com.adobe.fontengine.fontmanagement.FontLoader.load(Unknown Source)
at com.adobe.internal.pdfm.util.FontSetBuilder.loadFontsPath(FontSetBuilder.java:385)
at com.adobe.internal.pdfm.util.FontSetBuilder.loadFontsPath(FontSetBuilder.java:472)
at com.adobe.internal.pdfm.util.FontSetBuilder.initFonts(FontSetBuilder.java:175)
at com.adobe.internal.ddxm.Executive.initFonts(Executive.java:573)
at coldfusion.document.DocumentServiceImpl.callAssemblerInitFonts(DocumentServiceImpl.java:1 249)
at coldfusion.document.DocumentServiceImpl.initializeDocumentService(DocumentServiceImpl.jav a:230)
at coldfusion.document.DocumentServiceImpl.access$000(DocumentServiceImpl.java:52)
at coldfusion.document.DocumentServiceImpl$1.run(DocumentServiceImpl.java:180)
27/06 08:53:14 user RDSServlet: init
27/06 08:53:14 user RDSServlet: init
27/06 08:53:14 user RDSServlet: init
27/06 08:53:14 user RDSServlet: init
27/06 08:53:14 user RDSServlet: init
27/06 08:53:14 user RDSServlet: init
27/06 08:53:14 user RDSServlet: init
27/06 08:53:14 user RDSServlet: init
27/06 08:53:14 user RDSServlet: init
27/06 08:53:14 user RDSServlet: init
27/06 08:53:14 user RDSServlet: init
27/06 09:00:52 user FileServlet: init -
Map Coord, Tile , problems with getting tile for a coord
Hello,
I got a following question of which i unfortunately don't see the answer ...
I've a class Coordinate and a class Tile.
Now when i'm loading the tiles,
format: x y z color ...
i put them in a Map Map<Coord, Tile>, where coord is x,y,z and Tile contains color etc
so basically i want to do is this:
Coordinate c = new Coordinate(1,1,0);
map.get(c);But this returns null because it isn't mapped ...
I know by creating a new coordinate it creates a new object, so it's normal it returns null.
Though i want something like that so i can call the method above, but i just don't see it.
The only way i can think of is looping through the keys, getting x, y and z of them, and check if they equal
the x y and z of the new coordinate. Still i don't know if this would be a good solution, as i have - 10000 coords and about 5 differen heights so about - 50000 coordinates
Any ideas ?
Thanks in advance!
Edited by: Kolarius on Apr 28, 2009 11:48 AMYour Coordinate class needs to override the hashCode and equals methods in a suitable manner. Read about those methods in the API documentation for java.lang.Object.
-
How to make a PDF form call Web service and return a static pdf for user to print?
Hi all,
Can anyone help me regarding the feasibility of using PDF forms for my following case?
I would like to create a Dynamic pdf form. User only have the Acrobat reader. they can enter some information. Then have a submit button. when user click the submit button, it can call the web service with data. then Web service returns a Static PDF document based on data and the user can print it out. (and maybe save as separate pdf file)
1. Is that possible to implement? Because I know PDF can call web service, but dont know how it handle when the webservice returns another static PDF document. could it able to handle the responds and open up in another acrobat reader?
2. As I understand I need to have Live Cycle Designer to create a pdf and make it Reader Enabled. So user can user reader to call webservice? am I correct?
3. What minimum reader that user need to have? PDF reader 7 or above?
4. I have a webservice serve the same purpose for web. But if I want the same web services can serve both web and PDF form. So, whatever client (PDF or Web)make the web service call, server returns the PDF document to client. Is that possible ? Do I need to make any changes on web service?
5. Do I need to get any other Adobe server product? (other than Live Cycle Designer )
Thanks a lotWe have done a similar approach in the past and yes, it can be doable.
1. Is that possible to implement? Because I know PDF can call web service, but dont know how it handle when the webservice returns another static PDF document. could it able to handle the responds and open up in another acrobat reader?
Srini: We have developed a Servlet to talk to Webservice. Based on the Webservice response, the Servlet, prepares the Byte stream and sends it to Webbrowser to display as a PDF. The PDF data was submitted to Servlet in XML format.
But if you do not want to use the above approach, then you have to use the Workbench Process.
Submit the PDF data to a Workbench process and the inside process, execute Webservice Service with the data. Once the response is received, prepare the data XML and render a PDF with it.
To do this, you need LiveCycle Server and Reader Extensions server component.
2. As I understand I need to have Live Cycle Designer to create a pdf and make it Reader Enabled. So user can user reader to call webservice? am I correct?
Srini: If you want to use the Servlet, you can Reader extend the PDF with Acrobat.. But if you want to submit the data directly to Webservice, then you need Reader Extensions server component.
3. What minimum reader that user need to have? PDF reader 7 or above?
Srini: Not sure but Reader 8 and above should work.
4. I have a webservice serve the same purpose for web. But if I want the same web services can serve both web and PDF form. So, whatever client (PDF or Web)make the web service call, server returns the PDF document to client. Is that possible ? Do I need to make any changes on web service?
Srini: If you use the Servlet approach, then you can re-use the same webservice. But if you want to submit directly to the same webservice, you may need to change it to suit your data XML.
5. Do I need to get any other Adobe server product? (other than Live Cycle Designer )
Srini: If you use the Servlet approach, you do not need any server component but other approach, you need Livecycle Server and Reader Extensions server component.
Thanks
Srini -
Modify Std. code to get value for User Exit.
I am executing release strategry at user exit EXIT_SAPLEBND_002 ( Exit Name M06E0004 ), for the field ( USRN1)
This has got user program ZXM06U22 in it. In this exit I get values from I_CEKKO , IT_BEKPO, IT_BEKET, IT_EKKNU
and I have to pass the PO value from these structures to E_CEKKO-USRN1 ( This field has set in SPRO setting ) .
I get the PO value as per standard calculation in the field IT_BEKPO-EFFWR , I also get a value in I_CEKKO-GNETW. However not one of both these values satisfy any one of my conditions. My document condition is defined in SPRO as ZVPA and values against it is calculated considering Taxes On PO. The fields EFFWR or GNETW does not include taxes. And my release startegy should get executed after considering the amount with taxes.
After debugging a lot I have found that the PO_AMOUNT can be obtained from the Internal Table TKOMV. In this it is stored at TKOMV-KAWRT. I can get the TKOMV values at the point where this user-exit is called.
i.e. in program MM06EF0S_STRATEGIE_CEKKO in the last you can see the call to user exit wriiten as below
CALL FUNCTION 'EXIT_SAPLEBND_002'
EXPORTING
i_cekko = cekko
it_bekpo = pot[]
it_beket = ett[]
it_ekknu = knt[]
IMPORTING
e_cekko = cekko.
If I put the debugger on CALL FUNCTION 'EXIT_SAPLEBND_002 and go to TABLES tab and enter there 'TKOMV'
I can get the table and it's values. However If I press F5 then I go inside my exit code i.e. ZXM06U22. But Here I Don't Get access to the internal table TKOMV , which is accessible from main calling program MM06EF0S_STRATEGIE_CEKKO.
My job can be done if I get value from TKOMV inside the code of ZXM06U22. However to get that code in ZXM06U22 what right now I can do is to get the access key of MM06EF0S_STRATEGIE_CEKKO and write code before exit Call and pass the ZVPA from TKOMV there. However many people here advised me not to do that since it is a STANDARD CODE.
So I would like to know your suggestion in this regard.
AmolHi All
Thanks for your quick replies. I wrote code below in my exit. But I am getting Compilation error at following line ( In Bold )
DATA: l_name(50).
DATA: my_tkomv TYPE TABLE OF komv.
<b>FIELD-SYMBOLS: <tkomv> type standard table of komv.</b>l_name = '(SAPMMM06E)TKOMV[]'.
ASSIGN (l_name) TO <tkomv>.
my_tkomv[] = <tkomv>.
The error is below
"," expected after "TABLE".
I don't know whether TYPE TABLE OF is correct or not.
I will be glad If I get some further help.
Amol -
Problem with import statement for user created classe
I recently downloaded J2sdk1.4.0_03 before that I had jdk1.3 and never had this problem.All the files other than named package I import for my
application does not compile.But when I commented that out it work just fine.
any help is appreciatedthanks
It makes sense not to import non-packaged class.
My other problem is with JDBC ODBC.I have a Dell system with Windows XP.
I registered my User Data Source to ODBC with MS Text driver(.txt , csv).When the code reaches at the .executeUpdate(CREAT TABLE CUSTOMERS)
it throws an exception
sQLException 3:java.sql.SQLException: [Microsoft][ODBC Text Driver] Cannot modify the design of table 'CUSTOMERS'. It is in a read-only database.
Do I really need to change the attribues or some thing else.
How can I chane the attributes of the database.Never had problem with windows 98. -
ISE: create rules with AD groups for Users and Computers
Hello,
We've just begun to work with ISE.
Is it the good place to post on ISE, or there is a dedicated forum in another place?
We'd like to create some rule depending of Computer member groups AND Users member groups from AD, but we meet some difficulties.
We've created AD groups for Computers and Users depending of their Department:
Users_1
Users_2
Computers_1
Computers_2
When we create some basics rules regarding one group only:
- with a group Computers_x to attribute a specific VLAN to a computer (when no Windows session is opened), it runs correctly.
- with a group Users_x to attribute a specific VLAN to an user (when Windows session is opened), it runs correctly.
But when we create a rule regarding a group from Computers and one from Users, to attribute a specific VLAN to an user on a specific computer, this rule is not applied.
Is it possible to use ISE on this way?
Thanks for help.
Regards,
ChrisEnable EAP Chaining— if you want Cisco ISE to allow authentication of both machine and user in the same EAP-FAST authentication.
http://www.cisco.com/en/US/solutions/collateral/ns340/ns414/ns742/ns744/docs/howto_80_eapchaining_deployment.pdf -
WebI Report using BW Query (Getting Error for User Response Function)
Hello Experts,
I have created WebI Report on top of BW query. All the prompts are coming from BW query. I was trying to create user response function but it's not working. Do I need to use special function or I can't use.
Any help would be highly appreciated.
Thanks
Nisnikihi Nisniki,
take a look here:
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c0a45246-ce76-2b10-e688-f5c8206203eb
Ingo -
Error from sample JAX-WS security from documentation: Failed to get token
I am trying example 2-1 for the server and 2-3 for the client and i am using WLS 10.3.5:
http://docs.oracle.com/cd/E21764_01/web.1111/e13713/message.htm#CDEBIJEJ
i get some errors when trying to compile/generate the source listed, but i work around those.
and i hardcode some values ( like username/password, keystore locations, etc).
i can deploy the web service successfully and execute the client.
I have some debugging turned on, so i see that the messages are being successfully encrypted and decrypted.
However, i get an exception back from the server:
[java] Exception in thread "main" javax.xml.ws.soap.SOAPFaultException: Failed to get token for tokenType: http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3
[java] at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:197)
[java] at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:122)
[java] at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:125)
[java] at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:95)
[java] at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:136)
[java] at $Proxy30.echo(Unknown Source)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:597)
[java] at weblogic.wsee.jaxws.spi.ClientInstanceInvocationHandler.invoke(ClientInstanceInvocationHandler.java:84)
[java] at $Proxy31.echo(Unknown Source)
[java] at wssp12.wss10.Test.main(Unknown Source)
For the Service:
I have used exactly the same policies from the example.
i did have to comment out the @WLHTTPTransport clause ( the error gives me the impression it is no longer supported )
For the client:
The generated port no longer takes just string for the wsdl url, so i don't pass in a url at all. i let it use the URL from the client gen process. I also hard coded a username/password i created.
any thoughts?
These examples don't mention anything about Secure Token Server ( although, i see it mentioned later down the page after other examples ). Do these examples require an STS be configured? or is that unrelated to my exception?
Thanks for the help!!!
Follow up:
i added the following ( which i think should take care of the STS part i was asking about):
61 String sts="https://TESTUESR0:7002/UsernameTokenPlainX509SignAndEncrypt/simpleSecureService";
62 requestContext.put(weblogic.wsee.jaxrpc.WLStub.WST_STS_ENDPOINT_ON_WSSC,sts);
but this made no difference.
Edited by: user733322 on Feb 17, 2012 7:38 AMDTC was running on remote computer. The problem was it was no longer accepting transactions from remote servers. This was in SSIS so I had to turn to "Transaction Supported" for all Data Flow Transactions.
Greg Hanson -
Obtain a primary token for a user who does not have permission to logon locally
I would like to know whether it's possible to obtain a primary token for a user who doesn't have permission to log on locally. If yes, what the recommended way is for doing that.
I called LogonUserW with logon32_logon_network logontype for user which is not allowed to logon locally. It returned impersonation token. I called DuplicateTokenEx to create primary token but it still returned impersonation token.A Network Logon is always going to return an impersonation token. This is by design.
A Batch or Service logon would return a Primary Token. The user would need the corresponding right to return these 2 types of token. Typically, all users are allowed to generate a Network Token (Impersonation Token) but as you have discovered
it has limited usage which is by design.
thanks
Frank K [MSFT]
Follow us on Twitter, www.twitter.com/WindowsSDK
Maybe you are looking for
-
Problem with Fonts for my Dunning form using SO10
Hello Gurus, I have developed a Form for Dunning and have assigned 2 different standard texts (using SO10) for 2 dunning levels and I assigned the same paragraph format for both.(in my case P5 is paragraph format). I am using the same printer to prin
-
Videos won't play in IE 8 or Firefox 14 on XP Pro SP3
These flash players (11.4.402.265), (11.3.300.271) and v. 10.3, will not play videos in IE (8.0.6001.18702) or Firefox (14.0.1) on my Windows XP Pro SP3 laptop computer. I have discovered that if I use YouTube's secure https:// option that the videos
-
Enhanced M4a not working in iTunes 11.0.3 & 11.0.4
Having just spent months prepping an enhanced podcast for launch, I find that it will not display art or links in iTunes 11.0.3 or 11.0.4. My podcast was designed around the m4a format and it would be difficult to change. Brian Fischer Question 1: A
-
Show HTML content as TextBlock string
I need to show some string parsed as HTML content like TextBlock text i.e. no scrolling in text and size of control auto adjusts to size of string. I thought of converting the html to string and set this as content of textblock but I also want the fo
-
Java.rmi.NoSuchObjectException
HI all Can anyone help regrding the following error. java.rmi.NoSuchObjectException: CORBA OBJECT_NOT_EXIST 9998 Maybe; nested exception is: INFO: CORE3282: stdout: org.omg.CORBA.OBJECT_NOT_EXIST: vmcid: 0x2000 minor code: 1806 completed: Maybe I got