Kdebase4-svn: How to create an X-Session?
I've successfully built kdebase4-svn from AUR in the meantime, but now I'm wondering how to create an X-Session for it. Normally you create a kde4.desktop file which runs /opt/kde4/bin/startkde... But this file (startkde) does not exist in kdebase4-svn.. Can anyone help?
Thanks
Maybe something is broken with that kdebase4-svn. If I'm not mistaken, there are 3 individual KDE4 4.1 Beta 1 distributions available for Arch (kdemod's, tanis' and devs'), try one of them.
Similar Messages
-
How to create a new session in JSP file
Usually a child IE window uses same session with parent window. Dose someone know how to create a new session when creating a new IE window by clicking a URL in parent window? The web page is writen by jsp file.
I am not sure of your question. Are you wanting to have 2 Session objects (one for the parent window and another for the child)?
A session is usually created once per client and is stored on the server the session id is carried around in a cookie or a URL rewrite so that everytime the user submits a page you will be able to store/access information.
// this will create a new session object if one doesn't already exist.
HttpServletRequest.getSession( true );
Hope this helps -
How to create a new session by ABAP?
Good afternoon everyone:
This is my first question in the forum, can anybody tell me how to create a new session to display report output in a ALV program? Which function or method can used? I'm freshman.
Thx.
Edited by: Joshua Lee on Nov 21, 2008 10:04 AMHi Joshua,
Welcome To SDN.
I am not clear about your queestion.
if u r doing an ALV report if u give selection screen inputs if press execute buttom or F8 u wil get the report.
if u want the out put in the next screen. you can develop the screen in the module pool
Regards
Rasheed
Edited by: Rasheed salman on Nov 21, 2008 10:25 AM -
I am writing a standalone Java program to login to IdM, then export some objects. However I fail to create a user session. Here is my code and the error I got.
String host = "http://localhost:8181/idm";
URL localurl = new URL (host);
String User = "myconfig";
EncryptedData ed = new EncryptedData("password");
I failed in both
Session mySession = SessionFactory.getSession(host, User,ed);
And
RemoteSession mySession = new RemoteSession(localurl, User, ed);
with error:
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/soap/SOAPExceptionHi,
import com.waveset.session.Session;
import com.waveset.session.SessionFactory;
import com.waveset.util.EncryptedData;
public class Test {
public static void main(String[] args) throws Exception {
EncryptedData ed = new EncryptedData("configurator");
Object o = SessionFactory.getSession("http://localhost:8088/idm/servlet/rpcrouter2","Configurator",ed);
System.out.println(o);
}printed
com.waveset.session.RemoteSession@18f729c
for me.
The error you get implies that you do not have soap.jar in the classpath of your custom application. But even if you had the url you are using should point to the rpcrouter2 servlet of your installation.
The jars i needed to put in the classpath of my testapp
in order for it to get a session in IDM7 were:
activation.jar
idm.jar
idmclient.jar
idmcommon.jar
mail.jar
soap.jar
I think that activation, mail and possibly idm.jar should not
be needed to get a remote session but obviously they are.
Regards,
Patrick -
How to create an apex session in e.g. SQL*Plus?
I would like to establish an apex session using a tool different from SQL Workshop.
How can I achieve this using e.g. SQL*Plus or SQL Developer?
Is there some document on the internet which addresses this question? I couldn't find it yet.First and foremost you need to set the Security Group ID (SGID)
begin
APEX_UTIL.SET_SECURITY_GROUP_ID(APEX_UTIL.FIND_SECURITY_GROUP_ID('MY_WORKSPACE')); -- replace MY_WORKSPACE with yours
end;
then you might need to set an application_id for certain features to work:
select application_id
into apex_application.g_flow_id
from apex_applications
where application_name = 'my_app_name'; -- replace my_app_name with yours
If you need to create a session id, you can get a fresh one with
DECLARE
VAL NUMBER;
BEGIN
VAL := APEX_CUSTOM_AUTH.GET_NEXT_SESSION_ID;
END;
Flavio
http://oraclequirks.blogspot.com
http://www.yocoya.com -
How to create a login session in flex?
Hi there,
I have a flex application with two states. One is a "login" state which is a screen with username and password. The other state is "loggedIn" state which is a screen with a small application. As soon as the user credentials are checked from the back end, based on it's success, I'm changing the state to "loggedIn", else there is a message to the user about login failure in "login" state itself.
My problem is if I'm in "loggedIn" state and if I hit refresh button of the webpage(F5), it goes back to the login screen i.e., it just restarts the application..
How can I control this? Is there something like login session which can do the trick?
Appreciate your help...
-DeepakFlex code:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" applicationComplete="getSession.send()">
<mx:Script>
<![CDATA[
import mx.rpc.events.ResultEvent;
public function getSessionStuff(evt:ResultEvent):void
saveInfo.text = evt.result.info;
]]>
</mx:Script>
<mx:HTTPService id="startSession" showBusyCursor="true" method="POST" url="http://localhost/startSession.php">
<mx:request xmlns="">
<stuffToSave>
{saveInfo.text}
</stuffToSave>
</mx:request>
</mx:HTTPService>
<mx:HTTPService id="getSession" result="getSessionStuff(event)" showBusyCursor="true" method="POST" url="http://localhost/getSession.php"/>
<mx:Button x="602" y="323" label="Start Session" enabled="{saveInfo.text != ''}" click="startSession.send()"/>
<mx:TextInput id="saveInfo" x="563" y="293"/>
</mx:Application>
setSession.php code;
<?php
session_start();
$_SESSION['loggedIn'] = $_POST["stuffToSave"];
?>
getSession.php code;
<?php
session_start();
if($_SESSION['loggedIn'])
echo "<info>".$_SESSION['loggedIn']."</info>";
else
echo "<info>nothing has been saved</info>";
?>
ta daa -
How to create several DB sessions, in ApEx 3.0
Hi, I need more than one DB session in ApEx 3.0.
When I used ApEx 2.2 I can changed using dads parameter: PlsqlMaxRequestsPerSession.
Now it doesn't work. I set it 1000, and when I test it in 3 computers, adding data in temporary table, i can see the same information in each computer.
Best Regards, Kostya Proskudin.Hi gaja,
I got a similar situation in my application.I dont know whether the solution was suitable for u.
what i did was
1.created a tabular form for the (master table) so that the user can create mutiple records.
2.Created another tabular form for the (detail table).This one is a manual tabular form.And i made the (detail tabular form as a conditional display for the selected master tabular form).
But in my case my tables has just 5-6 columns thats why i have managed with the tabular forms.If the table has more columns u cant do this using tabular forms.
Thanks
phani -
[SOLVED] Is It Possible to Create a Telnet Session in URXVT?
Greetings-
Just curious if anyone can tell me how to create a telnet session via rxvt. I saw a thread on here where someone said that it's possible, but I can't find any documentation on it. Just wanted to try it out to connect to my switch which I normally connect to from a tera term emulator.
Thanks guys!
Last edited by w201 (2013-10-03 23:57:02)ewaller wrote:
Just run:
telnet the_address_of_your_switch
Or I missing something profound?
Well it was profound to me until you just showed how easy it is. The magic of learning eh?
Thanks. -
How to create a different browser session within the same profile
Internet Explorer 8 lets you create a new session within a new browser window but how can I do the same with Firefox? I know if you switch user profiles then you can have two browsers in different sessions but I would like to have two sessions using the same user profile.
Sorry, that's not possible with Firefox. Firefox uses a single executable instance to run all windows and tabs, where IE starts another process for each window. Chrome uses a separate process for each tab (or window), which seems real nice until it sucks the life out of an older processor with the "overhead" of all those separate processes.
Depending upon what you want a "different session" for, there are 3 extensions that allow for multiple cookie sessions which allow for multiple, simultaneous logins to the same server. That works to allow the user to log into multiple webmail accounts at the same service provider. <br />
Multifox: <br />
http://br.mozdev.org/multifox/ <br />
Cookie Swap extension: <br />
https://addons.mozilla.org/firefox/3255/ <br />
Cookie Pie extension: <br />
http://www.nektra.com/oss/firefox/extensions/cookiepie/ -
How to Create a Session variable in JSP?
How to create a session variable and add attributes to it?
For example i want to create a session variable called "name" and add value "user" to it? if i try to do it with setAttribute(), it is giving error as both is of type string? how to do it? kindly help meThis is variable what is working in my aplication
String variable;
if(user == null){
user=new String("");
}//if you don'y do this you will have null pointer exception
session.setAttribute("user",user);//put value
String name=(String)session.getAttribu("user"); //get value;
I hope this will help -
How to create a session variable in Apex?
Hello colleagues,
Is there someone do know how to create a session variable in Apex?
How to get them?
Thanks
Best RegardsHello,
What do you mean by 'session variable'? You mean something that stores the value int he users session state?
I really recommend reading the 2-Day Developer guide documentation, there is a complete section on session state -
http://download.oracle.com/docs/cd/E10513_01/doc/appdev.310/e10499/concept.htm#CIHCFHBD
Hope this helps,
John
Blog: http://jes.blogs.shellprompt.net
Work: http://www.apex-evangelists.com
Author of Pro Application Express: http://tinyurl.com/3gu7cd -
How to create a session by AppsLocalLogin.jsp
first, in auth.jsp we check fnd_global.user_name against "ANONYMOUS" to see whether user is logged on.
if not, we invoke AppsLocalLogin.jsp to create a session.
http://server:port/OA_HTML/AppsLocalLogin.jsp?requestUrl=report.jsp%3Fparam1%3Dyyy
the login page shows, page re-directed to report.jsp.
however fnd_global.user_name doesn't work. it still returns "ANONYMOUS".
if user logged on OA normally, then the whole thing worked. it seems fnd_global.user_name doesn't like the way we login.
how should we invoke AppsLocalLogin.jsp so it'll create a proper session?
part of report.jsp:
WebAppsContext ctx =WebRequestUtil.validateContext(request, response);
conn = ctx.getJDBCConnection();
sql = "select fnd_global.user_name from dual";
(we tried to invoke RF.jsp instead.
doesn't work because we don't know how to pass the param1 to report.jsp thru RF.jsp)This is variable what is working in my aplication
String variable;
if(user == null){
user=new String("");
}//if you don'y do this you will have null pointer exception
session.setAttribute("user",user);//put value
String name=(String)session.getAttribu("user"); //get value;
I hope this will help -
How can I create a stateful session bean?
I created a stateless session bean. Now I want to make it be a stateful session bean. How can I do? Where can I find a session bean sample?
Thanks
QingLook at this site. The tutorial explains it all.
Well if you want to convert your stateless EJB to stateful, all you have to do is change the deployment descriptor and re-deploy the ejb. You should be ready to go.
All the best. -
How to create an Apex 3.1 a session context programmatically?
Hi
I want to do some unit testing on some pl/sql procedures that use apex collections. As I am using PL/SQL Developer and I am not connected to the database via Apex, inevitably they fail with the error "invalid parsing schema for the current workspace ID".
How can I create programmatically a session in Apex so I can unit test my code? I am sure I have seen code to do it, but cannot find it anywhere.
Thanks
LuisScott
Thanks for the help!
You say "uncomment the last line if you need to". How do I know if I need to? If the connected user is different from the application parsing schema?
In any case, the connect user is the same as the app parsing schema, and when I ran it without uncommenting that last line I got the error:
ORA-20104: create_collection_from_query_b Error:ORA-20001: Invalid parsing schema for current workspace ID
ORA-06512: at "FLOWS_030100.WWV_FLOW_COLLECTION", line 1223
Then I uncommented it (I granted execute to the package beforehand) but got the same error.
As I said, I am connected as the same database user as the application parsing schema, and the application does not require authentication. Where did it go wrong?
Please see below the code I am using.
Thanks
Luis
declare
l_workspace_id number;
l_application_id number;
l_user varchar2(30);
l_owner varchar2(30);
l_cgivar_name owa.vc_arr;
l_cgivar_val owa.vc_arr;
BEGIN
htp.init;
l_cgivar_name(1) := 'REQUEST_PROTOCOL';
l_cgivar_val(1) := 'HTTP';
owa.init_cgi_env(num_params => 1, param_name => l_cgivar_name, param_val => l_cgivar_val);
l_user := 'ADMIN'; -- authenticated username
l_application_id := 999; -- application ID
l_owner := 'PS'; -- application owner (parsing schema)
for c1 in (select workspace_id
from apex_applications
where application_id = l_application_id)
loop
l_workspace_id := c1.workspace_id;
dbms_output.put_line('l_workspace_id:' || l_workspace_id);
end loop;
wwv_flow_api.set_security_group_id(l_workspace_id);
apex_application.g_instance := 1;
apex_application.g_flow_id := l_application_id;
apex_application.g_flow_step_id := 1;
wwv_flow_custom_auth_std.post_login(p_uname => l_user,
p_session_id => null,
p_flow_page => apex_application.g_flow_id || ':' || 1);
flows_030100.wwv_flow_security.g_parse_as_schema := l_owner;
-- Call the procedure
my_pkg.my_proc; --- ERROR HERE
end; -
How to create a dedicated-server session (to a oracle database)
Hello!
I've installed Oracle SQL Developer (Rel.: 2.1.1.64.45) and Oracle Instant Client (Rel.: 11.1.0.7), my Client is configured to enable connections using tnsnames.ora or host-/easy-naming (sqlnet.ora-entry: NAMES.DIRECTORY_PATH= (TNSNAMES, HOSTNAME)).
Regardless how I configure a database-connection in SQL Developer, I allways "only" get a shared-server connection (even when using a tnsnames.ora-entry with "...(SERVER = DEDICATED)...").
SQL Developer (any release) in combination with ("fat") client 9.2.0.7 (using tnsnames.ora) creates dedicated-server sessions as wanted.
Is there any setting in SQL Developer which dis- and/or enables dedicated-server sessions or is this a feature/problem of Instant Client 11.1.0.7?
Any ideas and/or suggestions?
(Additional Info: There is no difference in this behavior according to the connected database, I work with databases 9.2.0.7, 10.2.0.3, 10.2.0.4, 11.1.0.6 and 11.2.0.1)
With kind regards
KlausHi,
Take a look at the main [ SQL Developer page on OTN|http://www.oracle.com/technology/products/database/sql_developer/index.html]. There is a link you should find useful, it's the Getting Started link under the Migration section. This explains how to download and setup the drivers you need to correct to non-Oracle databases. There are also links to online demonstrations on how to create connections to these databases. See how you go with that material.
It should help.
Sue
Maybe you are looking for
-
Audigy 2 ZS Platinum Pro and Inspire 5.1 Digital 5500
Hi! Why can't i connect this digital speaker system to the external connection box of the Audigy 2 ZS? I've tried the optical as well as the coax-connection. When i run the surround soundtest in the Creative software it only gives me stereo sound in
-
Each time I start Firefox 4.0.1 it opens one copy, then immediately 6 to 8 additional copies are started automatically.
-
Hairline Crack appeared on Z1 from walking around!
Hi, does anyone know if there is some fault with the Z1. I have a hairline crack that has appeared from walking around, sitting or something. It has not been dropped, or misused or anything like that. I'm having to pay for it to be repaired but I'm w
-
Help! problem installing quick time for windows
every time I try to install the install shield wizard goes all the way to the end like it's install and then says "The wizard was interrupted before Quick Time could be completely installed. .... The system has not been modified. To install this prog
-
WebDynPro and Knowledge Management (KM) API
Dear All, I am designing some User Interfaces to access KM Content using WebDynPro. But I cannot get the user (from EP, you can get it like <b>request.getUser()</b>). But in WebDynPro the request object is not available and so I cannot get the <b>com