Execute TestRunner on Server
I am completely new to Flex and FlexUnit. I am trying to execute a unit test that tests whether a rest webservice call generates the correct output. I am using the FlexUnit Ant task and I deploy the TestRunner.swf to the server where I want to TestRunner to run/execute the test, so that the rest call can be made properly. When I try this from the browser it works perfectly, but when I put the following in the Ant Task I get and error. Can anyone PLEASE help me with this??? What am I doing wrong???
<flexunit
player="flash"
swf=http://localhost:8080/TestRunner.swf
toDir="${reports.dir}"
haltonfailure="false"
verbose="true"
localTrusted="true"/>
I get this error:
Build Faild: the provided swf property value C:\User\workspace\flexunit\https:\localhost:8080:TestRunner.swf could not be found.
@bkinlaw - Just to split hairs, typically I like ot classify testing into 3 general categories: unit, integration, and functional. Tools like FlexMonkey, RIATest, and SeleniumFlex fall into the category of functional testing. These tools will test your software as a black-box verifying requirements based on feedback, in Flex's case, from the UI. FlexUnit has the capabilities to work within the context of unit and integration testing. Loosely defined, unit testing being the validation of a particular class, its properties, and behaviors and integration testing being the validation of the interaction of a series of class behaviors. To better achieve your goal of unti and integration testing with FlexUnit, check out the FlexUnit wiki on integration testing UI components and asynchronous events (http://docs.flexunit.org/index.php?title=Using_Asynchronous_Startup). If you're looking to get better test coverage via unit testing, check out some of the mock object libraries for AS3 to help you get there. I use mockolate (http://github.com/drewbourne/mockolate), but mockito-flex (http://bitbucket.org/loomis/mockito-flex/wiki/Home) and asmock are also popular; they work in a very similar fashion to mock object libraries in Java such as EasyMock and JMock. For more OSS solutions with respect to testing, builds, CI, etc. check out our Community Projects on the wiki for more ideas @ http://docs.flexunit.org/index.php?title=Community_Projects.
In terms of FlexUnit 4.1, bleeding edge builds are always available on the CI server (http://builds.flexunit.org). I believe that we may have a beta within the month of May for people to start messing with as well, but I can't promise anything. Hope this helps to shed some light on the options available for tesitng in the Flex/AS3 world.
-Brian
Similar Messages
-
Error executing MS sql server procedure
I am getting an error below while executing a SQL server procedure from SOA composite. My jdeveloper and Soa Suite version is 11.1.1.4.
I am using “Oracle’s MS SQL Server Driver (Type 4) Version: 7.0 and later” driver. The SQL Server version is 2005.
To configure the connection I used the steps mentioned in URL below.
http://beatechnologies.wordpress.com/2011/01/31/creating-a-dbadapter-for-mssql-server-in-osb-11g/
The MS SQL procedure signature is as below.
@p_EventId nvarchar IN
@p_EventName_IN nvarchar IN
@p_Agreement_No_IN decimal IN
@p_Acc_Base_Number_IN decimal IN
@p_Acc_Comp_No_IN decimal IN
@p_Account_Company_Name_IN nvarchar IN
@p_Agree_Stat_Code_IN nvarchar IN
@p_Agree_Type_Code_IN nvarchar IN
@p_HeadQtr_Code_IN nvarchar IN
@p_Sales_Off_Name_IN nvarchar IN
@p_Reseller_Name_IN nvarchar IN
@p_Oracle_Order_number_IN decimal IN
@p_License_Effective_Date_IN datetime IN
@p_PO_Number_IN decimal IN
@p_Invoice_Number_IN decimal IN
@p_Invoice_Date_IN datetime IN
@p_Support_Contract_ID_IN decimal IN
@p_Stmt_Of_Capacity_Due_Date_IN datetime IN
@p_Contract_Start_Date_IN datetime IN
@p_Contract_End_Date_IN datetime IN
@p_Contract_Type_IN nvarchar IN
Error message .
<fault>
<bpelFault>
<faultType>0</faultType>
<bindingFault>
<part name="summary">
<summary>Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'CompanySPProdcall' failed due to: Unimplemented object conversion. Conversion of type 1 whose JDBC type is OTHER to a Java object is not supported. An attempt was made to convert type 1 to a Java object using an unsupported JDBC type: OTHER. Use a data type with a supported JDBC type. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. </summary>
</part>
<part name="detail">
<detail>Unimplemented object conversion. Conversion of type 1 whose JDBC type is OTHER to a Java object is not supported. An attempt was made to convert type 1 to a Java object using an unsupported JDBC type: OTHER. Use a data type with a supported JDBC type. </detail>
</part>
<part name="code">
<code>null</code>
</part>
</bindingFault>
</bpelFault>
</fault>
Please let me know the solution for this issue?
Thanks...I had the similar problem and I am using 11.1.1.5.
When I changed the platformClassName to org.eclipse.persistence.platform.database.SQLServerPlatform it worked.
You can find platformClassName in Outbound Connection Properties
Hope this might work :) -
GGS WARNING 150 Cannot find executable file './server' in the pump r
Hi,
i setup the golden gate freshly.
I'm seeing the below error in the pump rpt files
2012-11-07 06:52:19 GGS WARNING 150 Cannot find executable file './server'.
And in the extract rpt file
2012-11-07 06:11:26 GGS WARNING Z1-078 No valid default archive log destination directory found for thread 1.
2012-11-07 06:11:26 GGS WARNING Z1-078 No valid default archive log destination directory found for thread 2.
2012-11-07 06:11:26 GGS INFO Z0-016 Default thread stack size: 8388608.
2012-11-07 06:11:27 GGS INFO 112 Recovery initialization completed for target file /oratempshare/ggate/ehrms_trail/eutcp/ext/ea000002, at RBA 1360, CSN 94088686.
2012-11-07 06:11:27 GGS INFO Z0-05M Output file /oratempshare/ggate/ehrms_trail/eutcp/ext/ea is using format RELEASE 10.4.
2012-11-07 06:11:27 GGS WARNING Z1-07J Checkpoint marked as from graceful shutdown, but records found after checkpoint in trail /oratempshare/ggate/ehrms_trail/eutcp/ext/ea. Expected EOF Seqno 0, RBA 0. Found Seqno 2, RBA 1360.
2012-11-07 06:11:27 GGS INFO 224 Rolling over remote file /oratempshare/ggate/ehrms_trail/eutcp/ext/ea000002.
Can any one please suggest me where i went wrong in setting up.
Why my ggate showing unable to find the executable. I am able to see the executable server in the ggate home.user13095767 wrote:
i setup the golden gate freshly.
I'm seeing the below error in the pump rpt files
2012-11-07 06:52:19 GGS WARNING 150 Cannot find executable file './server'.
Can any one please suggest me where i went wrong in setting up.
Why my ggate showing unable to find the executable. I am able to see the executable server in the ggate home.In addition to Steve's reply, note that the broken installation may actually be on the target system, not the (local) source system. Unable to find "server" may mean that your source GG installation is unable to send remote trails to the target system, because "server" can't be found on the target. When checking the target gg installation, also be sure you've configured your source system to send to the correct mgr port & correct remote host. You might be sending data to an older (perhaps (partially) uninstalled) version of GG. -
RunAtServer script in XDP not executed in Form Server
Hi, Expert,
I authored the form template in Designer 7.1 and generated PDF using SOAP client call 'renderForm()' successfully on Form Server with JBoss 3.x.
The problem is that the script in the template written in Designer set as 'RunAt=Server' never gets executed in Forms Server (the script is triggered in the event like 'form:ready' and 'layout:ready').
Is there any special options which shd be set in renderForm() call or the properties of XDP?
Any help is highly appreciated.
Thanks in advance
JohnHi, Rob,
Thank you very much for the reply.
I call the renderForm() is like:
IOutputContext context = formServer.renderForm(
args[0], // name of XDP file
"PDFForm", // for interactive form
xmlBytes, // merged XML data
"CacheEnabled=False", // runtime options
null,
"http://localhost:8080/",
"http://localhost:8080/", // sTargetURL
"file:///d:/formsapi", // path of XDP file
null);
The script in XDP run at server in form:ready is like:
if (txtProductId.rawValue == null || txtProductId.rawValue == "") {
// hide it
txtProductId.presence = "hidden";
Thanks again
John -
Hi All,
I have a simple SSIS package that reads a flat file and copies it into a SQL Server table.
When the flat fiel is on the C drive I have no problem runnign this package from SQL Server Agent, but as soon as I update the path to a network location the package only works when I run it manually, but fails when is executed via the SQL Server agent job.
The error says "cannot open the datafile", while the datafile location is valid.
Is this a kind of limitation of a SQL Server Agent that only local files are allowed to be processed?
Thanks,
Andrei
SSIS questionHi All,
Thanks for your responses.
I configured the SQL agent service to use my domain account with which I have no porblems accessing the folder. However the issue persisted.
Thanks,
Andrei
SSIS question -
SSIS package give an error if execute through SQL server agent
I have created a SSIS package in BIDS 2012. If i execute this package through sql server agent it gives the below error:
Executed as user: NT Service\SQLSERVERAGENT. Microsoft (R) SQL Server Execute Package Utility Version 11.0.2100.60 for 64-bit Copyright (C) Microsoft Corporation. All rights reserved. Started: 11:19:47 AM Error: 2015-01-20
11:19:47.83 Code: 0xC0016016 Source: Sub_Hadoop_aggregation Description: Failed to decrypt protected XML node "DTS:Password" with error 0x8009000B "Key not valid for use in specified state.".
You may not be authorized to access this information. This error occurs when there is a cryptographic error. Verify that the correct key is available. End Error Error: 2015-01-20 11:19:47.94 Code: 0xC0016016 Source:
Sub_Hadoop_aggregation Description: Failed to decrypt protected XML node "DTS:Password" with error 0x8009000B "Key not valid for use in specified state.". You may not be authorized to access this information. This error
occurs when there is a cryptographic error. Verify that the correct key is available. End Error Error: 2015-01-20 11:19:48.04 Code: 0xC0016016 Source: Sub_Hadoop_aggregation Description: Failed to
decrypt protected XML node "DTS:Password" with error 0x8009000B "Key not valid for use in specified state.". You may not be authorized to access this information. This error occurs when there is a cryptographic error. Verify that the correct
key is available. End Error Error: 2015-01-20 11:19:48.92 Code: 0xC00291EC Source: alter_keys Execute SQL Task Description: Failed to acquire connection "mstr_warehouse". Connection may not be
configured correctly or you may not have the right permissions on this connection. End Error DTExec: The package execution returned DTSER_FAILURE (1). Started: 11:19:47 AM Finished: 11:19:48 AM Elapsed: 1.42 seconds.
The package execution failed. The step failed.
so i have change some properties in our package like protectionlevel change from encrypted to dontsavesensitive. After that i have created configuration file for the package and use that configuration file. It executes the package through sql server agent
smoothly.
Thanks
Azhar KhanHi selfdestruct80,
According to your description, you created SSIS package and it works fine. But you got the error message when the SSIS package was called from a SQL Server Agent job.
According to my knowledge, the package may not run in the following scenarios:
The current user cannot decrypt secrets from the package.
A SQL Server connection that uses integrated security fails because the current user does not have the required permissions.
File access fails because the current user does not have the required permissions to write to the file share that the connection manager accesses.
A registry-based SSIS package configuration uses the HKEY_CURRENT_USER registry keys. The HKEY_CURRENT_USER registry keys are user-specific.
A task or a connection manager requires that the current user account has correct permissions.
According to the error message, the SSIS Package ProtectionLevel property to EncryptSensitiveWithPassword as ArthurZ mentioned. To solve the problem, you need to go to Command Line tab, manually specify the paassword in SQL Agent Job with the command like below:
/FILE "\"C:\Users\xxxx\Documents\SQL Server Management Studio\SSIS\Package.dtsx\"" /DECRYPT somepassword /CHECKPOINTING OFF /REPORTING E
If you have any more questions, please feel free to ask.
Thanks,
Wendy Fu
Wendy Fu
TechNet Community Support -
Error Message Using DB.Execute on SQL Server - Must use dbSeeChanges
Uh, found a post indicating that dbFailOnError and dbSeeChanges are enumerated and that to designate them both, just add them together, but its not working and I'm still getting the ever popular 'You must use the dbSeeChanges option with OpenRecordset when
accessing a SQL Server table that has an IDENTITY column.'.
Public Function deleteTrailerActivityHeaderAndChildren(lngTrailerActivityHeaderId As Long)
On Error GoTo Err_deleteTrailerActivityHeaderAndChildren
Dim wrksp As DAO.Workspace
Dim db As DAO.Database
Dim strDeleteChild As String
Dim strDeleteParent As String
Dim strComment As String
Dim errLoop As Error
strDeleteChild = "DELETE * FROM tblTrailerUtilizationDetails WHERE lngTrailerActivityHeaderId = " & lngTrailerActivityHeaderId
strDeleteParent = "DELETE * FROM tblTrailerActivityHeaders WHERE lngTrailerActivityHeader = " & lngTrailerActivityHeaderId
Set wrksp = DBEngine.Workspaces(0)
Set db = CurrentDb
wrksp.BeginTrans
On Error GoTo Err_dbExecute
strComment = "Delete child records"
db.Execute strDeleteChild, dbFailOnError + dbSeeChanges
If DBEngine.Errors.Count = 0 Then
strComment = "Delete parent"
db.Execute strDeleteParent, dbFailOnError + dbSeeChanges
If DBEngine.Errors.Count = 0 Then
strComment = "Commit changes"
wrksp.CommitTrans
Else
strComment = "Rollback changes to tblTrailerActivityHeaders"
wrksp.Rollback
MsgBox "Record cannot be deleted. Unable to delete the Trailer Utilization Detail records.", vbCritical
End If
Else
strComment = "Rollback changes to tblTrailerUtilizationDetails"
wrksp.Rollback
MsgBox "Record cannot be deleted. Unable to delete the Trailer Utilization Detail records.", vbCritical
End If
Debug.Print DBEngine.Errors(0).Description
On Error GoTo Err_deleteTrailerActivityHeaderAndChildren
Set db = Nothing
Set wrksp = Nothing
Exit_deleteTrailerActivityHeaderAndChildren:
Exit Function
Err_deleteTrailerActivityHeaderAndChildren:
MsgBox getDefaultErrorMessage("Module - Manage TrailerUtilization Details", "deleteTrailerActivityHeaderAndChildren", Err.Number, Err.Description), vbCritical
Resume Exit_deleteTrailerActivityHeaderAndChildren
Err_dbExecute:
If DBEngine.Errors.Count > 0 Then
For Each errLoop In DBEngine.Errors
Debug.Print getDefaultErrorMessage("Module - ManageTrailerUtilizationDetails", "deleteTrailerActivityHeaderAndChildren.Err_dbExecute", errLoop.Number, , "(" & strComment & ") " &
errLoop.Description)
Next errLoop
End If
Resume Next
End Function
David HHi aychekay
Try following:
- Add a TimeStamp Datatype Column to the table on the SQL Server
- Rebind the tables into your database
- Try your code again
You never should run an Access Application against an SQL Server in readwrite mode without having TimeStamp datatype columns in your tables. Already for performance reasons this is a must and also, if you have datetime datatype fields on
the SQL Server that are not exclusively maintained by Access, as the SQL Server may add miliseconds when writing the data. Same for Single precision datatypes, that may be rounded until you get the result back from the server. If you have a Timestamp datatype
column in your table then Access is sure the record wasn't changed in the meantime and will not recheck the received record again against the database for changes in one of it's fields.
Henry
<aychekay> wrote in message
news:[email protected]...
This problem didn't go away yet. I'm having it too in Access 2007 (SP2 not installed yet) with a SQL Server 2008 Express backend. I'm sure my code is not reference any form controls or other object references. Access just complains if you try to run an Execute
with "DELETE" on a table that has an identity column. I've resorted to deleting using a DAO recordset and loop instead for now.
I actually started out using MySQL with MySQL's ODBC drivers and my statement worked fine. Only when I migrated to SQL Server did I start to have this problem.
Just sayin... -
Can't launch executable from SQL Server Agent Job
I'm trying to launch an .exe from SQL Server Agent Job and basically nothing happens. I created a job, with 1 step, type is Operating System (CmdExec), run as sql agent service account, and in the command box I typed "start notepad" (no quotes). The job owner is set to administrator. I manually start the job, it processes successfully yet notepad does not launch. I've tried with other .exe's and result is the same. Any advice? Thanks!
I tried several things and not just with notepad, I tried a couple other small executables. I've tried:
c:\notepad --(I copied it to c:\ thinking it maybe it's not finding the file.)
c:\notepad.exe
notepad.exe
start notepad
start notepad.exe
and also launching it from a batch file.
If I use just notepad the job hangs saying it's executing and I have to stop it. If I use start notepad it comes back as executed but actually nothing happens, ie, notepad does not launch. I've tried different security settings within SQL Server (ie assigning all available default roles to the login at the same time and individually one at a time) with identical results. SQL Server is loging in with local administrator priviledges and so is SQL Server Agent. My settings are the default installation settings (for Windows Server 2003 and SQL Server 2005) except that I read the BOL page "Configuring SQL Server Agent" which indicates the permissions needed for the following:
Adjust memory quotas for a process
Act as part of the operating system
Bypass traverse checking
Log on as a batch job
Log on as a service
Replace a process level token
And they have been set. Still the same. BTW, I get the same result when trying to launch the file using xp_cmdshell with all the variations, and the proxy account for xp_cmdshell has been set to a login with administrator priviledges....
I think it's some security setting in Windows Server, if only because I think I've tried all the settings within SQL Server...
BTW, also, nothing is setup for Proxies under the SQL Server Agent node, but I don't think I should need to if I'm using the administrator level login... -
FTP program executed on application server
Hi all,
my goal is to send a file from HOST (AS400) to a SAP using a batch program in order to see it from AL11 transaction.
I found the standard program RSFTP* that use Function Module FTP*.
In particular If I execute the standard program RSFTP003 online (on presentation server) it works right but If I execute it on batch it doesn't work with error:
RFC to program SAPFTP failed E205(04).
Is this the only way to reach my goal?
Do you have any suggestions?
GinoHi,
If you are willing to Place the File first on your desktop and then next to AL11 means
1) goto SXDA_TOOLS Transaction code
2) Provide the Following details
Object Type : DXPROJECT
Program Type: BAPI
Program/Method: CREATE
3) Click on Copy Button
4) Select the Source as Presentation Server
a) Select the File where you saved in your Local machine
5) Select the Target as Application server
a) Check the check box Remote Server
b) Select the File type as Physical
c) In File name give /usr/sap/SSD/DVEBMGS00/work\Your file name (This the Server path
Where the file is going to save)
6) Click on Continue
Go to AL11 and check whether the File has been create in the following path /usr/sap/SSD/DVEBMGS00/work
Provide this path in the Communication channel path when you select the Transport Protocol as NFS and you place the file in AL11 directory.
Regards
Seshagiri -
Error when execute Stand Alone Server
Hi All,
After installation Java Development Environment Release 6.20. I tried to execute the Stand Alone Server, but this error message occured:
Loading core services:
Starting core service monitor ... done.
Starting core service p4 ... done.
Starting core service log ... done.
Starting core service dbms ... done.
Starting core service security ... done.
System Exception * Fail to start Naming. Exception is: java.security.AccessContr
olException: access denied (com.inqmy.lib.security.DomainsEnumerationPermission
ProtectionDomainEnumeration)
java.security.AccessControlException: access denied (com.inqmy.lib.security.Doma
insEnumerationPermission ProtectionDomainEnumeration)
at java.security.AccessControlContext.checkPermission(AccessControlConte
xt.java:269)
at java.security.AccessController.checkPermission(AccessController.java:
401)
at com.inqmy.core.policy.PolicyManager.getProtectionDomainStack(PolicyMa
nager.java:311)
at com.inqmy.core.service.context.container.security.DefaultProtectionDo
mainContext.getProtectionDomainStack(DefaultProtectionDomainContext.java:99)
at com.inqmy.services.security.domains.ProtectionDomainManagerImpl.getPr
otectionDomainStack(ProtectionDomainManagerImpl.java:96)
at com.inqmy.services.jndi.InitialContextFactoryImpl.getInitialContext(I
nitialContextFactoryImpl.java:72)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6
62)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243
at javax.naming.InitialContext.init(InitialContext.java:219)
at javax.naming.InitialContext.<init>(InitialContext.java:175)
at com.inqmy.services.jndi.JNDIFrame.bindReferences(JNDIFrame.java:278)
at com.inqmy.services.jndi.JNDIFrame.start(JNDIFrame.java:176)
at com.inqmy.core.service.application.ApplicationServiceRunner.startFram
e(ApplicationServiceRunner.java:55)
at com.inqmy.core.service.container.ServiceRunner.run(ServiceRunner.java
:126)
at com.inqmy.core.thread.impl2.SingleThread.run(SingleThread.java:118)
Starting core service naming ... done.
Please Help.
Warm regard,
Edward.The error is caused by JDK 1.4.*
Thank you
Edward. -
Oracle.TopLink - execute function on server
Hi all.
I got problem. I know how to execute procedure with parameters on server, sample:
StoredProcedureCall call = new StoredProcedureCall();
call.setProcedureName("get_bank_units");
call.addNamedArgumentValue("id", new Integer(4));
call.addNamedArgumentValue("name", new String("Main"));
call.addNamedOutputArgument("o_list");
// execute stetment via ...
ServerSession.aquireUnitOfWork.executeSelectingCall( call);
it's simple but how do this if "get_bank_units" is not procedure but function??
Please sample?...
Regards
Krzysztof
PS. If it's not a problem please send sample on [email protected]How are you using Tomcat with SAP?
Here's a good site for Tomcat:
http://www.jguru.com/faq/Tomcat -
Simplified version: Execute command in WinPE after server image deployment but before WinPE reboots.
I have a custom ISO with a boot.wim and install.wim for deploying Windows Server to our environment. Our environment does not allow DHCP and we have no static IPs available at build time so this will all be done with no internet connection during all phases
of deployment.
We have a custom HTA form that generates an XML file based on user input and stores it on the RAMDisk during WinPE. How can we move this XML file from the RAMDisk to the deployed Windows Server image?
Thanks in advance, TimI believe you should be able to do this during the offlineServicing configuration pass. You would just need to add into your answer file a command or script to copy from the XML file over to the newly created C:\ drive.
I don't have System Image Manager installed on the computer I'm using but if I recall there is a spot during the offlineServicing pass to execute custom commands. You would just add your script path there, the WinPE system drive letter is
X:\ , and I think the target drive letter Windows is installed to might change depending on how many devices you have hooked up so do a test install and hit SHIFT-F10 , from there you can run diskpart > list volume to see where the new Windows
install is located.
Another alternative could be using a USB drive as your install media, then you can run a script during offlineServicing to copy that XML over to the USB drive. -
Inventory Reports are not executing in Quality Server
Hi All,
I have done two reports ( 1. Stock Overview & 2. Stock Ageing ) in BW-DEV and executed successfully but after moving transports to BW-QA, I am getting Zero values for Stock Overview & for Stock Ageing, I am getting errors like "Sub Routine Call failed, Could not find the form SET-ICFL, CY_SY_DYN_CALL_ILLEGAL_FORM & UNCAUGHT_EXCEPTION.
This is for your kind Information:
1. I uploaded data properly to Inventory ZIC_C03
2. I verified data in Cube, the data is available
3. SAP BI 7.1
Please guide me to over come the above issues.
Thanks
Sreeni
Edited by: sreenivasulu.gandi on Jan 24, 2012 5:48 PMHi,
It looks you are not in developer role so it is asking access code. If you want access code you can ask Basis team they will provide based on the policies.
Regd your issue are you getting this error for particular report or any report? Check RFC connection between Bex and BI server. You run the same report in using RRMX or RSRT, if you are able to see the output then ask your Basis team look this issue or check the Note 1600067.
Thanks
Riyez -
Batch file couldn't executes by SQL server agent
I had a batch file which have pscp command and plink command. If i executes the job it goes into infinite loop and executing forever. I tried many things and checked many forums. All forums says we need to create proxy account in SQL server then only we
can execute the batch file using SQL server agent. But i use another workaround to resolve the issue.
Find below the step:
1. We need to create one text file and write "yes" into it. This is useful to give the indicator to batch file that this is a trust full command and command can be execute in cmd.
2. We had below command in batch file
pscp -pw Wa5nea2Hag9z C:\Projects\UDM\Hadoop_aggregation\Sessionlog_source_file\application_events_latest.csv [email protected]:/var/lib/mysql/csv_files/ >> C:\Projects\UDM\Hadoop_aggregation\log.txt
then i have just include "< C:\Projects\UDM\Hadoop_aggregation\test.txt" after pascp command
like below:
pscp -pw Wa5nea2Hag9z C:\Projects\UDM\Hadoop_aggregation\Sessionlog_source_file\application_events_latest.csv < C:\Projects\UDM\Hadoop_aggregation\test.txt [email protected]:/var/lib/mysql/csv_files/ >> C:\Projects\UDM\Hadoop_aggregation\log.txt
The above command executes fine.
Thanks
Azhar KhanHi Azhar.Khan0512,
Glad to heard that the issue had been solved and thanks for your sharing. It will be very beneficial for other community members who have similar questions.
If you have any more questions, please feel free to ask.
Thanks,
Wendy Fu
Wendy Fu
TechNet Community Support -
Perl Scripts not executable in web server
I have a MacMini running 10.4 Server. It is hosting a web site for some surveys that are created using SurveyTracker.
The person creating the surveys SMB connects to the web server to create the files in the share point that is also the main web directory (not /Library/WebServer/Documents but a different location).
The problem is, when the person does the SMB file create, it does not create the pl scripts with the 'x' bit enabled. Instead of rwx/rwx/r-x (775) it comes rw-/rw-/r-- (664).
I have tried setting a cron job to auto chmod to 775 every five minutes but the cron job does not run.
Is there a way to change the permsissions on the folder, i.e. Sticky Bit, so any file being created in the folder wil have the 'x' bit automatically?
The option of giving ssh access to the person creating the file is not as easy as it sounds, as they do not understand terminal/ssh.
I have mod_perl and mod_cgi enabled in the webserver settings, and allow CGI-Execute.
XServe Mac OS X (10.4.3)Hi Ludek,
After installing default printer on Server, i got No printers installed.
below is my code, (checking in Default printer installed or not in TRY)
CR_TGL_EBL.HasPrintButton = False
CR_TGL_EBL.ReportSource = rpt
Try
rpt.PrintToPrinter(No_of_copies, True, 0, 0)
Catch ex As Exception
Page.ClientScript.RegisterStartupScript([GetType](), "printer Problems", (Convert.ToString("alert('" + ex.Message + " ")) +"Your associated printer not working contact the admin!');", True)
End Try
Even i installed default printer i got alert message, How to get direct print in server.
Locally it's working fine. Once i enable printtoprinter it's loading only...
Please help me to solve this issue...
Regards,
Mani.
Maybe you are looking for
-
How do I load a PHP without showing it at all?
Hi. I have just started working with flash a week ago, and I stumbled into a problem I cannot find the answer to anywhere so far. I created a LoadVars, which I use to send data to a PHP that updates a mysql database. This is what I am doing: button.o
-
'Chinese letters' printed instead of non-english chars
Hi , I use a cmd in which i execute the java programs i have developed... Whereas , i write non-english(greek) letters in my source programs the cmd does not display them....only 'chinese letters or non-understandable symbols'... Of course... i can w
-
Exist OSDComputerName then Join Domain, if not join workgroup
I add OSDComputerName into Unknown Computer as below Right Click "Unknown Computers" and choose Properties. Open Collection Variables tab. Click on the yellow star to add a new variable. Type OSDComputerName http://www.gerryhampsoncm.blogspot.ie/20
-
No sound after installing window 8.1 on HP620 (64bits)
Hi, please i need help. After installing window 8.1 on HP 620, i reinstalled all drivers but yet, No sound. i"ve checked device manager and all sound drivers seems to be working properly but i cant still hear anything. please i need help
-
Used Verizon iPad 2 won't let me create a new account need help ASAP...
I bought it used from craigslist and it asks me for a login I never had service with Verizon. Instead of giving me a form to fill out it gives me a email and a password login. I'm on iOS 4.3.3 if I upgrade to 5.0.1 will it solve the issue? What can I