Tracking with LMS and Database
I want to do this, can someone tell me how.
Need to create an index of contents in the Flash file (SWF object) i.e. Entering formulas, Editing formulas, Deleting formulas (total 3 topics). I know how to create a index of content. Once the learner completes a particular topic i.e. entering formulas, a completion value should be sent to the DB using PHP or Java script indicating that out of total 3 topics, 1 topic is completed or 2 topics are remaining.
Whenever the learner completes a particular topic / module within a Captivate , a completion value needs to stored and sent using PHP or JavaScript. Our DataBase will pickup that value for our user level tracking and reporting purposes.
I will appreciate help from all quaters.
There is no way you could have read the tutorial in 2 minutes. So read the tutorial and then ask specific questions.
i wont to get information from the database columns and put it into a textfield This is not a specific question. We don't know if you are having problems:
a) building the database
b) connecting to the database
c) building the sql statement
d) reading data from the ResultSet
e) adding a JTextField to a JFrame
Have you built a simple application that just does a query of the database and then uses System.out.println(...) to display the resutls?
Similar Messages
-
Performance with MySQL and Database connectivity toolbox
Hi!
I'm having quite some problems with the performance of MySQL and Database connectivity toolbox. However, I'm very happy with the ease of using database connectivity toolbox. The background is:
I have 61 variables (ints and floats) which I would like to save in the MySQL-database. This is no problem, however, the loop time increases from 8ms to 50ms when using the database. I have concluded that it has to do with the DB Tools Insert Data.vi and I think that I have some kind of performance issue with this VI. The CPU never reach more the 15% of its maximum performance. I use a default setup and connect through ODBC.
My questions are:
1. I would like to save 61 variables each 8-10ms, is this impossible using this solution?
2. Is there any way of increasing the performance of the DB Tools Insert Data.vi or use any other VI?
3. Is there any way of adjusting the MySQL setup to achieve better performance?
Thank you very much for your time.
Regards,
MattiasFirst of all, thank you very much for your time. All of you have been really good support to me.
>> Is your database on a different computer? Does your loop execute 61 times?
Database is on the same computer as the MySQL server.
The loop saves 61 values at once to the database, in one SQL-statement.
I have now added the front panel and block diagram for my test-VI. I have implemented the queue system and separate loops for producer and consumer. However, since the queue is building up faster then the consumer loop consumes values, the queue is building up quite fast and the disc starts working.
The test database table that I add data to is created by a simple:
create table test(aa int, bb char(15));
...I'm sure that this can be improved in some way.
I always open and close the connection to the database "outside the loop". However, it still takes some 40-50 ms to save the data to the database table - so, unfortunatly no progress to far. I currently just want to save the data.
Any more advise will be gratefully accepted.
Regards,
Mattias
Message Edited by mattias@hv on 10-23-2007 07:50 AM
Attachments:
front panel 2.JPG 101 KB
block diagram.JPG 135 KB -
Communicating with LMS and System Users
Thanks in advance for your help. I am looking for a solution and wondering if my request is even possible. Our training module needs to be able to communicate with our clients LMS and determine whether a user has taken our course previously or not. This functionality should guide the user to a specific path depending on their history. Is this even possible!? if so PLEASE HELP! Thanks again in advance!
Hines,If you manage to get the LMS to send this information in the form of a URL variable (e.g. www.mycourse.com?userName=Fred&doneCourseBefore=1) then there are ways to get that information from the URL via Javascript and then ActionScript into the course.
I think Jim Lechlitner wrote a post on something similar a while back on these forums. He's the JavaScript guru around here. I couldn't find the exact post, but here's one that should get you some useful info about using JS with Captivate: http://forums.adobe.com/message/3645857#3645857 -
Differences between client copy with sap_all and database copy
What's the difference between client copy with sap_all and doing a database copy.
I know if I do a database copy from Production to our Quality system.
I need to install the license key
restore the production library to the quality library
Initialize TMS and so on.
I know if I want to copy to our Development system. I would need to run either a remote client copy or and export/import since I cannot do a database copy because I would loose all my other clients in Development.
My question is, if the quality systems and the production systems are on the same support packs, same kernel.
What does a database copy give you (besides being faser) that a remote client copy or export/import of a client copy does.
Any differences
Thanks
JoeHello Joe,
If there is inconsistent Z tables between QAS and PRD, remote client copy could fail, especially when the table on PRD has longer length or more fields than the one on QAS.
Also the source client should has no-activity during the client copy, otherwise the application data could be inconsistent. For example, some material documents are copied, but not the corresponding financial documents. (For PRD client, it could be hours between the times those tables are copied.) For database restore, it is rarely an issue.
Best regards,
Victor -
Troubles with LMS and Explorer
Goodmorning everybody,
The past two months i've been trying to create a aw-piece
that works in a LMS (SABA).
Finally, technical speaking, it works. Still I have my doubts
about it....
First, i've have used a java-code which communicates with the
lms, this code was from an existing
file called 'Testbed', came along with AW, after a lot of
puzzling it works. Still initializing the LMS takes a lot of time
Sometimes about 10, 15 seconds. I've also used the KO LMS
Initialize, it takes even longer, 30 seconds. Is this
normal ? Because in the CBT there are also questions, and i'm
writing the results, questions-id e.g to the LMS,
it also takes 3 or 4 seconds. Normal ?
The version of java we use is 1.4.2. We have notices that
older versions don't work with SABA. At home I have version Java
1.5
It seems to me it works better, but is this a feeling or
fact?
On the other hand, the course runs on our intranet, and i
can't figure out how much effect the server has on the
performance of the CBT. After starting up the java console
(and the cbt), i'm able to see two messages which alert me,
first the message 'connection thread gets into wait', and
straight after,10 or 20 seconds later
'failed to assert permission from microsoft policy engine'.
After this message, everything works, data is transmitted and
the cbt/lms works. It doesn't matter whether i use my own
code or the lms-KO's, i always see these messages.
Does anybody recognize the messages, and know where they come
from, and can i do anything about them?
Last point. I notice that sometimes, say one out of fifteen
times starting the cbt, the explorer 'is not responding' when
quitting
the cbt. It always happens when i'm quitting the cbt, never
during start up. Is this a known problem ? Has it something to do
with
the LMS, or communication. I have no idea, but it irretates
me a lot to see so this message. The trainee has to do the whole
course again, because aw failed to write it's data to the LMS.
Finally, has somebody published pieces running and
communicating with the LMS SABA before. Did it all work, any nasty
bugs or other bad experiences ?
I hope i've given enough information to receive some help
from you,
thanks on forhand,
greetings MarcThis sounds pretty complex!
My first thought is to blame the LMS. Do you have any
non-Authorware
courses which do work correctly?
There should be no need to have a JRE (Java Runtime)
installed, unless
the LMS requires it. For the LMS I most often use (Inquisiq),
Javascript
is used to handle the communication between the SCO and the
LMS API, not
Java...but Java is certainly an alternative and could indeed
be what
Saba used to create their API...
The communication with the API should certainly not take too
long -
especially on an intranet - unless a lot of info is being
passed. The
biggest delays I notice in our work is when I'm saving quiz
results and
bookmarks, and even then it's not more than a few seconds.
The
initialization process should happen quickly.
It sounds like your getting timeouts - though were that true,
the LMS
would not be initialized at all.
Can you test with an older version of Windows/Explorer than
came with
Microsoft's JRE? I assume you are using the Sun release -
which should
work fine, but maybe one way to test is to use, say, IE 5.5
under
Windows 2000 which may already have the MS JVM installed...
Or, alternatively, what if you try another browser? Or does
Saba only
support IE...
Have you talked to Saba about this?
Erik
PaRaMarcc wrote:
> Goodmorning everybody,
>
> The past two months i've been trying to create a
aw-piece that works in a LMS
> (SABA).
> Finally, technical speaking, it works. Still I have my
doubts about it....
>
> First, i've have used a java-code which communicates
with the lms, this code
> was from an existing
> file called 'Testbed', came along with AW, after a lot
of puzzling it works.
> Still initializing the LMS takes a lot of time
> Sometimes about 10, 15 seconds. I've also used the KO
LMS Initialize, it takes
> even longer, 30 seconds. Is this
> normal ? Because in the CBT there are also questions,
and i'm writing the
> results, questions-id e.g to the LMS,
> it also takes 3 or 4 seconds. Normal ?
>
> The version of java we use is 1.4.2. We have notices
that older versions don't
> work with SABA. At home I have version Java 1.5
> It seems to me it works better, but is this a feeling or
fact?
>
> On the other hand, the course runs on our intranet, and
i can't figure out how
> much effect the server has on the
> performance of the CBT. After starting up the java
console (and the cbt), i'm
> able to see two messages which alert me,
> first the message 'connection thread gets into wait',
and straight after,10 or
> 20 seconds later
> 'failed to assert permission from microsoft policy
engine'. After this
> message, everything works, data is transmitted and
> the cbt/lms works. It doesn't matter whether i use my
own code or the
> lms-KO's, i always see these messages.
>
> Does anybody recognize the messages, and know where they
come from, and can i
> do anything about them?
>
> Last point. I notice that sometimes, say one out of
fifteen times starting the
> cbt, the explorer 'is not responding' when quitting
> the cbt. It always happens when i'm quitting the cbt,
never during start up.
> Is this a known problem ? Has it something to do with
> the LMS, or communication. I have no idea, but it
irretates me a lot to see so
> this message. The trainee has to do the whole course
again, because aw failed
> to write it's data to the LMS.
>
> Finally, has somebody published pieces running and
communicating with the LMS
> SABA before. Did it all work, any nasty bugs or other
bad experiences ?
>
>
> I hope i've given enough information to receive some
help from you,
> thanks on forhand,
> greetings Marc
>
>
Erik Lord
http://www.capemedia.net
Adobe Community Expert - Authorware
http://www.adobe.com/communities/experts/
http://www.awaretips.net -
samples, tips, products, faqs, and links!
*Search the A'ware newsgroup archives*
http://groups.google.com/group/macromedia.authorware -
Face and Eye Tracking with LabView and Vision
Hey all,
For my senior project I am trying to perform face tracking and eye tracking by using LabView and the Vision Development Module. Unfortunately I am new to LV and I'm drowning in a sea of links and tutorials so I was wondering if anyone here that has had experience performing similar tasks would be willing to help and point me in the right direction or provide examples. I bought two Logitech c525 webcams and hooked them up to my pc running LabView and Vision 2011. I was able to see images captured but that's as far as I've gotten with the tools. Any tips?
Thanks,
Alex.have a look at http://sine.ni.com/cs/app/doc/p/id/cs-14116 and http://forums.ni.com/t5/Machine-Vision/how-to-track-face-and-allocate-lips-in-face-using-labview/td-...
This thread would also be more suited to the Machine Vision section. -
Vertical Image Scroller with ASP and Database
A vertical image scroller where photos (thumbnails) can be
added or deleted with an app using asp and a database.
The scroller would be able to hold unlimited thumbnails. The
thumbnails
would also be buttons used to go to another frame or html
page.
The thumbnails start to scroll down when mouse rollovers top
half of
vertical thumbnail bar and scrolls up when mouse rollovers
bottom half of
bar. Slows and stops in the center of the bar.
Is this possible?Any idea on how to tackle this?
I have created a image scroller and I know how to create a
database and an
application to add records using asp.
But need help on creating a scroller that holds Unlimited
thumbnails in
Flash and adds the images to the thumbnail bar.
Thanks
"SMB" <[email protected]> wrote in message
news:ehc8kg$cud$[email protected]..
>
> "Joe T" <[email protected]> wrote in message
> news:ehankr$g5d$[email protected]..
>> Looking to create a vertical image scroller where
photos (thumbnails) can
>> be added or deleted with an app using asp and a
database.
>> The scroller would be able to hold unlimited
thumbnails. The thumbnails
>> would also be buttons used to go to another frame or
html page.
>> The thumbnails start to scroll down when mouse
rollovers top half of
>> vertical thumbnail bar and scrolls up when mouse
rollovers bottom half of
>> bar. Slows and stops in the center of the bar.
>>
>> Is this possible?
>>
>>
>
> Yes, definatly possible.
> -
How to use sql request with Jdev and database connection
Hello,
I have a login page with simple username and password inputsecret text and a button validate! I would like, when the user click on the validate button, to check in the database that the user and password matches. I've done the "Method BIndind..." with the commandButton_action and the database connection works fine.
How can I use an already existing procedure, say authenticate, wich is stored in the database to authenticate my user ?
Do I have to create a jdbc connection in java even if I've done the connection with the "create new database connection" wizard ?
String s1 = "jdbc:oracle:thin:@address:1521:ORCL";
System.out.println( "Connecting with: " );
System.out.println( s1 );
DriverManager.registerDriver(new oracle.jdbc.OracleDriver());
this.conn = DriverManager.getConnection( s1,"user","pass");
thanks for your helpCreating a connection to the DB in JDeveloper doesn't mean that your application is now connected to the DB - so yes you do need to create a connection to the database using JDBC.
One note - if you are trying to do a database user authentication the following is probably the better way to go about it:
http://www.oracle.com/technology/products/jdev/howtos/1013/oc4jjaas/oc4j_jaas_login_module.htm -
How to work with EJBs and database for a simple login application
Hi all :)
I am new in JSP,EJB and Servlets. I just wanted to develop a simple login application, using JSP+EJBand servlets. In some tutorial I found that the beans are already populatesd with database records. But will it be good logic to retrive all records into a bean and then search for a perticuler users data for authentication.
Can any one tell me me what is the best logic for doing so. :(
Thanx in advance.Himanshu.Shekhar wrote:
Hi all :)
I am new in JSP,EJB and Servlets. I just wanted to develop a simple login application, using JSP+EJBand servlets. In some tutorial I found that the beans are already populatesd with database records. But will it be good logic to retrive all records into a bean and then search for a perticuler users data for authentication.No. Let the database do the search. It's far more efficient.
% -
Help needed to converstae xml with java and database
I want to make use of xml to read soem data from database and then use that material in java to display or manipulate that data and again feed back it into database through xml.
why using XML? how about JDBC?
-
Trouble with ASP and databases
Hi,
I am trying to create a form in Dreamweaver 8 so my customers
can enter their information and save it to a sql server database. I
am able to set up the connection to the database using ASP VB. I
can create the fields and which records it will update, but as soon
as I save it, I no longer have access to the database. I can't even
add a new one. In the database window the plus sign is greyed out.
It tells me "To preview pages containing server-side code, you need
a testing server. Would you like to specify one now?" The page is
located under the correct site. I can upload it but when I punch in
the info, it gives me a page not found.
Everything works fine until I save the file.
Plese help!Right now I have it set up so it points to the same server.
Here are my settings:
Under the advanced tab-
Remote Info:
Access = FTP
FTP Host = xxxxxx
Host directory = xxxxxxx
Login = xxxxxx
Password = xxxxxx
Testing Server
Server Model = ASP VBScript
Access = FTP
FTP host = xxxxxx
host directory = xxxxxxx
Login = xxxxx
Password = xxxxxx
On both accounts the ftp host and the host directory are the
same.
I don't receive any errors when I finish. Alos everything
tests correctly to the server. -
Dynamic Login Environment with LDAP and Database level security.
JDeveloper 11.1.1.0.1 + ADF BC + ADF RC
Hi everyone,
We are ready to begin creating a dynamic login environment.
We would like to be able to keep security on the database side, instead of in the application layer.
We also want to be able to use Oracle LDAP for authentication.
Can anyone suggest any good documentation for our situation?
Highly appreciated. Thanks!Alexander,
unlike in Forms, authentication is separate from connection. You can have individual user connections - like in Forms - but this most likely is not of best performance. A document and example for this to follow is
http://radio.weblogs.com/0118231/2008/08/06.html#a902
Note that authentication does not need to be hard coded in either way. If you use a single database connection and container managed authentication, then all users access the database from the same user account but can have their authenticated names passed through. In ADF BC you can use the prepareSession method on the ApplicationModule to pass the name to the database as a prepared statement (e.g. to set the predicate on a VPD database). However, using PLSQL for authorization is a bit difficult because the business logic, unlike in Forms isn't executed in PLSQL. You can look up PLSQ from ADF BC - or Java in general - but its a separate call.
Frank -
Please help with jsp and database!!
Hello,
i first created a jsp page and printed out the parameters of a user's username when they logged in. example, "Welcome user" and it worked fine...
i inserted a database into my site that validates the username and password, and ever since i did that in dreamweaver, when a user logs in sucessfully, it returns the jsp page like its supposed to, only that it says "Welcome null" instead of "Welcome John." pretty strange, huh!? can anyone please help? thanks!
here is the important part of the code to Login.jsp, and LoginSuccess.jsp: <%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*" %>
<%@ include file="Connections/Login.jsp" %>
<%
// *** Validate request to log in to this site.
String MM_LoginAction = request.getRequestURI();
if (request.getQueryString() != null && request.getQueryString().length() > 0) MM_LoginAction += "?" + request.getQueryString();
String MM_valUsername=request.getParameter("Username");
if (MM_valUsername != null) {
String MM_fldUserAuthorization="";
String MM_redirectLoginSuccess="LoginSuccess.jsp";
String MM_redirectLoginFailed="LoginFailure.jsp";
String MM_redirectLogin=MM_redirectLoginFailed;
Driver MM_driverUser = (Driver)Class.forName(MM_Login_DRIVER).newInstance();
Connection MM_connUser = DriverManager.getConnection(MM_Login_STRING,MM_Login_USERNAME,MM_Login_PASSWORD);
String MM_pSQL = "SELECT UserName, Password";
if (!MM_fldUserAuthorization.equals("")) MM_pSQL += "," + MM_fldUserAuthorization;
MM_pSQL += " FROM MemberInformation WHERE UserName=\'" + MM_valUsername.replace('\'', ' ') + "\' AND Password=\'" + request.getParameter("Password").toString().replace('\'', ' ') + "\'";
PreparedStatement MM_statementUser = MM_connUser.prepareStatement(MM_pSQL);
ResultSet MM_rsUser = MM_statementUser.executeQuery();
boolean MM_rsUser_isNotEmpty = MM_rsUser.next();
if (MM_rsUser_isNotEmpty) {
// username and password match - this is a valid user
session.putValue("MM_Username", MM_valUsername);
if (!MM_fldUserAuthorization.equals("")) {
session.putValue("MM_UserAuthorization", MM_rsUser.getString(MM_fldUserAuthorization).trim());
} else {
session.putValue("MM_UserAuthorization", "");
if ((request.getParameter("accessdenied") != null) && false) {
MM_redirectLoginSuccess = request.getParameter("accessdenied");
MM_redirectLogin=MM_redirectLoginSuccess;
MM_rsUser.close();
MM_connUser.close();
response.sendRedirect(response.encodeRedirectURL(MM_redirectLogin));
return;
%>
<form action="<%=MM_LoginAction%>" method="get" name="Login" id="Login">
<table width="55%" border="0">
<tr>
<td width="41%">Username </td>
<td width="59%"><input name="Username" type="text" id="Username" value="" size="25" maxlength="10"></td>
</tr>
<tr>
<td>Password </td>
<td><input name="Password" type="password" id="Password" value="" size="25" maxlength="10"></td>
</tr>
<tr>
<td> </td>
<td><input type="submit" name="Submit" value="Submit"></td>
</tr>
</table>
</form>And LoginSuccess.jsp where i want it to print out the "Welcome username
<%String Name=request.getParameter("Username");
out.println ("Welcome ");
out.println (Name); %><%@ page contentType="text/html; charset=iso-8859-1"
language="java" import="java.sql.*" %>
<%@ include file="Connections/Login.jsp" %>
<%
// *** Validate request to log in to this site.
String MM_LoginAction = request.getRequestURI();
if (request.getQueryString() != null &&
request.getQueryString().length() > 0) MM_LoginAction
+= "?" + request.getQueryString();
String
MM_valUsername=request.getParameter("Username");
if (MM_valUsername != null) {
String MM_fldUserAuthorization="";
String MM_redirectLoginSuccess="LoginSuccess.jsp";
String MM_redirectLoginFailed="LoginFailure.jsp";
String MM_redirectLogin=MM_redirectLoginFailed;
Driver MM_driverUser =
=
(Driver)Class.forName(MM_Login_DRIVER).newInstance();
Connection MM_connUser =
=
DriverManager.getConnection(MM_Login_STRING,MM_Login_US
RNAME,MM_Login_PASSWORD);
String MM_pSQL = "SELECT UserName, Password";
if (!MM_fldUserAuthorization.equals("")) MM_pSQL +=
= "," + MM_fldUserAuthorization;
MM_pSQL += " FROM MemberInformation WHERE
E UserName=\'" + MM_valUsername.replace('\'', ' ') +
"\' AND Password=\'" +
request.getParameter("Password").toString().replace('\'
, ' ') + "\'";
PreparedStatement MM_statementUser =
= MM_connUser.prepareStatement(MM_pSQL);
ResultSet MM_rsUser =
= MM_statementUser.executeQuery();
boolean MM_rsUser_isNotEmpty = MM_rsUser.next();
if (MM_rsUser_isNotEmpty) {
// username and password match - this is a valid
lid user
session.putValue("MM_Username", MM_valUsername);
if (!MM_fldUserAuthorization.equals("")) {
session.putValue("MM_UserAuthorization",
ion",
MM_rsUser.getString(MM_fldUserAuthorization).trim());
} else {
session.putValue("MM_UserAuthorization", "");
if ((request.getParameter("accessdenied") != null)
ll) && false) {
MM_redirectLoginSuccess =
ess = request.getParameter("accessdenied");
MM_redirectLogin=MM_redirectLoginSuccess;
MM_rsUser.close();
MM_connUser.close();
response.sendRedirect(response.encodeRedirectURL(MM_re
irectLogin));
return;
%>
<form action="<%=MM_LoginAction%>" method="get"
"get" name="Login" id="Login">
<table width="55%" border="0">
<tr>
<td width="41%">Username </td>
<td width="59%"><input name="Username"
="Username" type="text" id="Username" value=""
size="25" maxlength="10"></td>
</tr>
<tr>
<td>Password </td>
<td><input name="Password" type="password"
="password" id="Password" value="" size="25"
maxlength="10"></td>
</tr>
<tr>
<td>�</td>
<td><input type="submit" name="Submit"
me="Submit" value="Submit"></td>
</tr>
</table>
</form>
And LoginSuccess.jsp where i want it to print out the
"Welcome username
<%String Name=request.getParameter("Username");
out.println ("Welcome ");
out.println (Name); %>When the page is rediredted u r not passing the user name in the query string,so it is not availble in the query string for LoginSuccess page
Since u have added user in session user this
<%String Name=(String)session.getValue("MM_Username") ;%>
<% out.println ("Welcome ");
<% out.println (Name); %> -
Please help with servlet and database!!
Hello,
i first created a servlet that generated an html page and printed out the parameters of a user's username when they logged in. example, "Welcome user" and it worked fine...
i inserted a database into my site that validates the username and password, and ever since i did that in dreamweaver, when a user logs in sucessfully, it returns the servlet page like its supposed to, only that it says "Welcome null" instead of "Welcome John." pretty strange, huh!? can anyone please help? thanks!Check whether the username textfield name has changed or not. Also print the code over here so that we can check the code.
-
Distributed ci and database instance
hello all,
we are having our ecc6.0 prod system insatlled with ci and database instance on same host now i want to split the
systems ci and database. on different systems pls guide here how to proceed.
regards,
farajHi,
here is the steps for DB migration, pls go thr this link, i think it will help you how to do homogenious system copy
System Copy and Migration
Thanks,
Sreeni.
Maybe you are looking for
-
Send a message from a list of emails in lightswitch 2013.4 HTML screen using ajax
Hi There, any idea how to make a button to send a message from a list of emails in lightswitch 2013.4 HTML. my idea is to send message to all emails in the details picker (or the drop down menu or a choice list) tat is filled by SQL query (as a data
-
I just got an iMac and installed PSE9. It WAS working fine, it is registered already, and suddenly today the welcome screen comes up and it will let me open the organizer, but not edit. I tried to open a picture using the right click 'open with' an
-
Transaction Management in JMS adapter
Hi, I am creating a BPEL process for inserting data in a JMS queue (for producing message on queue) with transaction management, and came across the property "isTransacted", can anyone please help me with the functionality of this property, and how t
-
How to increase the length of the Info object
Hi All Any one have idea about how to increse the length of the Info object Char(beyond 60). Can you please explain me in detail we are using BI7.0. Thanks Vani
-
Poor customer service with resolving billing issue
I ported 3 numbers from my AT&T account to Verizon in the Hudson Valley Mall, Kingston , NY. Matt << last name removed to comply with Verizon Wireless Terms of Service >> who is the stores manager and an excellent sales person encouraged us to each g